diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2018-01-24 16:10:35 +0000 |
---|---|---|
committer | Peter Robinson <pbrobinson@gmail.com> | 2018-01-24 16:10:35 +0000 |
commit | b98ae2eee3f1b98fd8e638ecd3b01b79e0c417f9 (patch) | |
tree | 968d0618c6502091d7dd53a9f54a10c496b8a6fe /arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch | |
parent | c2f4ac7cf689ae5eb2849caa25281c12b95d15e0 (diff) | |
download | kernel-b98ae2eee3f1b98fd8e638ecd3b01b79e0c417f9.tar.gz kernel-b98ae2eee3f1b98fd8e638ecd3b01b79e0c417f9.tar.xz kernel-b98ae2eee3f1b98fd8e638ecd3b01b79e0c417f9.zip |
add patch to fix UDOO boot hang
Diffstat (limited to 'arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch')
-rw-r--r-- | arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch b/arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch new file mode 100644 index 000000000..1100a148a --- /dev/null +++ b/arm-dts-imx6qdl-udoo-Disable-usbh1-to-avoid-kernel-hang.patch @@ -0,0 +1,41 @@ +From patchwork Thu Jan 18 12:34:18 2018 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang +From: Fabio Estevam <fabio.estevam@nxp.com> +X-Patchwork-Id: 10173115 +Message-Id: <1516278858-15464-1-git-send-email-fabio.estevam@nxp.com> +To: <shawnguo@kernel.org> +Cc: maggu2810@gmail.com, peter.chen@nxp.com, mail@maciej.szmigiero.name, + Fabio Estevam <fabio.estevam@nxp.com>, linux-arm-kernel@lists.infradead.org +Date: Thu, 18 Jan 2018 10:34:18 -0200 + +Currently the kernel hangs when USB Host1 is enabled due to the lack of +support for controlling the USB hub clock and GPIO reset line. + +Peter Chen has made several attempts to fix this problem, but his series +has not been applied yet, so better disable USB host1 for now to avoid +the kernel hang. + +Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> +Acked-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> +Tested-by: Markus Rathgeb <maggu2810@gmail.com> +--- + arch/arm/boot/dts/imx6qdl-udoo.dtsi | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi +index 4161b7d..1f0b9f6 100644 +--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi ++++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi +@@ -274,7 +274,8 @@ + pinctrl-0 = <&pinctrl_usbh>; + vbus-supply = <®_usb_h1_vbus>; + clocks = <&clks IMX6QDL_CLK_CKO>; +- status = "okay"; ++ /* currently USB support causes a kernel hang. Disable it for now */ ++ status = "disabled"; + }; + + &usdhc3 { |