gpio: Add support for Qualcomm PM8916 gpios
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Thu, 31 Mar 2016 21:12:31 +0000 (23:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:18:13 +0000 (17:18 -0400)
commit120800df720095a3c60c72a6bdcf6904dc3c4b20
tree0b31215304a939c7a785bd796a7ac8c90126a5c3
parentc2f74c8f53bd2333d85d5063e9d043382df2a987
gpio: Add support for Qualcomm PM8916 gpios

This driver supports GPIOs present on PM8916 PMIC.
There are 2 device drivers inside:
- GPIO driver (4 "generic" GPIOs)
- Keypad driver that presents itself as GPIO with 2 inputs (power and reset)

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/gpio/pm8916_gpio.txt [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/pm8916_gpio.c [new file with mode: 0644]