xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip specific extensions to the Innosilicon HDMI
2================================
3
4Required properties:
5- compatible:
6	"rockchip,rk3036-inno-hdmi";
7	"rockchip,rk3128-inno-hdmi";
8- reg:
9	Physical base address and length of the controller's registers.
10- clocks, clock-names:
11	Phandle to hdmi controller clock, name should be "aclk" and "pclk".
12- interrupts:
13	HDMI interrupt number
14- ports:
15	Contain one port node with endpoint definitions as defined in
16	Documentation/devicetree/bindings/graph.txt.
17- pinctrl-0, pinctrl-name:
18	Switch the iomux of HPD/CEC pins to HDMI function.
19
20Example:
21hdmi: hdmi@20034000 {
22	compatible = "rockchip,rk3036-inno-hdmi";
23	reg = <0x20034000 0x4000>;
24	interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
25	clocks = <&cru ACLK_VIO>, <&cru PCLK_HDMI>;
26	clock-names = "aclk", "pclk";
27	pinctrl-names = "default";
28	pinctrl-0 = <&hdmi_ctl>;
29
30	hdmi_in: port {
31		#address-cells = <1>;
32		#size-cells = <0>;
33		hdmi_in_lcdc: endpoint@0 {
34			reg = <0>;
35			remote-endpoint = <&lcdc_out_hdmi>;
36		};
37	};
38};
39
40&pinctrl {
41	hdmi {
42		hdmi_ctl: hdmi-ctl {
43			rockchip,pins = <1 8  RK_FUNC_1 &pcfg_pull_none>,
44					<1 9  RK_FUNC_1 &pcfg_pull_none>,
45					<1 10 RK_FUNC_1 &pcfg_pull_none>,
46					<1 11 RK_FUNC_1 &pcfg_pull_none>;
47		};
48	};
49
50};
51