drivers/gpio: DA9058 GPIO driver
Subsystems (2)
PATCH v5 5/7 drivers/gpio: DA9058 GPIO driver
This patch is relative to linux next-20130417
This is the GPIO component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. The meaning of the PMIC register 21 bits 1 and 5 has been documented in the driver source.
Changes relative to V4 of this patch:
- rebased to latest tagged linux-next - previously relative to mainline
Signed-off-by Anthony Olech <[email protected]>
Signed-off-by David Dajun Chen <[email protected]>
--- drivers/gpio/Kconfig | 12 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-da9058.c | 377 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 390 insertions(+) create mode 100644 drivers/gpio/gpio-da9058.c
drivers/gpio/Kconfig +12 -0
@@ -103,6 +103,18 @@ config GPIO_DA9055 If driver is built as a module it will be called gpio-da9055. +config GPIO_DA9058 + tristate "Dialog DA9058 GPIO" + depends on MFD_DA9058 + help + Say yes here to enable the GPIO driver for the DA9058 chip. + + The Dialog DA9058 PMIC chip has 2 GPIO pins that can be + be controller by this driver. + + If driver is built as a module it will be called da9058-gpio. + + config GPIO_MAX730X tristate
drivers/gpio/Makefile +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o +obj-$(CONFIG_GPIO_DA9058) += gpio-da9058.o obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o obj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o obj-$(CONFIG_ARCH_DAVINCI) += gpio-davinci.o
drivers/gpio/gpio-da9058.c new file +377 -0
377 lines not on this page · raw message
Signature · 1 line
end-of-patch for NEW DRIVER V5