All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53
@ 2017-12-11 12:09 linux-kernel-dev at beckhoff.com
  2017-12-11 23:11 ` Fabio Estevam
  2017-12-17 10:35 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: linux-kernel-dev at beckhoff.com @ 2017-12-11 12:09 UTC (permalink / raw)
  To: u-boot

From: Patrick Bruenn <p.bruenn@beckhoff.com>

Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110")
dtc warns about:
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/serial at 53fc0000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/ccm at 53fd4000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/gpio at 53fe4000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/sdma at 63fb0000
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/ethernet at 63fec000

Fix this by adding a node for the tzic interrupt controller.
Copied from "<Linux>/arch/arm/boot/dts/imx53.dts"

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
---

 arch/arm/dts/imx53.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi
index 1bdf0668a5..f68e88585e 100644
--- a/arch/arm/dts/imx53.dtsi
+++ b/arch/arm/dts/imx53.dtsi
@@ -23,10 +23,18 @@
 		serial1 = &uart2;
 	};
 
+	tzic: tz-interrupt-controller at fffc000 {
+		compatible = "fsl,imx53-tzic", "fsl,tzic";
+		interrupt-controller;
+		#interrupt-cells = <1>;
+		reg = <0x0fffc000 0x4000>;
+	};
+
 	soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "simple-bus";
+		interrupt-parent = <&tzic>;
 		ranges;
 
 		aips at 50000000 { /* AIPS1 */
-- 
2.11.0

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

* [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53
  2017-12-11 12:09 [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53 linux-kernel-dev at beckhoff.com
@ 2017-12-11 23:11 ` Fabio Estevam
  2017-12-17 10:35 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2017-12-11 23:11 UTC (permalink / raw)
  To: u-boot

On Mon, Dec 11, 2017 at 10:09 AM,  <linux-kernel-dev@beckhoff.com> wrote:
> From: Patrick Bruenn <p.bruenn@beckhoff.com>
>
> Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110")
> dtc warns about:
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/serial at 53fc0000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/ccm at 53fd4000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/gpio at 53fe4000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/sdma at 63fb0000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/ethernet at 63fec000
>
> Fix this by adding a node for the tzic interrupt controller.
> Copied from "<Linux>/arch/arm/boot/dts/imx53.dts"
>
> Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

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

* [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53
  2017-12-11 12:09 [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53 linux-kernel-dev at beckhoff.com
  2017-12-11 23:11 ` Fabio Estevam
@ 2017-12-17 10:35 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2017-12-17 10:35 UTC (permalink / raw)
  To: u-boot



On 11/12/2017 13:09, linux-kernel-dev at beckhoff.com wrote:
> From: Patrick Bruenn <p.bruenn@beckhoff.com>
> 
> Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110")
> dtc warns about:
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/serial at 53fc0000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/ccm at 53fd4000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 50000000/gpio at 53fe4000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/sdma at 63fb0000
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/aips at 60000000/ethernet at 63fec000
> 
> Fix this by adding a node for the tzic interrupt controller.
> Copied from "<Linux>/arch/arm/boot/dts/imx53.dts"
> 
> Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
> ---
> 
>  arch/arm/dts/imx53.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi
> index 1bdf0668a5..f68e88585e 100644
> --- a/arch/arm/dts/imx53.dtsi
> +++ b/arch/arm/dts/imx53.dtsi
> @@ -23,10 +23,18 @@
>  		serial1 = &uart2;
>  	};
>  
> +	tzic: tz-interrupt-controller at fffc000 {
> +		compatible = "fsl,imx53-tzic", "fsl,tzic";
> +		interrupt-controller;
> +		#interrupt-cells = <1>;
> +		reg = <0x0fffc000 0x4000>;
> +	};
> +
>  	soc {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  		compatible = "simple-bus";
> +		interrupt-parent = <&tzic>;
>  		ranges;
>  
>  		aips at 50000000 { /* AIPS1 */
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

end of thread, other threads:[~2017-12-17 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-11 12:09 [U-Boot] [PATCH] arm: imx: add tzic interrupt controller for imx53 linux-kernel-dev at beckhoff.com
2017-12-11 23:11 ` Fabio Estevam
2017-12-17 10:35 ` Stefano Babic

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.