devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: imx: pxp for imx6sll
@ 2019-12-02 20:47 Andreas Kemnade
  2019-12-02 20:47 ` [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll Andreas Kemnade
  2019-12-02 20:47 ` [PATCH 2/2] ARM: dts: imx6sll: add PXP module Andreas Kemnade
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Kemnade @ 2019-12-02 20:47 UTC (permalink / raw)
  To: mchehab, robh+dt, mark.rutland, shawnguo, s.hauer, kernel,
	festevam, linux-imx, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, letux-kernel
  Cc: Andreas Kemnade

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


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

* [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll
  2019-12-02 20:47 [PATCH 0/2] ARM: dts: imx: pxp for imx6sll Andreas Kemnade
@ 2019-12-02 20:47 ` Andreas Kemnade
  2019-12-13 23:39   ` Rob Herring
  2019-12-23  1:24   ` Shawn Guo
  2019-12-02 20:47 ` [PATCH 2/2] ARM: dts: imx6sll: add PXP module Andreas Kemnade
  1 sibling, 2 replies; 5+ messages in thread
From: Andreas Kemnade @ 2019-12-02 20:47 UTC (permalink / raw)
  To: mchehab, robh+dt, mark.rutland, shawnguo, s.hauer, kernel,
	festevam, linux-imx, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, letux-kernel
  Cc: Andreas Kemnade

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

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 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


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

* [PATCH 2/2] ARM: dts: imx6sll: add PXP module
  2019-12-02 20:47 [PATCH 0/2] ARM: dts: imx: pxp for imx6sll Andreas Kemnade
  2019-12-02 20:47 ` [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll Andreas Kemnade
@ 2019-12-02 20:47 ` Andreas Kemnade
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Kemnade @ 2019-12-02 20:47 UTC (permalink / raw)
  To: mchehab, robh+dt, mark.rutland, shawnguo, s.hauer, kernel,
	festevam, linux-imx, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, letux-kernel
  Cc: 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.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 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


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

* Re: [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll
  2019-12-02 20:47 ` [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll Andreas Kemnade
@ 2019-12-13 23:39   ` Rob Herring
  2019-12-23  1:24   ` Shawn Guo
  1 sibling, 0 replies; 5+ messages in thread
From: Rob Herring @ 2019-12-13 23:39 UTC (permalink / raw)
  To: Andreas Kemnade
  Cc: mchehab, robh+dt, mark.rutland, shawnguo, s.hauer, kernel,
	festevam, linux-imx, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, letux-kernel, Andreas Kemnade

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 <andreas@kemnade.info>
> ---
>  Documentation/devicetree/bindings/media/fsl-pxp.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll
  2019-12-02 20:47 ` [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll Andreas Kemnade
  2019-12-13 23:39   ` Rob Herring
@ 2019-12-23  1:24   ` Shawn Guo
  1 sibling, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2019-12-23  1:24 UTC (permalink / raw)
  To: Andreas Kemnade
  Cc: mchehab, robh+dt, mark.rutland, s.hauer, kernel, festevam,
	linux-imx, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, letux-kernel

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 <andreas@kemnade.info>

Applied both, thanks. 

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

end of thread, other threads:[~2019-12-23  1:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 20:47 [PATCH 0/2] ARM: dts: imx: pxp for imx6sll Andreas Kemnade
2019-12-02 20:47 ` [PATCH 1/2] media: dt-bindings: media: fsl-pxp: add missing imx6sll Andreas Kemnade
2019-12-13 23:39   ` Rob Herring
2019-12-23  1:24   ` Shawn Guo
2019-12-02 20:47 ` [PATCH 2/2] ARM: dts: imx6sll: add PXP module Andreas Kemnade

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