Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize GPIOs from static config table #475

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Jul 5, 2024

gpio_init() is now the same for every board, and only requires an array that defines the init data for GPIOs.

The idea is to be able to support tooling for generating and validating the GPIO configs.

@crawfxrd crawfxrd marked this pull request as ready for review December 3, 2024 16:37
@crawfxrd crawfxrd requested review from a team December 3, 2024 17:01
gpio_init() is now the same for every board, and only requires an array
that defines the init data for GPIOs.

The idea is to be able to support tooling for generating and validating
the GPIO configs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on lemp13-b

@crawfxrd crawfxrd merged commit 1b4f5cc into master Dec 27, 2024
48 checks passed
@crawfxrd crawfxrd deleted the gpio-init-table branch December 27, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants