diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2019-10-21 12:14:12 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-10-29 15:12:52 +0100 |
commit | d57eb825e0dc6f0b5be78251d69cbf1bdd1db622 (patch) | |
tree | 39c7c04c3420c9f6e6e6a2a9ff50a05e96183d43 /drivers/gpio/Kconfig | |
parent | 69e00e2d8d313a8e3b7d8397384d94aa014be6b1 (diff) | |
download | linux-d57eb825e0dc6f0b5be78251d69cbf1bdd1db622.tar.bz2 |
gpio: Add RDA Micro GPIO controller support
Add support for GPIO controller from RDA Micro. This GPIO controller
is an in house IP, developed by RDA Micro (now Unisoc) for the use in
RDA88* series of SoCs. There are multiple GPIO ports present in all SoCs,
each capable of addressing 32 GPIOs. But only first 8 pins have the
interrupt capability.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20191021064413.19840-4-manivannan.sadhasivam@linaro.org
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 088a8a0f8add..8ec1f041c98d 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -443,6 +443,15 @@ config GPIO_RCAR help Say yes here to support GPIO on Renesas R-Car SoCs. +config GPIO_RDA + bool "RDA Micro GPIO controller support" + depends on ARCH_RDA || COMPILE_TEST + depends on OF_GPIO + select GPIO_GENERIC + select GPIOLIB_IRQCHIP + help + Say Y here to support RDA Micro GPIO controller. + config GPIO_REG bool help |