mbox series

[0/3] Add DA9062 GPIO support

Message ID 20190917105902.445-1-m.felsch@pengutronix.de
Headers show
Series Add DA9062 GPIO support | expand

Message

Marco Felsch Sept. 17, 2019, 10:58 a.m. UTC
Hi,

this series adds the PMIC mfd GPIO support. In addition to the other
DA90* implementations it adds a small helper function which can be used
by the other da9062 drivers. Also instead of setting the GPIO input
logic statically to active-low as the da9052/53 drivers do we extract
the logic from the device tree.

Regards,
  Marco

Marco Felsch (3):
  dt-bindings: mfd: da9062: add gpio bindings
  mfd: da9062: add support for the DA9062 GPIOs in the core
  gpio: da9062: add driver support

 .../devicetree/bindings/gpio/gpio-da9062.txt  |  26 ++
 .../devicetree/bindings/mfd/da9062.txt        |   3 +
 drivers/gpio/Kconfig                          |  11 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-da9062.c                    | 265 ++++++++++++++++++
 drivers/mfd/da9062-core.c                     |  16 +-
 include/linux/mfd/da9062/gpio.h               |  13 +
 7 files changed, 334 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-da9062.txt
 create mode 100644 drivers/gpio/gpio-da9062.c
 create mode 100644 include/linux/mfd/da9062/gpio.h