aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/video/atmel,lcdc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/video/atmel,lcdc.txt')
-rw-r--r--Documentation/devicetree/bindings/video/atmel,lcdc.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/atmel,lcdc.txt b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
new file mode 100644
index 000000000000..1ec175eddca8
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
@@ -0,0 +1,75 @@
1Atmel LCDC Framebuffer
2-----------------------------------------------------
3
4Required properties:
5- compatible :
6 "atmel,at91sam9261-lcdc" ,
7 "atmel,at91sam9263-lcdc" ,
8 "atmel,at91sam9g10-lcdc" ,
9 "atmel,at91sam9g45-lcdc" ,
10 "atmel,at91sam9g45es-lcdc" ,
11 "atmel,at91sam9rl-lcdc" ,
12 "atmel,at32ap-lcdc"
13- reg : Should contain 1 register ranges(address and length)
14- interrupts : framebuffer controller interrupt
15- display: a phandle pointing to the display node
16
17Required nodes:
18- display: a display node is required to initialize the lcd panel
19 This should be in the board dts.
20- default-mode: a videomode within the display with timing parameters
21 as specified below.
22
23Example:
24
25 fb0: fb@0x00500000 {
26 compatible = "atmel,at91sam9g45-lcdc";
27 reg = <0x00500000 0x1000>;
28 interrupts = <23 3 0>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_fb>;
31 display = <&display0>;
32 status = "okay";
33 #address-cells = <1>;
34 #size-cells = <1>;
35
36 };
37
38Atmel LCDC Display
39-----------------------------------------------------
40Required properties (as per of_videomode_helper):
41
42 - atmel,dmacon: dma controler configuration
43 - atmel,lcdcon2: lcd controler configuration
44 - atmel,guard-time: lcd guard time (Delay in frame periods)
45 - bits-per-pixel: lcd panel bit-depth.
46
47Optional properties (as per of_videomode_helper):
48 - atmel,lcdcon-backlight: enable backlight
49 - atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
50 - atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
51
52Example:
53 display0: display {
54 bits-per-pixel = <32>;
55 atmel,lcdcon-backlight;
56 atmel,dmacon = <0x1>;
57 atmel,lcdcon2 = <0x80008002>;
58 atmel,guard-time = <9>;
59 atmel,lcd-wiring-mode = <1>;
60
61 display-timings {
62 native-mode = <&timing0>;
63 timing0: timing0 {
64 clock-frequency = <9000000>;
65 hactive = <480>;
66 vactive = <272>;
67 hback-porch = <1>;
68 hfront-porch = <1>;
69 vback-porch = <40>;
70 vfront-porch = <1>;
71 hsync-len = <45>;
72 vsync-len = <1>;
73 };
74 };
75 };