Skip to content

Commit 64f10b7

Browse files
Hoang Nguyenbinhnguyen2434
Hoang Nguyen
authored andcommitted
drivers: gpio: Add support for RZ/A2M
Add gpio support for RZ/A2M Signed-off-by: Hoang Nguyen <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent 59f22eb commit 64f10b7

File tree

11 files changed

+997
-0
lines changed

11 files changed

+997
-0
lines changed

drivers/gpio/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_PSOC6 gpio_psoc6.c)
8383
zephyr_library_sources_ifdef(CONFIG_GPIO_RA_IOPORT gpio_renesas_ra_ioport.c)
8484
zephyr_library_sources_ifdef(CONFIG_GPIO_RCAR gpio_rcar.c)
8585
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RZ gpio_renesas_rz.c)
86+
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RZA2M gpio_renesas_rza2m.c)
8687
zephyr_library_sources_ifdef(CONFIG_GPIO_RP1 gpio_rp1.c)
8788
zephyr_library_sources_ifdef(CONFIG_GPIO_RPI_PICO gpio_rpi_pico.c)
8889
zephyr_library_sources_ifdef(CONFIG_GPIO_RT1718S gpio_rt1718s.c)

drivers/gpio/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ source "drivers/gpio/Kconfig.psoc6"
169169
source "drivers/gpio/Kconfig.rcar"
170170
source "drivers/gpio/Kconfig.renesas_ra_ioport"
171171
source "drivers/gpio/Kconfig.renesas_rz"
172+
source "drivers/gpio/Kconfig.renesas_rza2m"
172173
source "drivers/gpio/Kconfig.rp1"
173174
source "drivers/gpio/Kconfig.rpi_pico"
174175
source "drivers/gpio/Kconfig.rt1718s"

drivers/gpio/Kconfig.renesas_rza2m

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GPIO_RENESAS_RZA2M
5+
bool "Renesas RZ/A2M GPIO"
6+
default y
7+
depends on DT_HAS_RENESAS_RZA2M_GPIO_ENABLED
8+
select PINCTRL
9+
help
10+
Enable Renesas RZ/A2M GPIO driver.

0 commit comments

Comments
 (0)