-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[TOPIC-GPIO] drivers: mmio32: update to use new GPIO API #20028
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, however there is still some old code in gpio_mmio32_config
function using GPIO_DIR_*
, GPIO_POL_*
flags. We could also remove invert
field from struct gpio_mmio32_context
in include/drivers/gpio/gpio_mmio32.h
. The gpio_mmio32_write
, gpio_mmio32_read
functions should use invert
field from struct gpio_driver_data
.
made some changes, so hopefully all this is clean up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one minor comment.
As the mmio32 is more of a library than a proper driver, just implement the new port functions and have pin_interrupt_configure marked pretty much as not supported. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
As the mmio32 is more of a library than a proper driver, just implement
the new port functions and have pin_interrupt_configure marked pretty
much as not supported.
Signed-off-by: Kumar Gala kumar.gala@linaro.org