diff options
author | Joseph Chen <chenjh@rock-chips.com> | 2017-08-21 03:28:40 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-08-21 09:54:46 +0200 |
commit | ea479996c79bbd631e014c2492d268bb05e86f9a (patch) | |
tree | a8fa23fac68091982e96339c263374368bd5fa0c /drivers/pinctrl/Kconfig | |
parent | pinctrl: dt-bindings: Add bindings for Rockchip RK805 PMIC (diff) | |
download | linux-ea479996c79bbd631e014c2492d268bb05e86f9a.tar.xz linux-ea479996c79bbd631e014c2492d268bb05e86f9a.zip |
pinctrl: Add pinctrl driver for the RK805 PMIC
RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs.
This driver is also designed for other Rockchip PMICs to expend.
Different PMIC maybe have different pin features, for example,
RK816 has one pin which can be used for TS or GPIO(input/out).
The mainly difference between PMICs pins are pinmux, direction
and output value, that is 'struct rk805_pin_config'.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index e14b46c7b37f..124fe2c09c61 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -331,6 +331,15 @@ config PINCTRL_INGENIC select GENERIC_PINMUX_FUNCTIONS select REGMAP_MMIO +config PINCTRL_RK805 + tristate "Pinctrl and GPIO driver for RK805 PMIC" + depends on MFD_RK808 + select GPIOLIB + select PINMUX + select GENERIC_PINCONF + help + This selects the pinctrl driver for RK805. + source "drivers/pinctrl/aspeed/Kconfig" source "drivers/pinctrl/bcm/Kconfig" source "drivers/pinctrl/berlin/Kconfig" |