summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorMatti Vaittinen2019-06-03 09:26:45 +0200
committerLee Jones2019-06-27 11:57:24 +0200
commit18bc64b3aebfa693f34463d2bcad9c82e21af9f6 (patch)
treed420b69d6d846fd32821e3e0cdc5148732724eac /drivers/gpio/Kconfig
parentdt-bindings: mfd: Document first ROHM BD70528 bindings (diff)
downloadkernel-qcow2-linux-18bc64b3aebfa693f34463d2bcad9c82e21af9f6.tar.gz
kernel-qcow2-linux-18bc64b3aebfa693f34463d2bcad9c82e21af9f6.tar.xz
kernel-qcow2-linux-18bc64b3aebfa693f34463d2bcad9c82e21af9f6.zip
gpio: Initial support for ROHM bd70528 GPIO block
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be controlled by GPIO framework. IRQs are handled by regmap-irq and GPIO driver is not aware of the irq usage. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 8023d03ec362..87dbbd03910d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -977,6 +977,17 @@ config GPIO_ARIZONA
help
Support for GPIOs on Wolfson Arizona class devices.
+config GPIO_BD70528
+ tristate "ROHM BD70528 GPIO support"
+ depends on MFD_ROHM_BD70528
+ help
+ Support for GPIOs on ROHM BD70528 PMIC. There are four GPIOs
+ available on the ROHM PMIC in total. The GPIOs can also
+ generate interrupts.
+
+ This driver can also be built as a module. If so, the module
+ will be called gpio-bd70528.
+
config GPIO_BD9571MWV
tristate "ROHM BD9571 GPIO support"
depends on MFD_BD9571MWV