Skip to contentSkip to conversation

media: mx2-emmaprp: Add DT bindings documentation

PATCH In review Alexander Shiyan 2 participants 2 messages Dec 16, 2018 – Feb 15, 2019

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

PATCH 3/3 media: mx2-emmaprp: Add DT bindings documentation

This patch adds DT binding documentation for the Freescale enhanced Multimedia Accelerator (eMMA) video Pre-processor (PrP).

---
 .../devicetree/bindings/media/fsl-emmaprp.txt        | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/fsl-emmaprp.txt
Documentation/devicetree/bindings/media/fsl-emmaprp.txt new file +20 -0
new file mode 100644
index 0000000..9dd7cc6
@@ -0,0 +1,20 @@
+* Freescale enhanced Multimedia Accelerator (eMMA) video Pre-processor (PrP)
+  for i.MX21 & i.MX27 SoCs.
+
+Required properties:
+- compatible : Shall contain "fsl,imx21-emmaprp" for compatible with
+               the one integrated on i.MX21 SoC.
+- reg        : Offset and length of the register set for the device.
+- interrupts : Should contain eMMA PrP interrupt number.
+- clocks     : Should contain the ahb and ipg clocks, in the order
+               determined by the clock-names property.
+- clock-names: Should be "ahb", "ipg".
+
+Example:
+	emmaprp: emmaprp@10026400 {
+		compatible = "fsl,imx21-emmaprp";
+		reg = <0x10026400 0x100>;
+		interrupts = <51>;
+		clocks = <&clks 49>, <&clks 68>;
+		clock-names = "ipg", "ahb";
+	};
Signature · 1 line
2.10.2
#1 lore raw

Rob,

Can you take a look at this?

Thanks!

Hans

Quoted 36 lines · Alexander Shiyan

This patch adds DT binding documentation for the Freescale enhanced Multimedia Accelerator (eMMA) video Pre-processor (PrP).

---
 .../devicetree/bindings/media/fsl-emmaprp.txt        | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/fsl-emmaprp.txt
Documentation/devicetree/bindings/media/fsl-emmaprp.txt new file +20 -0
new file mode 100644
index 0000000..9dd7cc6
@@ -0,0 +1,20 @@
+* Freescale enhanced Multimedia Accelerator (eMMA) video Pre-processor (PrP)
+  for i.MX21 & i.MX27 SoCs.
+
+Required properties:
+- compatible : Shall contain "fsl,imx21-emmaprp" for compatible with
+               the one integrated on i.MX21 SoC.
+- reg        : Offset and length of the register set for the device.
+- interrupts : Should contain eMMA PrP interrupt number.
+- clocks     : Should contain the ahb and ipg clocks, in the order
+               determined by the clock-names property.
+- clock-names: Should be "ahb", "ipg".
+
+Example:
+	emmaprp: emmaprp@10026400 {
+		compatible = "fsl,imx21-emmaprp";
+		reg = <0x10026400 0x100>;
+		interrupts = <51>;
+		clocks = <&clks 49>, <&clks 68>;
+		clock-names = "ipg", "ahb";
+	};