summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2018-10-08 13:38:01 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-11-18 18:02:22 +0300
commit4751e5595ee1e8ec121178a0ddaa99c3bbfa8e80 (patch)
tree5d4c20b312d7574d920b6dcd5ab2a2d6eda8f88a /drivers/gpio/Kconfig
parent053fce84c1505b1dac1ab75e2c4666bb36437514 (diff)
downloadu-boot-4751e5595ee1e8ec121178a0ddaa99c3bbfa8e80.tar.xz
gpio: Add MT7621 GPIO support
This patch adds GPIO support for the Mediatek MT7621 SoC, tested on MT7688 (Gardena smart-gateway). The driver is loosly based on the Linux kernel version. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> [fixed checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned'] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5cd8b34400..35344e57c6 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -314,4 +314,12 @@ config MPC8XXX_GPIO
Aside from the standard functions of input/output mode, and output
value setting, the open-drain feature, which can configure individual
GPIOs to work as open-drain outputs, is supported.
+
+config MT7621_GPIO
+ bool "MediaTek MT7621 GPIO driver"
+ depends on DM_GPIO && ARCH_MT7620
+ default y
+ help
+ Say yes here to support MediaTek MT7621 compatible GPIOs.
+
endmenu