1device-tree bindings for rockchip soc display controller (vop)
2
3VOP (Visual Output Processor) is the Display Controller for the Rockchip
4series of SoCs which transfers the image data from a video memory
5buffer to an external LCD interface.
6
7Required properties:
8- compatible: value should be one of the following
9		"rockchip,rk3036-vop";
10		"rockchip,rk3126-vop";
11		"rockchip,px30-vop-lit";
12		"rockchip,px30-vop-big";
13		"rockchip,rk3066-vop";
14		"rockchip,rk3188-vop";
15		"rockchip,rk3288-vop";
16		"rockchip,rk3368-vop";
17		"rockchip,rk3366-vop";
18		"rockchip,rk3399-vop-big";
19		"rockchip,rk3399-vop-lit";
20		"rockchip,rk3228-vop";
21		"rockchip,rk3328-vop";
22
23- interrupts: should contain a list of all VOP IP block interrupts in the
24		 order: VSYNC, LCD_SYSTEM. The interrupt specifier
25		 format depends on the interrupt controller used.
26
27- clocks: must include clock specifiers corresponding to entries in the
28		clock-names property.
29
30- clock-names: Must contain
31		aclk_vop: for ddr buffer transfer.
32		hclk_vop: for ahb bus to R/W the phy regs.
33		dclk_vop: pixel clock.
34
35- resets: Must contain an entry for each entry in reset-names.
36  See ../reset/reset.txt for details.
37- reset-names: Must include the following entries:
38  - axi
39  - ahb
40  - dclk
41
42- iommus: required a iommu node
43
44- port: A port node with endpoint definitions as defined in
45  Documentation/devicetree/bindings/media/video-interfaces.txt.
46
47Example:
48SoC specific DT entry:
49	vopb: vopb@ff930000 {
50		compatible = "rockchip,rk3288-vop";
51		reg = <0xff930000 0x19c>;
52		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
53		clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
54		clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
55		resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>;
56		reset-names = "axi", "ahb", "dclk";
57		iommus = <&vopb_mmu>;
58		vopb_out: port {
59			#address-cells = <1>;
60			#size-cells = <0>;
61			vopb_out_edp: endpoint@0 {
62				reg = <0>;
63				remote-endpoint=<&edp_in_vopb>;
64			};
65			vopb_out_hdmi: endpoint@1 {
66				reg = <1>;
67				remote-endpoint=<&hdmi_in_vopb>;
68			};
69		};
70	};
71