Skip to content

Commit cd49593

Browse files
nhutnguyenkckartben
authored andcommitted
drivers: gpio: Add support for RZ/G3S
This adds GPIO driver for Renesas RZ/G3S. Signed-off-by: Quang Le <[email protected]> Signed-off-by: Nhut Nguyen <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent c1fb75b commit cd49593

File tree

13 files changed

+911
-0
lines changed

13 files changed

+911
-0
lines changed

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_PSOC6 gpio_psoc6.c)
7575
zephyr_library_sources_ifdef(CONFIG_GPIO_RA_IOPORT gpio_renesas_ra_ioport.c)
7676
zephyr_library_sources_ifdef(CONFIG_GPIO_RCAR gpio_rcar.c)
7777
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RA gpio_renesas_ra.c)
78+
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RZ gpio_renesas_rz.c)
7879
zephyr_library_sources_ifdef(CONFIG_GPIO_RP1 gpio_rp1.c)
7980
zephyr_library_sources_ifdef(CONFIG_GPIO_RPI_PICO gpio_rpi_pico.c)
8081
zephyr_library_sources_ifdef(CONFIG_GPIO_RT1718S gpio_rt1718s.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ source "drivers/gpio/Kconfig.psoc6"
161161
source "drivers/gpio/Kconfig.rcar"
162162
source "drivers/gpio/Kconfig.renesas_ra"
163163
source "drivers/gpio/Kconfig.renesas_ra_ioport"
164+
source "drivers/gpio/Kconfig.renesas_rz"
164165
source "drivers/gpio/Kconfig.rp1"
165166
source "drivers/gpio/Kconfig.rpi_pico"
166167
source "drivers/gpio/Kconfig.rt1718s"

drivers/gpio/Kconfig.renesas_rz

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2024 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GPIO_RENESAS_RZ
5+
bool "Renesas RZ series gpio driver"
6+
default y
7+
depends on DT_HAS_RENESAS_RZ_GPIO_ENABLED
8+
select USE_RZ_FSP_IOPORT
9+
help
10+
Enable Renesas RZ series gpio driver.

0 commit comments

Comments
 (0)