2023-05-09 13:01:00

by Thejasvi Konduru

[permalink] [raw]
Subject: [PATCH 0/3] Fix node has a unit name, but no reg/ranges property

This series of patches includes a DT compile time warning fix for
1. am65
2. j7200
3. j721e

Thejasvi Konduru (3):
arm64: dts: ti: k3-am65-mcu: Fix node has a unit name, but no
reg/ranges property
arm64: dts: ti: k3-j721e-main: Fix node has a unit name, but no
reg/ranges property
arm64: dts: ti: k3-j7200-main: Fix node has a unit name, but no
reg/ranges property

arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 4 +++-
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 ++
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 +
3 files changed, 6 insertions(+), 1 deletion(-)

--
2.17.1


2023-05-09 13:02:33

by Thejasvi Konduru

[permalink] [raw]
Subject: [PATCH 2/3] arm64: dts: ti: k3-j721e-main: Fix node has a unit name, but no reg/ranges property

If a node has unit name, then the node must include the
reg/ranges property.

This rule is not followed in the usb_serdes_mux node.

Warning is fixed by adding the reg property to the usb_serdes_mux
node.

Fixes: 4716053a0a7be ("arm64: dts: ti: k3-j721e-main.dtsi: Add USB to SERDES MUX")
Signed-off-by: Thejasvi Konduru <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index c935622f0102..c73f1bbadf44 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -64,6 +64,7 @@
usb_serdes_mux: mux-controller@4000 {
compatible = "mmio-mux";
#mux-control-cells = <1>;
+ reg = <0x4000 0x14>;
mux-reg-masks = <0x4000 0x8000000>, /* USB0 to SERDES0/3 mux */
<0x4010 0x8000000>; /* USB1 to SERDES1/2 mux */
};
--
2.17.1