Skip to content

Commit b640228

Browse files
VynDragonhenrikbrixandersen
authored andcommitted
drivers: gpio: Add BL60x and BL70x GPIO driver
Adds the gpio driver for BL602, 604, 702, 704, 706 Signed-off-by: Camille BAUD <[email protected]>
1 parent e5384cf commit b640228

File tree

3 files changed

+390
-0
lines changed

3 files changed

+390
-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_BL60X_70X gpio_bflb_bl60x_70x.c)
1819
zephyr_library_sources_ifdef(CONFIG_GPIO_BFLB_BL61X gpio_bflb_bl61x.c)
1920
zephyr_library_sources_ifdef(CONFIG_GPIO_BRCMSTB gpio_brcmstb.c)
2021
zephyr_library_sources_ifdef(CONFIG_GPIO_CC13XX_CC26XX gpio_cc13xx_cc26xx.c)

drivers/gpio/Kconfig.bflb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
22
# SPDX-License-Identifier: Apache-2.0
33

4+
config GPIO_BFLB_BL60X_70X
5+
bool "Bouffalo Lab BL60x and BL70x GPIO driver"
6+
depends on DT_HAS_BFLB_BL60X_70X_GPIO_ENABLED
7+
default y
8+
help
9+
Bouffalo Lab BL60x and BL70x GPIO driver
10+
411
config GPIO_BFLB_BL61X
512
bool "Bouffalo Lab BL61X GPIO driver"
613
depends on DT_HAS_BFLB_BL61X_GPIO_ENABLED

0 commit comments

Comments
 (0)