diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-12 18:21:15 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-23 08:37:56 +0900 |
commit | 6a6b9d5dfdd1c1332697980bc17e8d3f1b77e75d (patch) | |
tree | e05064a70db35988c5ed737d4a5ec0b318f0eac0 /drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | |
parent | 1b280978c0da23b0058123eaabb55f7f69adf2ce (diff) | |
download | u-boot-6a6b9d5dfdd1c1332697980bc17e8d3f1b77e75d.tar.gz u-boot-6a6b9d5dfdd1c1332697980bc17e8d3f1b77e75d.tar.xz u-boot-6a6b9d5dfdd1c1332697980bc17e8d3f1b77e75d.zip |
pinctrl: uniphier: support pin configuration
Support the following DT properties:
"bias-disable"
"bias-pull-up"
"bias-pull-down"
"bias-pull-pin-default"
"input-enable"
"input-disable"
My main motivation is to support pull up/down biasing. For Pro5 and
later SoCs, the pupdctrl register number is the same as the pinmux
number, so this feature can be supported without having big pin
tables.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c index 80d782c8d6..b25c7ea16e 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c @@ -140,6 +140,7 @@ static struct uniphier_pinctrl_socdata uniphier_ld6b_pinctrl_socdata = { .groups_count = ARRAY_SIZE(uniphier_ld6b_groups), .functions = uniphier_ld6b_functions, .functions_count = ARRAY_SIZE(uniphier_ld6b_functions), + .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE, }; static int uniphier_ld6b_pinctrl_probe(struct udevice *dev) |