summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-15 11:18:05 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-06-18 11:02:09 +0300
commit96c8b6903d0eab8dd3d20861245e14d1f59e80b0 (patch)
tree0261f5618039cf0c7d1b85e32c07786af7eddd8d /drivers/pinctrl/uniphier
parent0c3013bbe1d80035dc58336c4c7fdb18a32931df (diff)
downloadlinux-96c8b6903d0eab8dd3d20861245e14d1f59e80b0.tar.xz
pinctrl: uniphier: prohibit drive control for pin 61-66 of PH1-LD11
According to the hardware document, setting the drive control is prohibited for these pins (N-channel Open Drain pins). Set their drive control attribute to "fixed". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
index 150942f918ff..608cd73c2bfb 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
@@ -151,22 +151,22 @@ static const struct pinctrl_pin_desc uniphier_ld11_pins[] = {
60, UNIPHIER_PIN_DRV_1BIT,
60, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(61, "DMDSDA0", 61,
- 61, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(62, "DMDSCL0", 62,
- 62, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(63, "SDA0", 63,
- 63, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(64, "SCL0", 64,
- 64, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(65, "SDA1", 65,
- 65, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(66, "SCL1", 66,
- 66, UNIPHIER_PIN_DRV_1BIT,
+ -1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(67, "HIN", 67,
-1, UNIPHIER_PIN_DRV_FIXED5,