2019-12-02 20:48:49

by Andreas Kemnade

[permalink] [raw]
Subject: [PATCH 0/2] 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(-)

--
2.20.1


2019-12-02 20:49:37

by Andreas Kemnade

[permalink] [raw]
Subject: [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.

Signed-off-by: Andreas Kemnade <[email protected]>
---
Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/fsl-pxp.txt b/Documentation/devicetree/bindings/media/fsl-pxp.txt
index 2477e7f87381..f8090e06530d 100644
--- a/Documentation/devicetree/bindings/media/fsl-pxp.txt
+++ b/Documentation/devicetree/bindings/media/fsl-pxp.txt
@@ -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"
--
2.20.1

2019-12-02 20:52:22

by Andreas Kemnade

[permalink] [raw]
Subject: [PATCH 2/2] ARM: dts: imx6sll: add PXP module

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.

Signed-off-by: Andreas Kemnade <[email protected]>
---
arch/arm/boot/dts/imx6sll.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi
index 13c7ba7fa6bc..10cf5f3b4865 100644
--- a/arch/arm/boot/dts/imx6sll.dtsi
+++ b/arch/arm/boot/dts/imx6sll.dtsi
@@ -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>;
--
2.20.1

2019-12-13 23:41:58

by Rob Herring (Arm)

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

On Mon, 2 Dec 2019 21:47:47 +0100, Andreas Kemnade wrote:
> i.MX6SLL also has a pxp, so mention it among others in the bindings doc.
>
> Signed-off-by: Andreas Kemnade <[email protected]>
> ---
> Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2019-12-23 01:25:24

by Shawn Guo

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

On Mon, Dec 02, 2019 at 09:47:47PM +0100, Andreas Kemnade wrote:
> i.MX6SLL also has a pxp, so mention it among others in the bindings doc.
>
> Signed-off-by: Andreas Kemnade <[email protected]>

Applied both, thanks.