All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
@ 2023-05-02 13:51 ` Michal Simek
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2023-05-02 13:51 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
	Michael Grzeschik, Radhey Shyam Pandey, Rob Herring,
	Robert Hancock, Sai Krishna Potthuri, Tanmay Shah, Vishal Sagar,
	devicetree, linux-arm-kernel

This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.

Long time ago this was discussed with Rob at link below that there is no
need to add address-cells to gpio and interrupt nodes that's why reverting
this patch for ZynqMP.
Also there is no visible DTC warning which was seen in past.

Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 51b8349dcacd..2d564ba7e9e4 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -419,7 +419,6 @@ fpd_dma_chan8: dma-controller@fd570000 {
 
 		gic: interrupt-controller@f9010000 {
 			compatible = "arm,gic-400";
-			#address-cells = <0>;
 			#interrupt-cells = <3>;
 			reg = <0x0 0xf9010000 0x0 0x10000>,
 			      <0x0 0xf9020000 0x0 0x20000>,
@@ -633,7 +632,6 @@ gem3: ethernet@ff0e0000 {
 		gpio: gpio@ff0a0000 {
 			compatible = "xlnx,zynqmp-gpio-1.0";
 			status = "disabled";
-			#address-cells = <0>;
 			#gpio-cells = <0x2>;
 			gpio-controller;
 			interrupt-parent = <&gic>;
-- 
2.36.1


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

* [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
@ 2023-05-02 13:51 ` Michal Simek
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2023-05-02 13:51 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
	Michael Grzeschik, Radhey Shyam Pandey, Rob Herring,
	Robert Hancock, Sai Krishna Potthuri, Tanmay Shah, Vishal Sagar,
	devicetree, linux-arm-kernel

This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.

