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

[TOPIC-GPIO]: Convert LMP90xxx ADC and GPIO drivers to new GPIO API #22212

Merged

Conversation

henrikbrixandersen
Copy link
Member

Convert both the GPIO controller part and the GPIO consumer (interrupt consumer) part of the TI LMP90xxx drivers to use the new GPIO API.

Copy link
Collaborator

@pabigot pabigot left a comment

Choose a reason for hiding this comment

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

This seems ok. Have you tested gpio_basic_api and gpio_api_1pin?

drivers/gpio/gpio_lmp90xxx.c Outdated Show resolved Hide resolved
@henrikbrixandersen henrikbrixandersen force-pushed the topic-gpio-lmp90xxx branch 2 times, most recently from f748d42 to ba7d093 Compare January 27, 2020 19:15
Add ngpios device tree property to the GPIO controller node of the
LMP90100 EVB shield.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Update the TI LMP90xxx GPIO driver to the new GPIO API.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Update the DRDYB pin interrupt handling code of the TI LMP90xxx ADC
driver to use the new GPIO API.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
@henrikbrixandersen
Copy link
Member Author

This seems ok. Have you tested gpio_basic_api and gpio_api_1pin?

@pabigot Yes. Both pass.

@pabigot pabigot merged this pull request into zephyrproject-rtos:topic-gpio Jan 28, 2020
@henrikbrixandersen henrikbrixandersen deleted the topic-gpio-lmp90xxx branch February 5, 2020 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) area: API Changes to public APIs area: Boards area: GPIO
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants