Skip to content

EFR series 2 devices Kconfig updates for gpio #93615

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fimohame
Copy link
Contributor

@fimohame fimohame commented Jul 23, 2025

I've added the necessary Kconfig changes for EFR Series 2 devices and updated pinctrl_silabs_dbus.c to use the sl_hal_gpio APIs.

These changes are intended for review and discussion, as I am currently encountering warnings and Twister build failures in the related PR: #92824

warnings:

"C:/Users/fimohame/Silabs_Developers/zephyr_fork/modules/hal/silabs/simplicity_sdk/platform/emlib/inc/em_gpio.h:568:24: error: redeclaration of enumerator 'gpioPortA'
568 | #define SL_GPIO_PORT_A gpioPortA
| ^~~~~~~~~
C:/Users/fimohame/Silabs_Developers/zephyr_fork/modules/hal/silabs/simplicity_sdk/platform/service/device_manager/inc/sl_device_gpio.h:59:3: note: in expansion of macro 'SL_GPIO_PORT_A'
| ^~~~~~~~~~~~~~
C:/Users/fimohame/Silabs_Developers/zephyr_fork/modules/hal/silabs/simplicity_sdk/platform/emlib/inc/em_gpio.h:521:3: note: previous definition of 'gpioPortA' with type 'enum GPIO_Port_TypeDef_enum'
521 | gpioPortA = 0,"

fimohame added 3 commits July 23, 2025 15:35
Added the gpio driver for EFR series 2 devices.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
Added the xg29_rb4412a.overlay xg29_rb4412a.conf
configuration for GPIO API 1-pin, Basic api,
Hogs test apps.
This overlay and conf defines the configuration
needed to validate the GPIO driver on the
xg29_rb4412a board during test execution.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
Added the Kconfig changes for EFR series 2 devices.
Updated the pinctrl_silabs_dbus.c with sl_hal_gpio apis

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
@fimohame fimohame force-pushed the silabs_gpio_driver_v branch from 5b141f9 to efb3c8e Compare July 24, 2025 09:07
Copy link

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.

1 participant