From c555b141ae3a4a0168b73809fb407b91755d3986 Mon Sep 17 00:00:00 2001 From: zwl Date: Mon, 28 Apr 2014 18:07:24 +0800 Subject: [PATCH] Doc: add rockchip_hdmi.txt in Documentation/devicetree/bindings/ --- .../bindings/video/rockchip_hdmi.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/rockchip_hdmi.txt diff --git a/Documentation/devicetree/bindings/video/rockchip_hdmi.txt b/Documentation/devicetree/bindings/video/rockchip_hdmi.txt new file mode 100644 index 000000000000..3935dcfdbc13 --- /dev/null +++ b/Documentation/devicetree/bindings/video/rockchip_hdmi.txt @@ -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 = ; + 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>; + }; + -- 2.34.1