-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Convert GPIO users to new GPIO API #20017
Comments
@carlescufi |
Yes, please. Send a Pull Request against the |
ff873b8 & we have to take reference from this link for modifications (for nrfx). right ? |
That is modifying an actual GPIO driver, not a user of it. Take a look at the one of the PRs listed in the table in the main description of the issue to get a better feeling. |
@Vikrant8051 Specifically you should look at the commits with these subjects:
since the only GPIO use in the samples you're responsible for are toggling LEDs and responding to button presses. The only significant change in API will be in button handling. (Note: The SHA1s above will change when the topic-branch is updated, so look for the commit message if you can't find them.) |
Some notes on converting GPIO users. If this is useful it may be edited for clarifications/extensions.
A working idiom to handle interrupts is exemplified in the converted driver for st,hts221 (PENDING: See also #21548):
NOTE Some drivers may use |
This commit removes the tests for intel_s1000_crb based on the discussion in zephyrproject-rtos#20017 to convert to new GPIO API. Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
Can someone please explain the reasoning to remove tests/boards/intel_s1000_crb? I need to include rationale in the commit for #21471 . Any thoughts, @dcpleung, @carlescufi? |
@carlescufi |
OK, I changed also lis2ds12 (see #22040). |
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Also making cc1200's gpio int DTS based. Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Also making cc1200's gpio int DTS based. Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Also making cc1200's gpio int DTS based. Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Also making cc1200's gpio int DTS based. Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Fixes zephyrproject-rtos#20017 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
All identified conversions have been completed. Any more that are discovered will be addressed when topic-gpio merges to master, or in master. |
List of users to convert:
Boards (DONE)
boards/arm/mimxrt1020_evkboards/arm/mimxrt1050_evkboards/arm/mimxrt1060_evkboards/arm/mimxrt1064_evkDrivers
Samples
#22154#22298Other (DONE)
Sensors (DONE)
The text was updated successfully, but these errors were encountered: