]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun9i: a80-optimus: Disable EHCI1
authorChen-Yu Tsai <wens@csie.org>
Sat, 27 Aug 2016 07:55:44 +0000 (15:55 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Sep 2016 08:48:08 +0000 (11:48 +0300)
EHCI1 provides an HSIC interface. This interface is exposed on the
board through two pins among the GPIO header.

With the PHY now powered up and responding, enabling the interface when
nothing is connected results in a lot of error messages:

usb 2-1: device descriptor read/64, error -71
usb 2-1: device descriptor read/64, error -71
usb 2-1: new high-speed USB device number 3 using ehci-platform
usb 2-1: device descriptor read/64, error -71
usb 2-1: device descriptor read/64, error -71
usb 2-1: new high-speed USB device number 4 using ehci-platform
usb 2-1: device not accepting address 4, error -71
usb 2-1: new high-speed USB device number 5 using ehci-platform
usb 2-1: device not accepting address 5, error -71
usb usb2-port1: unable to enumerate USB device

Disable it by default, but leave the entries in the board DTS.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80-optimus.dts

index d805cb50b5c801d7408f0b1ee9ab99c233096cf2..ceb6ef15d669b8a5f47d6a9da26e7a9a939a7f04 100644 (file)
@@ -112,7 +112,8 @@ &ehci0 {
 };
 
 &ehci1 {
-       status = "okay";
+       /* Enable if HSIC peripheral is connected */
+       status = "disabled";
 };
 
 &ehci2 {
@@ -484,7 +485,8 @@ &usbphy1 {
 
 &usbphy2 {
        phy-supply = <&reg_bldo4>;
-       status = "okay";
+       /* Enable if HSIC peripheral is connected */
+       status = "disabled";
 };
 
 &usbphy3 {