xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunPXA LCD Controller
2*4882a593Smuzhiyun------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun - compatible : one of these
6*4882a593Smuzhiyun	"marvell,pxa2xx-lcdc",
7*4882a593Smuzhiyun	"marvell,pxa270-lcdc",
8*4882a593Smuzhiyun	"marvell,pxa300-lcdc"
9*4882a593Smuzhiyun - reg : should contain 1 register range (address and length).
10*4882a593Smuzhiyun - interrupts : framebuffer controller interrupt.
11*4882a593Smuzhiyun - clocks: phandle to input clocks
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunOptional properties:
14*4882a593Smuzhiyun - lcd-supply: A phandle to a power regulator that controls the LCD voltage.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunRequired nodes:
17*4882a593Smuzhiyun - port: connection to the LCD panel (see video-interfaces.txt)
18*4882a593Smuzhiyun	 This node must have its properties bus-width and remote-endpoint set.
19*4882a593Smuzhiyun	 If the panel is not a TFT color panel, then a "lcd-type" property in
20*4882a593Smuzhiyun	 the panel should specify the panel type.
21*4882a593Smuzhiyun	 This panel node should be in the board dts.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun	lcd-controller@40500000 {
25*4882a593Smuzhiyun		compatible = "marvell,pxa2xx-lcdc";
26*4882a593Smuzhiyun		reg = <0x44000000 0x10000>;
27*4882a593Smuzhiyun		interrupts = <17>;
28*4882a593Smuzhiyun		clocks = <&clks CLK_LCD>;
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun		port {
31*4882a593Smuzhiyun			lcdc_out: endpoint {
32*4882a593Smuzhiyun				remote-endpoint = <&panel_in>;
33*4882a593Smuzhiyun				bus-width = <16>;
34*4882a593Smuzhiyun			};
35*4882a593Smuzhiyun		};
36*4882a593Smuzhiyun	};
37