2020-10-15 08:56:10 +00:00
|
|
|
|
From 2dfd145470894296d70873942ae056340e3fd78d Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Ran Wang <ran.wang_1@nxp.com>
|
|
|
|
|
Date: Tue, 7 Jul 2020 15:40:31 +0800
|
|
|
|
|
Subject: [PATCH] arm64: dts: ls1043a: update USB nodes status to match board
|
|
|
|
|
config
|
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
|
|
ls1043a-rdb and ls1043a-qds board’s default HW config (such as
|
|
|
|
|
pin mux selection) would not enable some USB controllers’
|
|
|
|
|
data path, which causing over-current detected on those
|
|
|
|
|
controllers. This will hit the case of ‘xhci driver prevent bus suspend
|
|
|
|
|
if a root hub port detected over-current condition’, causing system
|
|
|
|
|
failed to be suspended. So disable them in device tree to resolve this
|
|
|
|
|
issue.
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
|
|
|
|
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
|
|
|
|
---
|
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 4 ++++
|
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 8 ++++++++
|
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
|
|
|
|
|
3 files changed, 15 insertions(+)
|
|
|
|
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
|
|
|
|
@@ -167,6 +167,10 @@
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
+&usb0 {
|
|
|
|
|
+ status = "okay";
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
#include "fsl-ls1043-post.dtsi"
|
|
|
|
|
|
|
|
|
|
&fman0 {
|
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
|
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
|
kernel: bump 5.4 to 5.4.73
Removed upstreamed patches:
generic/pending-5.4
445-mtd-spinand-gigadevice-Only-one-dummy-byte-in-QUA.patch
446-mtd-spinand-gigadevice-Add-QE-Bit.patch
pistachio/patches-5.4
150-pwm-img-Fix-null-pointer-access-in-probe.patch
Manually rebased:
layerscape/patches-5.4
801-audio-0011-Revert-ASoC-fsl_sai-add-of_match-data.patch
801-audio-0039-MLK-16224-6-ASoC-fsl_sai-fix-DSD-suspend-resume.patch
801-audio-0073-MLK-21957-3-ASoC-fsl_sai-add-bitcount-and-timestamp-.patch
820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch
All modifications made by update_kernel.sh
Build system: x86_64
Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711,
mvebu (mamba, rango), x86_64, ramips/mt7621
Run-tested: ipq806x/R7800, mvebu (mamba, rango), x86_64, ramips (RT-AC57U)
No dmesg regressions, everything functional
Signed-off-by: John Audia <graysky@archlinux.us>
[alter 820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-31 11:35:12 +00:00
|
|
|
|
@@ -212,3 +212,11 @@
|
2020-10-15 08:56:10 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+&usb0 {
|
|
|
|
|
+ status = "okay";
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+&usb1 {
|
|
|
|
|
+ status = "okay";
|
|
|
|
|
+};
|
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
2021-04-11 13:43:19 +00:00
|
|
|
|
@@ -707,6 +707,7 @@
|
2020-10-15 08:56:10 +00:00
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
|
configure-gfladj;
|
|
|
|
|
dma-coherent;
|
|
|
|
|
+ status = "disabled";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
usb1: usb3@3000000 {
|
2021-04-11 13:43:19 +00:00
|
|
|
|
@@ -722,6 +723,7 @@
|
2020-10-15 08:56:10 +00:00
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
|
configure-gfladj;
|
|
|
|
|
dma-coherent;
|
|
|
|
|
+ status = "disabled";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
usb2: usb3@3100000 {
|
2021-04-11 13:43:19 +00:00
|
|
|
|
@@ -737,6 +739,7 @@
|
2020-10-15 08:56:10 +00:00
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
|
configure-gfladj;
|
|
|
|
|
dma-coherent;
|
|
|
|
|
+ status = "disabled";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
sata: sata@3200000 {
|