IPU PRE/PRG devicetree nodes
Subsystems (2)
cover IPU PRE/PRG devicetree nodes
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(+)
Signature · 1 line
2.11.0
PATCH 1/2 ARM: dts: imx6qp: add PRE nodes
Add the DT nodes for the Prefetch Resolve Engines found on i.MX6QP.
--- arch/arm/boot/dts/imx6qp.dtsi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)
arch/arm/boot/dts/imx6qp.dtsi +38 -0
@@ -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>; + }; + }; }; };
Signature · 1 line
2.11.0
PATCH 2/2 ARM: dts: imx6qp: add PRG nodes and hook up to IPUs
In reply to Lucas StachAdd the DT nodes for the Prefetch Resolve Gaskets found on i.MX6QP and hook them up to the assigned IPU nodes.
--- arch/arm/boot/dts/imx6qp.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/boot/dts/imx6qp.dtsi +20 -0
@@ -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 {
Signature · 1 line
2.11.0
Shawn Guo
Appliedcover IPU PRE/PRG devicetree nodes
In reply to Lucas StachQuoted 6 lines · Lucas Stach
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.
Quoted 6 lines
Regards,
LucasLucas Stach (2):
ARM: dts: imx6qp: add PRE nodes
ARM: dts: imx6qp: add PRG nodes and hook up to IPUs
Applied both, thanks.