linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] IPU PRE/PRG devicetree nodes
@ 2017-03-23 14:13 Lucas Stach
  2017-03-23 14:13 ` [PATCH 1/2] ARM: dts: imx6qp: add PRE nodes Lucas Stach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-23 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Shawn,

the following 2 patches add the DT nodes for the PRE/PRG units found
on i.MX6QP. The bindings and driver code to make use of those are
already in Dave Airlies drm-next branch, so can be considered stable.

Regards,
Lucas

Lucas Stach (2):
  ARM: dts: imx6qp: add PRE nodes
  ARM: dts: imx6qp: add PRG nodes and hook up to IPUs

 arch/arm/boot/dts/imx6qp.dtsi | 58 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

-- 
2.11.0

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

* [PATCH 1/2] ARM: dts: imx6qp: add PRE nodes
  2017-03-23 14:13 [PATCH 0/2] IPU PRE/PRG devicetree nodes Lucas Stach
@ 2017-03-23 14:13 ` Lucas Stach
  2017-03-23 14:13 ` [PATCH 2/2] ARM: dts: imx6qp: add PRG nodes and hook up to IPUs Lucas Stach
  2017-03-24  5:54 ` [PATCH 0/2] IPU PRE/PRG devicetree nodes Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-23 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Add the DT nodes for the Prefetch Resolve Engines found on i.MX6QP.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qp.dtsi | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi
index 4fd6f26b89a6..d9c0cd0baddb 100644
--- a/arch/arm/boot/dts/imx6qp.dtsi
+++ b/arch/arm/boot/dts/imx6qp.dtsi
@@ -55,6 +55,44 @@
 			reg = <0x00960000 0x20000>;
 			clocks = <&clks IMX6QDL_CLK_OCRAM>;
 		};
+
+		aips-bus at 02100000 {
+			pre1: pre at 21c8000 {
+				compatible = "fsl,imx6qp-pre";
+				reg = <0x021c8000 0x1000>;
+				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
+				clocks = <&clks IMX6QDL_CLK_PRE0>;
+				clock-names = "axi";
+				fsl,iram = <&ocram2>;
+			};
+
+			pre2: pre at 21c9000 {
+				compatible = "fsl,imx6qp-pre";
+				reg = <0x021c9000 0x1000>;
+				interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>;
+				clocks = <&clks IMX6QDL_CLK_PRE1>;
+				clock-names = "axi";
+				fsl,iram = <&ocram2>;
+			};
+
+			pre3: pre at 21ca000 {
+				compatible = "fsl,imx6qp-pre";
+				reg = <0x021ca000 0x1000>;
+				interrupts = <GIC_SPI 98 IRQ_TYPE_EDGE_RISING>;
+				clocks = <&clks IMX6QDL_CLK_PRE2>;
+				clock-names = "axi";
+				fsl,iram = <&ocram3>;
+			};
+
+			pre4: pre at 21cb000 {
+				compatible = "fsl,imx6qp-pre";
+				reg = <0x021cb000 0x1000>;
+				interrupts = <GIC_SPI 99 IRQ_TYPE_EDGE_RISING>;
+				clocks = <&clks IMX6QDL_CLK_PRE3>;
+				clock-names = "axi";
+				fsl,iram = <&ocram3>;
+			};
+		};
 	};
 };
 
-- 
2.11.0

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

* [PATCH 2/2] ARM: dts: imx6qp: add PRG nodes and hook up to IPUs
  2017-03-23 14:13 [PATCH 0/2] IPU PRE/PRG devicetree nodes Lucas Stach
  2017-03-23 14:13 ` [PATCH 1/2] ARM: dts: imx6qp: add PRE nodes Lucas Stach
@ 2017-03-23 14:13 ` Lucas Stach
  2017-03-24  5:54 ` [PATCH 0/2] IPU PRE/PRG devicetree nodes Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-23 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Add the DT nodes for the Prefetch Resolve Gaskets found on i.MX6QP
and hook them up to the assigned IPU nodes.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qp.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi
index d9c0cd0baddb..59453f2ac4ba 100644
--- a/arch/arm/boot/dts/imx6qp.dtsi
+++ b/arch/arm/boot/dts/imx6qp.dtsi
@@ -92,6 +92,24 @@
 				clock-names = "axi";
 				fsl,iram = <&ocram3>;
 			};
+
+			prg1: prg at 21cc000 {
+				compatible = "fsl,imx6qp-prg";
+				reg = <0x021cc000 0x1000>;
+				clocks = <&clks IMX6QDL_CLK_PRG0_APB>,
+					 <&clks IMX6QDL_CLK_PRG0_AXI>;
+				clock-names = "ipg", "axi";
+				fsl,pres = <&pre1>, <&pre2>, <&pre3>;
+			};
+
+			prg2: prg at 21cd000 {
+				compatible = "fsl,imx6qp-prg";
+				reg = <0x021cd000 0x1000>;
+				clocks = <&clks IMX6QDL_CLK_PRG1_APB>,
+					 <&clks IMX6QDL_CLK_PRG1_AXI>;
+				clock-names = "ipg", "axi";
+				fsl,pres = <&pre4>, <&pre2>, <&pre3>;
+			};
 		};
 	};
 };
@@ -104,10 +122,12 @@
 
 &ipu1 {
 	compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
+	fsl,prg = <&prg1>;
 };
 
 &ipu2 {
 	compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
+	fsl,prg = <&prg2>;
 };
 
 &ldb {
-- 
2.11.0

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

* [PATCH 0/2] IPU PRE/PRG devicetree nodes
  2017-03-23 14:13 [PATCH 0/2] IPU PRE/PRG devicetree nodes Lucas Stach
  2017-03-23 14:13 ` [PATCH 1/2] ARM: dts: imx6qp: add PRE nodes Lucas Stach
  2017-03-23 14:13 ` [PATCH 2/2] ARM: dts: imx6qp: add PRG nodes and hook up to IPUs Lucas Stach
@ 2017-03-24  5:54 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2017-03-24  5:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Mar 23, 2017 at 03:13:11PM +0100, Lucas Stach wrote:
> Hi Shawn,
> 
> the following 2 patches add the DT nodes for the PRE/PRG units found
> on i.MX6QP. The bindings and driver code to make use of those are
> already in Dave Airlies drm-next branch, so can be considered stable.
> 
> Regards,
> Lucas
> 
> Lucas Stach (2):
>   ARM: dts: imx6qp: add PRE nodes
>   ARM: dts: imx6qp: add PRG nodes and hook up to IPUs

Applied both, thanks.

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

end of thread, other threads:[~2017-03-24  5:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 14:13 [PATCH 0/2] IPU PRE/PRG devicetree nodes Lucas Stach
2017-03-23 14:13 ` [PATCH 1/2] ARM: dts: imx6qp: add PRE nodes Lucas Stach
2017-03-23 14:13 ` [PATCH 2/2] ARM: dts: imx6qp: add PRG nodes and hook up to IPUs Lucas Stach
2017-03-24  5:54 ` [PATCH 0/2] IPU PRE/PRG devicetree nodes Shawn Guo

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