Skip to content

Commit

Permalink
driver: gpio: Add gpio driver initial version of RTS5912.
Browse files Browse the repository at this point in the history
Add gpio driver for Realtek RTS5912.

Signed-off-by: Lin Yu-Cheng <[email protected]>
  • Loading branch information
JasonLin-RealTek committed Nov 26, 2024
1 parent 5b542a6 commit 8a5d9f9
Show file tree
Hide file tree
Showing 8 changed files with 686 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_RENESAS_RA gpio_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RPI_PICO gpio_rpi_pico.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RT1718S gpio_rt1718s.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RT1718S gpio_rt1718s_port.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RTS5912 gpio_rts5912.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RV32M1 gpio_rv32m1.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_RZT2M gpio_rzt2m.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_SAM gpio_sam.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.renesas_ra"
source "drivers/gpio/Kconfig.renesas_ra_ioport"
source "drivers/gpio/Kconfig.rpi_pico"
source "drivers/gpio/Kconfig.rt1718s"
source "drivers/gpio/Kconfig.rts5912"
source "drivers/gpio/Kconfig.rv32m1"
source "drivers/gpio/Kconfig.rzt2m"
source "drivers/gpio/Kconfig.sam"
Expand Down
11 changes: 11 additions & 0 deletions drivers/gpio/Kconfig.rts5912
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2024 Realtek Semiconductor Corporation, SIBG-SD7
#

config GPIO_RTS5912
bool "Realtek embedded controller (EC) gpio driver"
default y
depends on DT_HAS_REALTEK_RTS5912_GPIO_ENABLED
help
Enable support for Realtek GPIO controller.
Loading

0 comments on commit 8a5d9f9

Please sign in to comment.