Doc: add rockchip_hdmi.txt in Documentation/devicetree/bindings/
authorzwl <zwl@rock-chips.com>
Mon, 28 Apr 2014 10:07:24 +0000 (18:07 +0800)
committerzwl <zwl@rock-chips.com>
Mon, 28 Apr 2014 10:10:51 +0000 (18:10 +0800)
Documentation/devicetree/bindings/video/rockchip_hdmi.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/video/rockchip_hdmi.txt b/Documentation/devicetree/bindings/video/rockchip_hdmi.txt
new file mode 100644 (file)
index 0000000..3935dcf
--- /dev/null
@@ -0,0 +1,32 @@
+Device-Tree bindings for rockchip hdmi driver
+
+Required properties:
+- compatible: value should be "rockchip,rk3288-hdmi".
+- reg: physical base address of the hdmi and length of memory mapped
+        region.
+- interrupts: interrupt number to the cpu.
+- pinctrl-names: must contain a "default" entry.
+- pinctrl-0: pin control group to be used for this controller.
+- pinctrl-1: pin control group to be used for gpio.
+- clocks: must include clock specifiers corresponding to entries in the
+        clock-names property.
+- clocks-names: list of clock names sorted in the same order as the clocks
+               property. Must contain "pclk_hdmi" and "hdcp_clk_hdmi".
+- rockchips,hdmi_audio_source: hdmi audio source that is described as follow
+       <0>: hdmi audio source from the I2S interface
+       <1>: hdmi audio source from the SPDIF interface                         
+
+Example:
+
+       hdmi: hdmi@ff980000 {
+                compatible = "rockchip,rk3288-hdmi";
+                reg = <0xff980000 0x20000>;
+                interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+                pinctrl-names = "default", "gpio";
+                pinctrl-0 = <&i2c5_sda &i2c5_scl>;
+                pinctrl-1 = <&i2c5_gpio>;
+                clocks = <&clk_gates16 9>, <&clk_gates5 12>;
+                clock-names = "pclk_hdmi", "hdcp_clk_hdmi";
+               rockchips,hdmi_audio_source = <0>;
+        };
+