Skip to content

Commit 0161dd0

Browse files
soburikartben
andcommitted
drivers: gpio: Add support for Awinic AW9523B GPIO controller
Add support for GPIO controller feature of AW9523B. Signed-off-by: TOKITA Hiroshi <[email protected]> Co-authored-by: Benjamin Cabé <[email protected]>
1 parent 62f725a commit 0161dd0

File tree

12 files changed

+691
-1
lines changed

12 files changed

+691
-1
lines changed

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_ADS114S0X gpio_ads114s0x.c)
1111
zephyr_library_sources_ifdef(CONFIG_GPIO_ALTERA_PIO gpio_altera_pio.c)
1212
zephyr_library_sources_ifdef(CONFIG_GPIO_AMBIQ gpio_ambiq.c)
1313
zephyr_library_sources_ifdef(CONFIG_GPIO_ANDES_ATCGPIO100 gpio_andes_atcgpio100.c)
14+
zephyr_library_sources_ifdef(CONFIG_GPIO_AW9523B gpio_aw9523b.c)
1415
zephyr_library_sources_ifdef(CONFIG_GPIO_AXP192 gpio_axp192.c)
1516
zephyr_library_sources_ifdef(CONFIG_GPIO_BCM2711 gpio_bcm2711.c)
1617
zephyr_library_sources_ifdef(CONFIG_GPIO_BD8LB600FS gpio_bd8lb600fs.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ source "drivers/gpio/Kconfig.ads114s0x"
101101
source "drivers/gpio/Kconfig.altera"
102102
source "drivers/gpio/Kconfig.ambiq"
103103
source "drivers/gpio/Kconfig.andes_atcgpio100"
104+
source "drivers/gpio/Kconfig.aw9523b"
104105
source "drivers/gpio/Kconfig.axp192"
105106
source "drivers/gpio/Kconfig.b91"
106107
source "drivers/gpio/Kconfig.bcm2711"

drivers/gpio/Kconfig.aw9523b

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright (c) 2024 TOKITA Hiroshi
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GPIO_AW9523B
5+
bool "AW9523B GPIO driver"
6+
default y
7+
depends on DT_HAS_AWINIC_AW9523B_GPIO_ENABLED
8+
select I2C
9+
select MFD
10+
help
11+
Enable the AW9523B GPIO controller.

0 commit comments

Comments
 (0)