]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: uniphier: add has-transaction-translator property to usb node for LD4,...
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 26 Dec 2017 01:03:39 +0000 (10:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 27 Dec 2017 14:59:37 +0000 (23:59 +0900)
When a full/low speed device is connected to USB 2.0 port on UniPhier SoC
that has ehci controller, the kernel shows the following messages.

| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: unable to enumerate USB device

To fix the issue, the driver needs to enable Transaction Translator on ehci
root hub. This adds 'has-transaction-translator' property to each node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/boot/dts/uniphier-ld4.dtsi
arch/arm/boot/dts/uniphier-pro4.dtsi
arch/arm/boot/dts/uniphier-sld8.dtsi

index 7a8cb11c23a4c291e87302946e484eebb336eab9..0459e84d4d8e9770e08bb55ce027249af5dc4e0f 100644 (file)
@@ -237,6 +237,7 @@ usb0: usb@5a800100 {
                                 <&mio_clk 12>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
                                 <&mio_rst 12>;
+                       has-transaction-translator;
                };
 
                usb1: usb@5a810100 {
@@ -250,6 +251,7 @@ usb1: usb@5a810100 {
                                 <&mio_clk 13>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
                                 <&mio_rst 13>;
+                       has-transaction-translator;
                };
 
                usb2: usb@5a820100 {
@@ -263,6 +265,7 @@ usb2: usb@5a820100 {
                                 <&mio_clk 14>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
                                 <&mio_rst 14>;
+                       has-transaction-translator;
                };
 
                soc-glue@5f800000 {
index 843715bb08f85c69b72b073e54ff22873ffadb5c..1a29a8619856a02ae68c226fcd96343fb599c674 100644 (file)
@@ -271,6 +271,7 @@ usb2: usb@5a800100 {
                                 <&mio_clk 12>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
                                 <&mio_rst 12>;
+                       has-transaction-translator;
                };
 
                usb3: usb@5a810100 {
@@ -284,6 +285,7 @@ usb3: usb@5a810100 {
                                 <&mio_clk 13>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
                                 <&mio_rst 13>;
+                       has-transaction-translator;
                };
 
                soc-glue@5f800000 {
index 1ac3d48398e5534d237ed2dd92bf94deec5674ea..bc8c24078faa18e45033abe570f85f8891fb5661 100644 (file)
@@ -241,6 +241,7 @@ usb0: usb@5a800100 {
                                 <&mio_clk 12>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
                                 <&mio_rst 12>;
+                       has-transaction-translator;
                };
 
                usb1: usb@5a810100 {
@@ -254,6 +255,7 @@ usb1: usb@5a810100 {
                                 <&mio_clk 13>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
                                 <&mio_rst 13>;
+                       has-transaction-translator;
                };
 
                usb2: usb@5a820100 {
@@ -267,6 +269,7 @@ usb2: usb@5a820100 {
                                 <&mio_clk 14>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
                                 <&mio_rst 14>;
+                       has-transaction-translator;
                };
 
                soc-glue@5f800000 {