]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pinctrl: Add pinctrl driver for the RK805 PMIC
authorJoseph Chen <chenjh@rock-chips.com>
Mon, 21 Aug 2017 01:28:40 +0000 (03:28 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 21 Aug 2017 07:54:46 +0000 (08:54 +0100)
commitea479996c79bbd631e014c2492d268bb05e86f9a
treea8fa23fac68091982e96339c263374368bd5fa0c
parent5b0bb001d37175324e613488ac6a8e981d473c11
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>
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-rk805.c [new file with mode: 0644]