]> git.sur5r.net Git - u-boot/commitdiff
pinctrl: uniphier: set PUPD_SIMPLE cap flag for PXs3
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Oct 2017 10:21:53 +0000 (19:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Oct 2017 13:32:24 +0000 (22:32 +0900)
Like other recenct UniPhier SoCs, the pupdctrl number of PXs3
matches to the pin number.

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

index 423e48b0037a826bf3dddc09d32443d71f01fb78..7c54d376b712d089cbc576df8198bd4236d27ed0 100644 (file)
@@ -118,7 +118,8 @@ static struct uniphier_pinctrl_socdata uniphier_pxs3_pinctrl_socdata = {
        .groups_count = ARRAY_SIZE(uniphier_pxs3_groups),
        .functions = uniphier_pxs3_functions,
        .functions_count = ARRAY_SIZE(uniphier_pxs3_functions),
-       .caps = UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
+       .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE |
+               UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
 };
 
 static int uniphier_pxs3_pinctrl_probe(struct udevice *dev)