Skip to content

Commit 02d51a7

Browse files
VynDragonkartben
authored andcommitted
drivers: gpio: Add BL61x GPIO driver
Adds the gpio driver for BL616 and 618 Signed-off-by: Camille BAUD <[email protected]>
1 parent e0ca880 commit 02d51a7

File tree

5 files changed

+409
-0
lines changed

5 files changed

+409
-0
lines changed

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_AW9523B gpio_aw9523b.c)
1515
zephyr_library_sources_ifdef(CONFIG_GPIO_AXP192 gpio_axp192.c)
1616
zephyr_library_sources_ifdef(CONFIG_GPIO_BCM2711 gpio_bcm2711.c)
1717
zephyr_library_sources_ifdef(CONFIG_GPIO_BD8LB600FS gpio_bd8lb600fs.c)
18+
zephyr_library_sources_ifdef(CONFIG_GPIO_BFLB_BL61X gpio_bflb_bl61x.c)
1819
zephyr_library_sources_ifdef(CONFIG_GPIO_BRCMSTB gpio_brcmstb.c)
1920
zephyr_library_sources_ifdef(CONFIG_GPIO_CC13XX_CC26XX gpio_cc13xx_cc26xx.c)
2021
zephyr_library_sources_ifdef(CONFIG_GPIO_CC23X0 gpio_cc23x0.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ source "drivers/gpio/Kconfig.axp192"
105105
source "drivers/gpio/Kconfig.b91"
106106
source "drivers/gpio/Kconfig.bcm2711"
107107
source "drivers/gpio/Kconfig.bd8lb600fs"
108+
source "drivers/gpio/Kconfig.bflb"
108109
source "drivers/gpio/Kconfig.brcmstb"
109110
source "drivers/gpio/Kconfig.cc13xx_cc26xx"
110111
source "drivers/gpio/Kconfig.cc23x0"

drivers/gpio/Kconfig.bflb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config GPIO_BFLB_BL61X
5+
bool "Bouffalo Lab BL61X GPIO driver"
6+
depends on DT_HAS_BFLB_BL61X_GPIO_ENABLED
7+
default y
8+
help
9+
Bouffalo Lab BL61X GPIO driver

0 commit comments

Comments
 (0)