Linux-Media Archive on lore.kernel.org
 help / color / 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; 3+ 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] 3+ 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-02 20:47 ` [PATCH 2/2] ARM: dts: imx6sll: add PXP module Andreas Kemnade
  1 sibling, 0 replies; 3+ 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	[flat|nested] 3+ 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; 3+ 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	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ 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-02 20:47 ` [PATCH 2/2] ARM: dts: imx6sll: add PXP module Andreas Kemnade

Linux-Media Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ https://lore.kernel.org/linux-media \
		linux-media@vger.kernel.org
	public-inbox-index linux-media

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-media


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git