linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
@ 2021-04-23  6:47 Aswath Govindraju
  2021-05-28  5:54 ` Lokesh Vutla
  2021-05-28 21:42 ` Nishanth Menon
  0 siblings, 2 replies; 3+ messages in thread
From: Aswath Govindraju @ 2021-04-23  6:47 UTC (permalink / raw)
  Cc: Vignesh Raghavendra, Lokesh Vutla, Kishon Vijay Abraham I,
	Aswath Govindraju, Nishanth Menon, Tero Kristo, Rob Herring,
	Grygorii Strashko, Faiz Abbas, Sekhar Nori, linux-arm-kernel,
	devicetree, linux-kernel

GPIO device tree nodes do not have child nodes. Therefore, "#address-cells"
property should not be added.

Fixes: e0b2e6af39ea ("arm64: dts: ti: k3-j7200: Add gpio nodes")
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi       | 4 ----
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 2 --
 2 files changed, 6 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
index 07c0ce484cae..829b5db565f5 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
@@ -693,7 +693,6 @@
 			     <149>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <69>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
@@ -711,7 +710,6 @@
 			     <158>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <69>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
@@ -729,7 +727,6 @@
 			     <167>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <69>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
@@ -747,7 +744,6 @@
 			     <176>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <69>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
index 5e74e43822c3..d865805eeff2 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
@@ -116,7 +116,6 @@
 		interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <85>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
@@ -133,7 +132,6 @@
 		interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		#address-cells = <0>;
 		ti,ngpio = <85>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
  2021-04-23  6:47 [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes Aswath Govindraju
@ 2021-05-28  5:54 ` Lokesh Vutla
  2021-05-28 21:42 ` Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2021-05-28  5:54 UTC (permalink / raw)
  To: Aswath Govindraju
  Cc: Vignesh Raghavendra, Kishon Vijay Abraham I, Nishanth Menon,
	Tero Kristo, Rob Herring, Grygorii Strashko, Faiz Abbas,
	Sekhar Nori, linux-arm-kernel, devicetree, linux-kernel



On 23/04/21 12:17 pm, Aswath Govindraju wrote:
> GPIO device tree nodes do not have child nodes. Therefore, "#address-cells"
> property should not be added.
> 
> Fixes: e0b2e6af39ea ("arm64: dts: ti: k3-j7200: Add gpio nodes")
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>

Looks like address-cells were added by mistake.

Reviewed-by: Lokesh  Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
  2021-04-23  6:47 [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes Aswath Govindraju
  2021-05-28  5:54 ` Lokesh Vutla
@ 2021-05-28 21:42 ` Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Nishanth Menon @ 2021-05-28 21:42 UTC (permalink / raw)
  To: Aswath Govindraju, Andre Przywara
  Cc: Nishanth Menon, Tero Kristo, Grygorii Strashko, Faiz Abbas,
	Lokesh Vutla, Rob Herring, Sekhar Nori, devicetree, linux-kernel,
	linux-arm-kernel, Kishon Vijay Abraham I, Vignesh Raghavendra

On Fri, 23 Apr 2021 12:17:57 +0530, Aswath Govindraju wrote:
> GPIO device tree nodes do not have child nodes. Therefore, "#address-cells"
> property should not be added.

Hi Aswath Govindraju,

I have applied the following to branch ti-k3-next on [1].

NOTE: I know this adds warnings with W=2 build of dtbs, BUT, just like
xilinx guys[2] and us[33 -> we have already established #address-cells = <0>
make no sense and dtc is still broken as of next-20210528

So, as far as I am concerned, I am going to keep ignoring these kind of
warnings - and "To" Andre as well.. hopefully we can get around to cleaning
this up some day.

Thank you!

[1/1] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
      commit: 6ec8ba764165f6ecb6f6f7efbfd2ec7ad76dedcb


All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git
[2] https://lore.kernel.org/linux-devicetree/CAL_Jsq++DyiKG9smQGx9FAPDJnVrezcXNb0Y5uh-5_2GBzTQpQ@mail.gmail.com/
[3] https://lore.kernel.org/linux-devicetree/20210126163839.57491132@slackpad.fritz.box/
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-28 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23  6:47 [PATCH] arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes Aswath Govindraju
2021-05-28  5:54 ` Lokesh Vutla
2021-05-28 21:42 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).