mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
3da861ccca
Refreshed all patches. The following patches were manually changed: * 610-netfilter_match_bypass_default_checks.patch * 611-netfilter_match_bypass_default_table.patch * 802-can-0002-can-rx-offload-fix-long-lines.patch * 802-can-0003-can-rx-offload-can_rx_offload_compare-fix-typo.patch * 802-can-0004-can-rx-offload-can_rx_offload_irq_offload_timestamp-.patch * 802-can-0005-can-rx-offload-can_rx_offload_reset-remove-no-op-fun.patch * 802-can-0006-can-rx-offload-Prepare-for-CAN-FD-support.patch * 802-can-0018-can-flexcan-use-struct-canfd_frame-for-CAN-classic-f.patch The can-dev.ko model was moved in the upstream kernel. Compile-tested on: x86/64, armvirt/64, ath79/generic Runtime-tested on: x86/64, armvirt/64, ath79/generic Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
79 lines
2.0 KiB
Diff
79 lines
2.0 KiB
Diff
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
|
||
@@ -212,3 +212,11 @@
|
||
};
|
||
};
|
||
};
|
||
+
|
||
+&usb0 {
|
||
+ status = "okay";
|
||
+};
|
||
+
|
||
+&usb1 {
|
||
+ status = "okay";
|
||
+};
|
||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||
@@ -707,6 +707,7 @@
|
||
snps,host-vbus-glitches;
|
||
configure-gfladj;
|
||
dma-coherent;
|
||
+ status = "disabled";
|
||
};
|
||
|
||
usb1: usb3@3000000 {
|
||
@@ -722,6 +723,7 @@
|
||
snps,host-vbus-glitches;
|
||
configure-gfladj;
|
||
dma-coherent;
|
||
+ status = "disabled";
|
||
};
|
||
|
||
usb2: usb3@3100000 {
|
||
@@ -737,6 +739,7 @@
|
||
snps,host-vbus-glitches;
|
||
configure-gfladj;
|
||
dma-coherent;
|
||
+ status = "disabled";
|
||
};
|
||
|
||
sata: sata@3200000 {
|