xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/video/rockchip_mipidsi.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Device-Tree bindings for rockchip mipi dsi driver
2
3Required properties:
4- compatible: value should be "rockchip,rk32-dsi".
5- rockchip,prop: dsi number.
6- reg: physical base address of the hdmi and length of memory mapped
7        region.
8- interrupts: interrupt number to the cpu.
9
10- clocks: must include clock specifiers corresponding to entries in the
11        clock-names property.
12- clocks-names: list of clock names sorted in the same order as the clocks
13               property. Must contain "pclk_hdmi" and "hdcp_clk_hdmi".
14- status: the dsi host status;
15	<disabled>: open the dsi host;
16	<okay>:close the dsi host;
17
18Example:
19
20	dsihost0: mipi@ff960000{
21		compatible = "rockchip,rk32-dsi";
22		rockchip,prop = <0>;
23		reg = <0xff960000 0x4000>;
24		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
25		clocks = <&clk_gates5 15>, <&clk_gates16 4> , <&pd_mipidsi>;
26		clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pd_mipi_dsi";
27		status = "okay";
28	};
29
30	dsihost1: mipi@ff964000{
31		compatible = "rockchip,rk32-dsi";
32		rockchip,prop = <1>;
33		reg = <0xff964000 0x4000>;
34		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
35		clocks = <&clk_gates5 15>, <&clk_gates16 5>, <&pd_mipidsi>;
36		clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pd_mipi_dsi";
37		status = "okay";
38	};
39
40