Skip to contentSkip to conversation

ARM: dts: imx: pxp for imx6sll

PATCH Applied Andreas Kemnade 3 participants 5 messages Dec 2, 2019 – Dec 23, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: imx: pxp for imx6sll

fix bindings documentation about imx6sll and
add stuff to imx6sll.dtsi to enable pxp.

Andreas Kemnade (2):
media: dt-bindings: media: fsl-pxp: add missing imx6sll
ARM: dts: imx6sll: add PXP module

 Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
 arch/arm/boot/dts/imx6sll.dtsi                      | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/2 media: dt-bindings: media: fsl-pxp: add missing imx6sll

i.MX6SLL also has a pxp, so mention it among others in the bindings doc.

---
 Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/media/fsl-pxp.txt +1 -1
index 2477e7f87381..f8090e06530d 100644
@@ -8,7 +8,7 @@ i.MX SoCs from i.MX23 to i.MX7.
 
 Required properties:
 - compatible: should be "fsl,<soc>-pxp", where SoC can be one of imx23, imx28,
-  imx6dl, imx6sl, imx6ul, imx6sx, imx6ull, or imx7d.
+  imx6dl, imx6sl, imx6sll, imx6ul, imx6sx, imx6ull, or imx7d.
 - reg: the register base and size for the device registers
 - interrupts: the PXP interrupt, two interrupts for imx6ull and imx7d.
 - clock-names: should be "axi"
Signature · 1 line
2.20.1
maintainer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll

Quoted 7 lines · Andreas Kemnade

i.MX6SLL also has a pxp, so mention it among others in the bindings doc.

---
 Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#4 lore raw

PATCH 2/2 ARM: dts: imx6sll: add PXP module

In reply to Andreas Kemnade

While the EPDC is optional, both consumer and industrial editions have the PXP module, so adding it to the corresponding .dtsi Information taken from freescale kernel, compared with the reference manual and tested by a separate program.

Since it does not depend on external wiring, the
status = "disabled" is left out here.

---
 arch/arm/boot/dts/imx6sll.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/imx6sll.dtsi +9 -0
index 13c7ba7fa6bc..10cf5f3b4865 100644
@@ -632,6 +632,15 @@
 				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
 			};
 
+			pxp: pxp@20f0000 {
+				compatible = "fsl,imx6sll-pxp", "fsl,imx6ull-pxp";
+				reg = <0x20f0000 0x4000>;
+				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks IMX6SLL_CLK_PXP>;
+				clock-names = "axi";
+			};
+
 			lcdif: lcd-controller@20f8000 {
 				compatible = "fsl,imx6sll-lcdif", "fsl,imx28-lcdif";
 				reg = <0x020f8000 0x4000>;
Signature · 1 line
2.20.1