Long time ago this was discussed with Rob at link below that there is no
need to add address-cells to gpio and interrupt nodes that's why reverting
this patch for ZynqMP.
Also there is no visible DTC warning which was seen in past.

Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 51b8349dcacd..2d564ba7e9e4 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -419,7 +419,6 @@ fpd_dma_chan8: dma-controller@fd570000 {
 
 		gic: interrupt-controller@f9010000 {
 			compatible = "arm,gic-400";
-			#address-cells = <0>;
 			#interrupt-cells = <3>;
 			reg = <0x0 0xf9010000 0x0 0x10000>,
 			      <0x0 0xf9020000 0x0 0x20000>,
@@ -633,7 +632,6 @@ gem3: ethernet@ff0e0000 {
 		gpio: gpio@ff0a0000 {
 			compatible = "xlnx,zynqmp-gpio-1.0";
 			status = "disabled";
-			#address-cells = <0>;
 			#gpio-cells = <0x2>;
 			gpio-controller;
 			interrupt-parent = <&gic>;
-- 
2.36.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] 7+ messages in thread

* Re: [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
  2023-05-02 13:51 ` Michal Simek
@ 2023-05-02 20:12   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-02 20:12 UTC (permalink / raw)
  To: Michal Simek, linux-kernel, monstr, michal.simek, git
  Cc: Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
	Michael Grzeschik, Radhey Shyam Pandey, Rob Herring,
	Robert Hancock, Sai Krishna Potthuri, Tanmay Shah, Vishal Sagar,
	devicetree, linux-arm-kernel

On 02/05/2023 15:51, Michal Simek wrote:
> This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.
> 
> Long time ago this was discussed with Rob at link below that there is no
> need to add address-cells to gpio and interrupt nodes that's why reverting
> this patch for ZynqMP.
> Also there is no visible DTC warning which was seen in past.
> 
> Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>

That seems right:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#interrupt-map


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
@ 2023-05-02 20:12   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-02 20:12 UTC (permalink / raw)
  To: Michal Simek, linux-kernel, monstr, michal.simek, git
  Cc: Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
	Michael Grzeschik, Radhey Shyam Pandey, Rob Herring,
	Robert Hancock, Sai Krishna Potthuri, Tanmay Shah, Vishal Sagar,
	devicetree, linux-arm-kernel

On 02/05/2023 15:51, Michal Simek wrote:
> This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.
> 
> Long time ago this was discussed with Rob at link below that there is no
> need to add address-cells to gpio and interrupt nodes that's why reverting
> this patch for ZynqMP.
> Also there is no visible DTC warning which was seen in past.
> 
> Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>

That seems right:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#interrupt-map


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


_______________________________________________
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] 7+ messages in thread

* Re: [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
  2023-05-02 13:51 ` Michal Simek
@ 2023-05-03 12:47   ` Laurent Pinchart
  -1 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2023-05-03 12:47 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Harini Katakam,
	Krzysztof Kozlowski, Michael Grzeschik, Radhey Shyam Pandey,
	Rob Herring, Robert Hancock, Sai Krishna Potthuri, Tanmay Shah,
	Vishal Sagar, devicetree, linux-arm-kernel

Hi Michal,

Thank you for the patch.

On Tue, May 02, 2023 at 03:51:01PM +0200, Michal Simek wrote:
> This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.
> 
> Long time ago this was discussed with Rob at link below that there is no
> need to add address-cells to gpio and interrupt nodes that's why reverting
> this patch for ZynqMP.
> Also there is no visible DTC warning which was seen in past.
> 
> Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 51b8349dcacd..2d564ba7e9e4 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -419,7 +419,6 @@ fpd_dma_chan8: dma-controller@fd570000 {
>  
>  		gic: interrupt-controller@f9010000 {
>  			compatible = "arm,gic-400";
> -			#address-cells = <0>;
>  			#interrupt-cells = <3>;
>  			reg = <0x0 0xf9010000 0x0 0x10000>,
>  			      <0x0 0xf9020000 0x0 0x20000>,
> @@ -633,7 +632,6 @@ gem3: ethernet@ff0e0000 {
>  		gpio: gpio@ff0a0000 {
>  			compatible = "xlnx,zynqmp-gpio-1.0";
>  			status = "disabled";
> -			#address-cells = <0>;
>  			#gpio-cells = <0x2>;
>  			gpio-controller;
>  			interrupt-parent = <&gic>;

-- 
Regards,

Laurent Pinchart

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

* Re: [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
@ 2023-05-03 12:47   ` Laurent Pinchart
  0 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2023-05-03 12:47 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Harini Katakam,
	Krzysztof Kozlowski, Michael Grzeschik, Radhey Shyam Pandey,
	Rob Herring, Robert Hancock, Sai Krishna Potthuri, Tanmay Shah,
	Vishal Sagar, devicetree, linux-arm-kernel

Hi Michal,

Thank you for the patch.

On Tue, May 02, 2023 at 03:51:01PM +0200, Michal Simek wrote:
> This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.
> 
> Long time ago this was discussed with Rob at link below that there is no
> need to add address-cells to gpio and interrupt nodes that's why reverting
> this patch for ZynqMP.
> Also there is no visible DTC warning which was seen in past.
> 
> Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 51b8349dcacd..2d564ba7e9e4 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -419,7 +419,6 @@ fpd_dma_chan8: dma-controller@fd570000 {
>  
>  		gic: interrupt-controller@f9010000 {
>  			compatible = "arm,gic-400";
> -			#address-cells = <0>;
>  			#interrupt-cells = <3>;
>  			reg = <0x0 0xf9010000 0x0 0x10000>,
>  			      <0x0 0xf9020000 0x0 0x20000>,
> @@ -633,7 +632,6 @@ gem3: ethernet@ff0e0000 {
>  		gpio: gpio@ff0a0000 {
>  			compatible = "xlnx,zynqmp-gpio-1.0";
>  			status = "disabled";
> -			#address-cells = <0>;
>  			#gpio-cells = <0x2>;
>  			gpio-controller;
>  			interrupt-parent = <&gic>;

-- 
Regards,

Laurent Pinchart

_______________________________________________
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] 7+ messages in thread

* Re: [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers"
  2023-05-02 13:51 ` Michal Simek
                   ` (2 preceding siblings ...)
  (?)
@ 2023-05-12 11:28 ` Michal Simek
  -1 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2023-05-12 11:28 UTC (permalink / raw)
  To: Michal Simek, linux-kernel, michal.simek, git
  Cc: Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
	Michael Grzeschik, Radhey Shyam Pandey, Rob Herring,
	Robert Hancock, Sai Krishna Potthuri, Tanmay Shah, Vishal Sagar,
	devicetree, linux-arm-kernel



On 5/2/23 15:51, Michal Simek wrote:
> This reverts commit c6badbd2d321c19d4f55ee56b0ef12bb3352feac.
> 
> Long time ago this was discussed with Rob at link below that there is no
> need to add address-cells to gpio and interrupt nodes that's why reverting
> this patch for ZynqMP.
> Also there is no visible DTC warning which was seen in past.
> 
> Link: https://lore.kernel.org/r/91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 51b8349dcacd..2d564ba7e9e4 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -419,7 +419,6 @@ fpd_dma_chan8: dma-controller@fd570000 {
>   
>   		gic: interrupt-controller@f9010000 {
>   			compatible = "arm,gic-400";
> -			#address-cells = <0>;
>   			#interrupt-cells = <3>;
>   			reg = <0x0 0xf9010000 0x0 0x10000>,
>   			      <0x0 0xf9020000 0x0 0x20000>,
> @@ -633,7 +632,6 @@ gem3: ethernet@ff0e0000 {
>   		gpio: gpio@ff0a0000 {
>   			compatible = "xlnx,zynqmp-gpio-1.0";
>   			status = "disabled";
> -			#address-cells = <0>;
>   			#gpio-cells = <0x2>;
>   			gpio-controller;
>   			interrupt-parent = <&gic>;

Applied.
M

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

end of thread, other threads:[~2023-05-12 11:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02 13:51 [PATCH] Revert "arm64: dts: zynqmp: Add address-cells property to interrupt controllers" Michal Simek
2023-05-02 13:51 ` Michal Simek
2023-05-02 20:12 ` Krzysztof Kozlowski
2023-05-02 20:12   ` Krzysztof Kozlowski
2023-05-03 12:47 ` Laurent Pinchart
2023-05-03 12:47   ` Laurent Pinchart
2023-05-12 11:28 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.