[media] bdisp: add DT bindings documentation
authorFabien Dessenne <fabien.dessenne@st.com>
Tue, 12 May 2015 16:02:09 +0000 (13:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 9 Jun 2015 20:54:09 +0000 (17:54 -0300)
This adds DT binding documentation for STMicroelectronics bdisp driver.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/devicetree/bindings/media/st,stih4xx.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/media/st,stih4xx.txt b/Documentation/devicetree/bindings/media/st,stih4xx.txt
new file mode 100644 (file)
index 0000000..df655cd
--- /dev/null
@@ -0,0 +1,32 @@
+STMicroelectronics stih4xx platforms
+
+bdisp: 2D blitter for STMicroelectronics SoC.
+
+Required properties:
+- compatible: should be "st,stih407-bdisp".
+- reg: BDISP physical address location and length.
+- interrupts: BDISP interrupt number.
+- clocks: from common clock binding: handle hardware IP needed clocks, the
+  number of clocks may depend on the SoC type.
+  See ../clocks/clock-bindings.txt for details.
+- clock-names: names of the clocks listed in clocks property in the same order.
+
+Example:
+
+       bdisp0:bdisp@9f10000 {
+               compatible = "st,stih407-bdisp";
+               reg = <0x9f10000 0x1000>;
+               interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
+               clock-names = "bdisp";
+               clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
+       };
+
+Aliases:
+Each BDISP should have a numbered alias in the aliases node, in the form of
+bdispN, N = 0 or 1.
+
+Example:
+
+       aliases {
+               bdisp0 = &bdisp0;
+       };