Skip to content

Commit

Permalink
drivers: gpio: Add support for RZ/G3S
Browse files Browse the repository at this point in the history
This adds GPIO driver for Renesas RZ/G3S.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
  • Loading branch information
nhutnguyenkc authored and kartben committed Dec 12, 2024
1 parent c1fb75b commit cd49593
Show file tree
Hide file tree
Showing 13 changed files with 911 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_PSOC6 gpio_psoc6.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RA_IOPORT gpio_renesas_ra_ioport.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RCAR gpio_rcar.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RA gpio_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RENESAS_RZ gpio_renesas_rz.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RP1 gpio_rp1.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RPI_PICO gpio_rpi_pico.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RT1718S gpio_rt1718s.c)
Expand Down
1 change: 1 addition & 0 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ source "drivers/gpio/Kconfig.psoc6"
source "drivers/gpio/Kconfig.rcar"
source "drivers/gpio/Kconfig.renesas_ra"
source "drivers/gpio/Kconfig.renesas_ra_ioport"
source "drivers/gpio/Kconfig.renesas_rz"
source "drivers/gpio/Kconfig.rp1"
source "drivers/gpio/Kconfig.rpi_pico"
source "drivers/gpio/Kconfig.rt1718s"
Expand Down
10 changes: 10 additions & 0 deletions drivers/gpio/Kconfig.renesas_rz
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (c) 2024 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

config GPIO_RENESAS_RZ
bool "Renesas RZ series gpio driver"
default y
depends on DT_HAS_RENESAS_RZ_GPIO_ENABLED
select USE_RZ_FSP_IOPORT
help
Enable Renesas RZ series gpio driver.
Loading

0 comments on commit cd49593

Please sign in to comment.