drivers: gpio: gd32: initial version
Add GPIO driver for Gigadevice SoCs. The driver supports devices with the AF and AFIO models. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
01f55d709e
commit
b9127e48e6
4 changed files with 387 additions and 1 deletions
11
drivers/gpio/Kconfig.gd32
Normal file
11
drivers/gpio/Kconfig.gd32
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2021 Teslabs Engineering S.L.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_GD_GD32_GPIO := gd,gd32-gpio
|
||||
|
||||
config GPIO_GD32
|
||||
bool "GD32 GPIO driver"
|
||||
depends on SOC_FAMILY_GD32
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_GD_GD32_GPIO))
|
||||
help
|
||||
Enable the GD32 GPIO driver.
|
Loading…
Add table
Add a link
Reference in a new issue