Skip to content

Commit 5a0e0c9

Browse files
manuarguehenrikbrixandersen
authored andcommitted
drivers: gpio: nxp: drop soc name from siul2 driver
The SIUL2 GPIO driver is a native implementation usable across all NXP SoCs with SIUL2 IP. Remove the "S32" prefix to allow clean reuse by other families. Signed-off-by: Manuel Argüelles <[email protected]>
1 parent 0f0cad0 commit 5a0e0c9

File tree

12 files changed

+211
-205
lines changed

12 files changed

+211
-205
lines changed

boards/nxp/mr_canhubk3/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The GPIO controller provides the option to route external input pad interrupts
4646
to either the SIUL2 EIRQ or WKPU interrupt controllers, as supported by the SoC.
4747
By default, GPIO interrupts are routed to SIUL2 EIRQ interrupt controller,
4848
unless they are explicitly configured to be directed to the WKPU interrupt
49-
controller, as outlined in :zephyr_file:`dts/bindings/gpio/nxp,s32-gpio.yaml`.
49+
controller, as outlined in :zephyr_file:`dts/bindings/gpio/nxp,siul2-gpio.yaml`.
5050

5151
To find information about which GPIOs are compatible with each interrupt
5252
controller, refer to the device reference manual.

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_NPM6001 gpio_npm6001.c)
7777
zephyr_library_sources_ifdef(CONFIG_GPIO_NRFX gpio_nrfx.c)
7878
zephyr_library_sources_ifdef(CONFIG_GPIO_NUMAKER gpio_numaker.c)
7979
zephyr_library_sources_ifdef(CONFIG_GPIO_NUMICRO gpio_numicro.c)
80-
zephyr_library_sources_ifdef(CONFIG_GPIO_NXP_S32 gpio_nxp_s32.c)
80+
zephyr_library_sources_ifdef(CONFIG_GPIO_NXP_SIUL2 gpio_nxp_siul2.c)
8181
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA6416 gpio_pca6416.c)
8282
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA953X gpio_pca953x.c)
8383
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA95XX gpio_pca95xx.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ source "drivers/gpio/Kconfig.npm6001"
161161
source "drivers/gpio/Kconfig.nrfx"
162162
source "drivers/gpio/Kconfig.numaker"
163163
source "drivers/gpio/Kconfig.numicro"
164-
source "drivers/gpio/Kconfig.nxp_s32"
164+
source "drivers/gpio/Kconfig.nxp_siul2"
165165
source "drivers/gpio/Kconfig.pca6416"
166166
source "drivers/gpio/Kconfig.pca953x"
167167
source "drivers/gpio/Kconfig.pca95xx"

drivers/gpio/Kconfig.nxp_s32

Lines changed: 0 additions & 10 deletions
This file was deleted.

drivers/gpio/Kconfig.nxp_siul2

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2022, 2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GPIO_NXP_SIUL2
5+
bool "NXP SIUL2 GPIO driver"
6+
default y
7+
depends on DT_HAS_NXP_SIUL2_GPIO_ENABLED
8+
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
9+
help
10+
Enable the GPIO driver for NXP SIUL2.

0 commit comments

Comments
 (0)