b98ae2e
From patchwork Thu Jan 18 12:34:18 2018
b98ae2e
Content-Type: text/plain; charset="utf-8"
b98ae2e
MIME-Version: 1.0
b98ae2e
Content-Transfer-Encoding: 7bit
b98ae2e
Subject: ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang
b98ae2e
From: Fabio Estevam <fabio.estevam@nxp.com>
b98ae2e
X-Patchwork-Id: 10173115
b98ae2e
Message-Id: <1516278858-15464-1-git-send-email-fabio.estevam@nxp.com>
b98ae2e
To: <shawnguo@kernel.org>
b98ae2e
Cc: maggu2810@gmail.com, peter.chen@nxp.com, mail@maciej.szmigiero.name,
b98ae2e
 Fabio Estevam <fabio.estevam@nxp.com>, linux-arm-kernel@lists.infradead.org
b98ae2e
Date: Thu, 18 Jan 2018 10:34:18 -0200
b98ae2e
b98ae2e
Currently the kernel hangs when USB Host1 is enabled due to the lack of
b98ae2e
support for controlling the USB hub clock and GPIO reset line.
b98ae2e
b98ae2e
Peter Chen has made several attempts to fix this problem, but his series
b98ae2e
has not been applied yet, so better disable USB host1 for now to avoid
b98ae2e
the kernel hang.
b98ae2e
b98ae2e
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
b98ae2e
Acked-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
b98ae2e
Tested-by: Markus Rathgeb <maggu2810@gmail.com>
b98ae2e
---
b98ae2e
 arch/arm/boot/dts/imx6qdl-udoo.dtsi | 3 ++-
b98ae2e
 1 file changed, 2 insertions(+), 1 deletion(-)
b98ae2e
b98ae2e
diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
b98ae2e
index 4161b7d..1f0b9f6 100644
b98ae2e
--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
b98ae2e
+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
b98ae2e
@@ -274,7 +274,8 @@
b98ae2e
 	pinctrl-0 = <&pinctrl_usbh>;
b98ae2e
 	vbus-supply = <&reg_usb_h1_vbus>;
b98ae2e
 	clocks = <&clks IMX6QDL_CLK_CKO>;
b98ae2e
-	status = "okay";
b98ae2e
+	/* currently USB support causes a kernel hang. Disable it for now */
b98ae2e
+	status = "disabled";
b98ae2e
 };
b98ae2e
 
b98ae2e
 &usdhc3 {