]> git.sur5r.net Git - u-boot/commit
pinctrl: uniphier: support per-pin configuration via DT
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 5 May 2018 10:53:54 +0000 (19:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 8 May 2018 01:25:15 +0000 (10:25 +0900)
commit603fd9ead634d51ed54dd7cb90bf15a35a06b52b
tree71e2aa055961b0cd34e34ab380b408ace74f4d9f
parent03cfc80134d494f8e9aa4deeb57d1f21b0842bc4
pinctrl: uniphier: support per-pin configuration via DT

Currently, the UniPhier pinctrl drivers expose only the pin-group
interface to device tree.

Provide .get_pins_count, .get_pin_name, .pinconf_set hooks to support
pin configuration via 'pins' DT property.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier.h