diff mbox series

arm64: dts: ti: am65x/j721e: Fix PRUSS INTC warnings with #address-cells

Message ID 20210115210625.20427-1-s-anna@ti.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: am65x/j721e: Fix PRUSS INTC warnings with #address-cells | expand

Commit Message

Suman Anna Jan. 15, 2021, 9:06 p.m. UTC
A "Warning (interrupt_provider)" is generated for each PRUSS INTC
instance on TI K3 dts files when building the TI K3 dtbs with W=2,

AM65x:
/bus@100000/icssg@b000000/interrupt-controller@20000: Missing #address-cells in interrupt provider
/bus@100000/icssg@b100000/interrupt-controller@20000: Missing #address-cells in interrupt provider
/bus@100000/icssg@b200000/interrupt-controller@20000: Missing #address-cells in interrupt provider

J721E:
/bus@100000/icssg@b000000/interrupt-controller@20000: Missing #address-cells in interrupt provider
/bus@100000/icssg@b100000/interrupt-controller@20000: Missing #address-cells in interrupt provider

Fix these by adding the '#address-cell' property with value 0.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
Hi Nishanth,

This is a follow-up fix to the ICSSG dt node series [1] to get rid of
the warnings with W=2, but will depend on the PRUSS INTC dt-binding
update patch [2] to not generate any warnings with dtbs_check.

regards
Suman

[1] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=414883
[2] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210115205819.19426-1-s-anna@ti.com/

 arch/arm64/boot/dts/ti/k3-am65-main.dtsi  | 3 +++
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 2 ++
 2 files changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 8aa8f1273563..3975753e2dd7 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -982,6 +982,7 @@  icssg0_intc: interrupt-controller@20000 {
 			reg = <0x20000 0x2000>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
+			#address-cells = <0>;
 			interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
@@ -1113,6 +1114,7 @@  icssg1_intc: interrupt-controller@20000 {
 			reg = <0x20000 0x2000>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
+			#address-cells = <0>;
 			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
@@ -1244,6 +1246,7 @@  icssg2_intc: interrupt-controller@20000 {
 			reg = <0x20000 0x2000>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
+			#address-cells = <0>;
 			interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index 605fe557cbb4..9ed521602780 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -1710,6 +1710,7 @@  icssg0_intc: interrupt-controller@20000 {
 			reg = <0x20000 0x2000>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
+			#address-cells = <0>;
 			interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
@@ -1841,6 +1842,7 @@  icssg1_intc: interrupt-controller@20000 {
 			reg = <0x20000 0x2000>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
+			#address-cells = <0>;
 			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,