]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
pinctrl: rockchip: Add mux recalculation support
authordavid.wu <david.wu@rock-chips.com>
Fri, 10 Feb 2017 10:23:48 +0000 (18:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 14 Mar 2017 13:42:21 +0000 (14:42 +0100)
commitea262ad6e4019f622f6b64dc42a8e839201b6046
tree27bacfcd8d38098f199c26e583a4b0ffde1ffd61
parent8b6c6f930da9d2f8f40f9c54a90efafb20fdad84
pinctrl: rockchip: Add mux recalculation support

Some pins are special at a bank so that add
IOMUX_RECALCED type to indicate which iomux source
of the bank need to be recalculated. If the mux
recalculateed callback and IOMUX_RECALCED type
were set, recalculate the pins' iomux by using
mux recalculated data struct.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c