diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2017-07-06 15:54:23 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-07-31 15:49:44 +0200 |
commit | 65ff135b4f748f7d5f0d6a21b860e88a0d1fb7c5 (patch) | |
tree | 14d07e3b79b1ebeb566131a629adbb7d31491d26 | |
parent | b962e2cd357f2a529fe14387092401e6552f43d6 (diff) | |
download | op-kernel-dev-65ff135b4f748f7d5f0d6a21b860e88a0d1fb7c5.zip op-kernel-dev-65ff135b4f748f7d5f0d6a21b860e88a0d1fb7c5.tar.gz |
pinctrl: uniphier: fix USB3 pin assignment for Pro4
According to pinctrl assignment for Pro4, each definition of USB#2 and
USB#3 are as follows.
184: USB2VBUS
185: USB2OD
186: USB2ID
187: USB3VBUS
188: USB3OD
USB#2 has an additional pin "USB2ID", but the chip doesn't use this pin
while in host-mode. Considering this pin, the pin definitions for USB#3
should be {187, 188}.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c index a433a30..c75e094 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c @@ -1084,7 +1084,7 @@ static const unsigned usb1_pins[] = {182, 183}; static const int usb1_muxvals[] = {0, 0}; static const unsigned usb2_pins[] = {184, 185}; static const int usb2_muxvals[] = {0, 0}; -static const unsigned usb3_pins[] = {186, 187}; +static const unsigned usb3_pins[] = {187, 188}; static const int usb3_muxvals[] = {0, 0}; static const unsigned port_range0_pins[] = { 300, 301, 302, 303, 304, 305, 306, 307, /* PORT0x */ |