linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM64: zynqmp: Add missing interrupt-parent to PMU node
@ 2016-08-09 13:38 Michal Simek
  2016-08-09 13:38 ` [PATCH 2/2] ARM64: zynqmp: Correct the watchdog timer interrupt number Michal Simek
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Simek @ 2016-08-09 13:38 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sören Brinkmann, Punnaiah Choudary Kalluri, monstr,
	Alexander Graf, devicetree, Bharat Kumar Gogada, linux-kernel,
	Rob Herring, Will Deacon, Catalin Marinas, Mark Rutland

ZynqMP is not using global interrupt-parent setting that's why
it has to be listed in every node separately. PMU node missed it and
this patch is adding it.

Reported-by: John Linn <John.Linn@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index fbdd6ab98988..8ed4f42e781b 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -51,6 +51,7 @@
 
 	pmu {
 		compatible = "arm,armv8-pmuv3";
+		interrupt-parent = <&gic>;
 		interrupts = <0 143 4>,
 			     <0 144 4>,
 			     <0 145 4>,
-- 
1.9.1

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

* [PATCH 2/2] ARM64: zynqmp: Correct the watchdog timer interrupt number
  2016-08-09 13:38 [PATCH 1/2] ARM64: zynqmp: Add missing interrupt-parent to PMU node Michal Simek
@ 2016-08-09 13:38 ` Michal Simek
  2016-08-19 10:31   ` Michal Simek
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Simek @ 2016-08-09 13:38 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Punnaiah Choudary Kalluri, Sören Brinkmann, monstr,
	Alexander Graf, devicetree, Bharat Kumar Gogada, linux-kernel,
	Rob Herring, Will Deacon, Catalin Marinas, Mark Rutland

From: Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>

Corrected the watchdog timer interrupt number.
Origin value was for CSUPMU watchdog.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

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

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 8ed4f42e781b..3bae4b2675d9 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -369,7 +369,7 @@
 			compatible = "cdns,wdt-r1p2";
 			status = "disabled";
 			interrupt-parent = <&gic>;
-			interrupts = <0 52 1>;
+			interrupts = <0 113 1>;
 			reg = <0x0 0xfd4d0000 0x0 0x1000>;
 			timeout-sec = <10>;
 		};
-- 
1.9.1

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

* Re: [PATCH 2/2] ARM64: zynqmp: Correct the watchdog timer interrupt number
  2016-08-09 13:38 ` [PATCH 2/2] ARM64: zynqmp: Correct the watchdog timer interrupt number Michal Simek
@ 2016-08-19 10:31   ` Michal Simek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Simek @ 2016-08-19 10:31 UTC (permalink / raw)
  To: Michal Simek, linux-arm-kernel
  Cc: Punnaiah Choudary Kalluri, Sören Brinkmann, Alexander Graf,
	devicetree, Bharat Kumar Gogada, linux-kernel, Rob Herring,
	Will Deacon, Catalin Marinas, Mark Rutland


[-- Attachment #1.1: Type: text/plain, Size: 1261 bytes --]

On 9.8.2016 15:38, Michal Simek wrote:
> From: Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
> 
> Corrected the watchdog timer interrupt number.
> Origin value was for CSUPMU watchdog.
> 
> Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
> 
>  arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 8ed4f42e781b..3bae4b2675d9 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -369,7 +369,7 @@
>  			compatible = "cdns,wdt-r1p2";
>  			status = "disabled";
>  			interrupt-parent = <&gic>;
> -			interrupts = <0 52 1>;
> +			interrupts = <0 113 1>;
>  			reg = <0x0 0xfd4d0000 0x0 0x1000>;
>  			timeout-sec = <10>;
>  		};
> 

Applied both.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2016-08-19 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-09 13:38 [PATCH 1/2] ARM64: zynqmp: Add missing interrupt-parent to PMU node Michal Simek
2016-08-09 13:38 ` [PATCH 2/2] ARM64: zynqmp: Correct the watchdog timer interrupt number Michal Simek
2016-08-19 10:31   ` Michal Simek

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).