GPIO: GPIO Support for ADP5520/ADP5501 MFD PMICs
PATCH 1/1 GPIO: GPIO Support for ADP5520/ADP5501 MFD PMICs
From: Michael Hennerich <[email protected]>
Signed-off-by Michael Hennerich <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
--- drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile | 1 + drivers/gpio/adp5520-gpio.c | 206 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 217 insertions(+), 0 deletions(-) create mode 100644 drivers/gpio/adp5520-gpio.c
drivers/gpio/Kconfig +10 -0
@@ -155,6 +155,16 @@ config GPIO_TWL4030 Say yes here to access the GPIO signals of various multi-function power management chips from Texas Instruments. +config GPIO_ADP5520 + tristate "GPIO Support for ADP5520 PMIC" + depends on PMIC_ADP5520 + help + This option enables support for on-chip GPIO found + on Analog Devices ADP5520 PMICs. + + To compile this driver as a module, choose M here: the module will + be called adp5520-gpio. + comment "PCI GPIO expanders:" config GPIO_BT8XX
drivers/gpio/Makefile +1 -0
@@ -14,3 +14,4 @@ obj-$(CONFIG_GPIO_TWL4030) += twl4030-gpio.o obj-$(CONFIG_GPIO_XILINX) += xilinx_gpio.o obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o +obj-$(CONFIG_GPIO_ADP5520) += adp5520-gpio.o
drivers/gpio/adp5520-gpio.c new file +206 -0
206 lines not on this page · raw message
Signature · 1 line
1.6.5.rc1