diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2016-04-01 00:12:31 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-02 00:18:13 +0300 |
commit | 120800df720095a3c60c72a6bdcf6904dc3c4b20 (patch) | |
tree | 0b31215304a939c7a785bd796a7ac8c90126a5c3 /drivers/gpio/Kconfig | |
parent | c2f74c8f53bd2333d85d5063e9d043382df2a987 (diff) | |
download | u-boot-120800df720095a3c60c72a6bdcf6904dc3c4b20.tar.xz |
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 4d9e74c009..f56a60621f 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -69,6 +69,16 @@ config MSM_GPIO - APQ8016 - MSM8916 +config PM8916_GPIO + bool "Qualcomm PM8916 PMIC GPIO/keypad driver" + depends on DM_GPIO && PMIC_PM8916 + help + Support for GPIO pins and power/reset buttons found on + Qualcomm PM8916 PMIC. + Default name for GPIO bank is "pm8916". + Power and reset buttons are placed in "pm8916_key" bank and + have gpio numbers 0 and 1 respectively. + config ROCKCHIP_GPIO bool "Rockchip GPIO driver" depends on DM_GPIO |