]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: uniphier: support pin configuration for dedicated pins
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 29 Jun 2016 10:38:59 +0000 (19:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 1 Jul 2016 20:44:29 +0000 (05:44 +0900)
commit5e25b9d5d90205ce9531677e362e9dd9359963b3
treed085fd64c64d2d9f7d669c539e247876beafb7bb
parent3379987e26956d9eab668a0811a0f0a9a056754f
pinctrl: uniphier: support pin configuration for dedicated pins

PH1-LD4 and PH1-sLD8 SoCs have pins that support pin configuration
(pin biasing, drive strength control), but not pin-muxing.

Allow to fill the mux value table with -1 for those pins; pins with
mux value -1 will be skipped in the pin-mux set function.  The mux
value type should be changed from "unsigned" to "int" in order to
accommodate -1 as a special case.

[ Linux commit: 363c90e743b50a432a91a211dd8b078d9df446e9 ]

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
drivers/pinctrl/uniphier/pinctrl-uniphier.h