[PATCH] arm64: dts: renesas: r9a07g0{43,44,54}: Drop #address-cells/#size-cells from single child node 'endpoint@0'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the below dtcheck_warnings reported by kernel test robot.

dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:85.11-94.6: Warning
>> (graph_child_address): /soc/video@10830000/ports/port@1: graph node
>> has single child node 'endpoint@0', #address-cells/#size-cells are
>> not necessary
>> arch/arm64/boot/dts/renesas/r9a07g043u.dtsi:120.11-129.6: Warning
>> (graph_child_address): /soc/csi2@10830400/ports/port@1: graph node
>> has single child node 'endpoint@0', #address-cells/#size-cells are
>> not necessary

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202406081329.snoMrZsJ-lkp@xxxxxxxxx
Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
---
 arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 12 ++----------
 arch/arm64/boot/dts/renesas/r9a07g044.dtsi  | 17 +++--------------
 arch/arm64/boot/dts/renesas/r9a07g054.dtsi  | 18 +++---------------
 3 files changed, 8 insertions(+), 39 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi
index 165bfcfef3bc..e6a30a669c37 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi
@@ -79,12 +79,8 @@ ports {
 			#size-cells = <0>;
 
 			port@1 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-
 				reg = <1>;
-				crucsi2: endpoint@0 {
-					reg = <0>;
+				crucsi2: endpoint {
 					remote-endpoint = <&csi2cru>;
 				};
 			};
@@ -114,12 +110,8 @@ port@0 {
 			};
 
 			port@1 {
-				#address-cells = <1>;
-				#size-cells = <0>;
 				reg = <1>;
-
-				csi2cru: endpoint@0 {
-					reg = <0>;
+				csi2cru: endpoint {
 					remote-endpoint = <&crucsi2>;
 				};
 			};
diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
index 88634ae43287..6a5496dbb05a 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
@@ -710,22 +710,14 @@ ports {
 				#size-cells = <0>;
 
 				port@0 {
-					#address-cells = <1>;
-					#size-cells = <0>;
-
 					reg = <0>;
-					cruparallel: endpoint@0 {
-						reg = <0>;
+					cruparallel: endpoint {
 					};
 				};
 
 				port@1 {
-					#address-cells = <1>;
-					#size-cells = <0>;
-
 					reg = <1>;
-					crucsi2: endpoint@0 {
-						reg = <0>;
+					crucsi2: endpoint {
 						remote-endpoint = <&csi2cru>;
 					};
 				};
@@ -755,12 +747,9 @@ port@0 {
 				};
 
 				port@1 {
-					#address-cells = <1>;
-					#size-cells = <0>;
 					reg = <1>;
 
-					csi2cru: endpoint@0 {
-						reg = <0>;
+					csi2cru: endpoint {
 						remote-endpoint = <&crucsi2>;
 					};
 				};
diff --git a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
index e89bfe4085f5..f37034d136b2 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi
@@ -715,22 +715,14 @@ ports {
 				#size-cells = <0>;
 
 				port@0 {
-					#address-cells = <1>;
-					#size-cells = <0>;
-
 					reg = <0>;
-					cruparallel: endpoint@0 {
-						reg = <0>;
+					cruparallel: endpoint {
 					};
 				};
 
 				port@1 {
-					#address-cells = <1>;
-					#size-cells = <0>;
-
 					reg = <1>;
-					crucsi2: endpoint@0 {
-						reg = <0>;
+					crucsi2: endpoint {
 						remote-endpoint = <&csi2cru>;
 					};
 				};
@@ -760,12 +752,8 @@ port@0 {
 				};
 
 				port@1 {
-					#address-cells = <1>;
-					#size-cells = <0>;
 					reg = <1>;
-
-					csi2cru: endpoint@0 {
-						reg = <0>;
+					csi2cru: endpoint {
 						remote-endpoint = <&crucsi2>;
 					};
 				};
-- 
2.25.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux