Merge branch 'for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
[deliverable/linux.git] / Documentation / devicetree / bindings / display / atmel,lcdc.txt
1 Atmel LCDC Framebuffer
2 -----------------------------------------------------
3
4 Required 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 Can contain an additional register range(address and length)
15 for fixed framebuffer memory. Useful for dedicated memories.
16 - interrupts : framebuffer controller interrupt
17 - display: a phandle pointing to the display node
18
19 Required nodes:
20 - display: a display node is required to initialize the lcd panel
21 This should be in the board dts.
22 - default-mode: a videomode within the display with timing parameters
23 as specified below.
24
25 Optional properties:
26 - lcd-supply: Regulator for LCD supply voltage.
27
28 Example:
29
30 fb0: fb@0x00500000 {
31 compatible = "atmel,at91sam9g45-lcdc";
32 reg = <0x00500000 0x1000>;
33 interrupts = <23 3 0>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_fb>;
36 display = <&display0>;
37 status = "okay";
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 };
42
43 Example for fixed framebuffer memory:
44
45 fb0: fb@0x00500000 {
46 compatible = "atmel,at91sam9263-lcdc";
47 reg = <0x00700000 0x1000 0x70000000 0x200000>;
48 [...]
49 };
50
51 Atmel LCDC Display
52 -----------------------------------------------------
53 Required properties (as per of_videomode_helper):
54
55 - atmel,dmacon: dma controller configuration
56 - atmel,lcdcon2: lcd controller configuration
57 - atmel,guard-time: lcd guard time (Delay in frame periods)
58 - bits-per-pixel: lcd panel bit-depth.
59
60 Optional properties (as per of_videomode_helper):
61 - atmel,lcdcon-backlight: enable backlight
62 - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
63 - atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
64 - atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
65
66 Example:
67 display0: display {
68 bits-per-pixel = <32>;
69 atmel,lcdcon-backlight;
70 atmel,dmacon = <0x1>;
71 atmel,lcdcon2 = <0x80008002>;
72 atmel,guard-time = <9>;
73 atmel,lcd-wiring-mode = <1>;
74
75 display-timings {
76 native-mode = <&timing0>;
77 timing0: timing0 {
78 clock-frequency = <9000000>;
79 hactive = <480>;
80 vactive = <272>;
81 hback-porch = <1>;
82 hfront-porch = <1>;
83 vback-porch = <40>;
84 vfront-porch = <1>;
85 hsync-len = <45>;
86 vsync-len = <1>;
87 };
88 };
89 };
This page took 0.050347 seconds and 5 git commands to generate.