lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 9 May 2023 18:17:27 +0530
From:   Thejasvi Konduru <t-konduru@...com>
To:     Nishanth Menon <nm@...com>, Vignesh Raghavendra <vigneshr@...com>
CC:     Tero Kristo <kristo@...nel.org>, Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        Thejasvi Konduru <t-konduru@...com>
Subject: [PATCH 3/3] arm64: dts: ti: k3-j7200-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 serdes_ln_ctrl and usb_serdes_mux nodes.

Warning is fixed by adding the reg property in the serdes_ln_ctrl
and usb_serdes_mux nodes.

Fixes: 1509295295c03 ("arm64: dts: ti: k3-j7200-main: Add SERDES lane control mux")
Fixes: 9a09e6e9cfcf5 ("arm64: dts: ti: k3-j7200-main.dtsi: Add USB to SERDES lane MUX")
Signed-off-by: Thejasvi Konduru <t-konduru@...com>
---
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
index 138381f43ce4..a99077b4ca0e 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
@@ -35,6 +35,7 @@
 		serdes_ln_ctrl: mux-controller@...0 {
 			compatible = "mmio-mux";
 			#mux-control-cells = <1>;
+			reg = <0x4080 0x10>;
 			mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
 					<0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
 		};
@@ -42,6 +43,7 @@
 		usb_serdes_mux: mux-controller@...0 {
 			compatible = "mmio-mux";
 			#mux-control-cells = <1>;
+			reg = <0x4000 0x4>;
 			mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
 		};
 	};
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