diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:44:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:44:20 -0500 |
commit | f0d55cc1a65852e6647d4f5d707c1c9b5471ce3c (patch) | |
tree | e96d6a88590f656d86c1f58cb0b34d40d6091b63 /Documentation/devicetree/bindings/video | |
parent | 549608eadb31eac5d579ed70a21ac722bdf72861 (diff) | |
parent | 3a41c5dbe8bc396a7fb16ca8739e945bb003342e (diff) |
Merge tag 'fbdev-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull fbdev changes from Tomi Valkeinen:
"Nothing particularly stands out in this pull request. The biggest
part of the changes are cleanups.
Maybe one fix to mention is the "fb: reorder the lock sequence to fix
potential dead lock" which hopefully fixes the fb locking issues
reported by multiple persons.
There are also a few commits that have changes to arch/arm/mach-at91
and arch/avr32, which have been acked by the maintainers"
* tag 'fbdev-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (143 commits)
fb: reorder the lock sequence to fix potential dead lock
fbdev: shmobile-lcdcfb: Convert to clk_prepare/unprepare
fbdev: shmobile-hdmi: Convert to clk_prepare/unprepare
omapdss: Add new panel driver for Topolly td028ttec1 LCD.
video: exynos_mipi_dsi: Unlock the mutex before returning
video: da8xx-fb: remove unwanted define
video: Remove unnecessary semicolons
simplefb: use write-combined remapping
simplefb: fix unmapping fb during destruction
OMAPDSS: connector-dvi: fix releasing i2c_adapter
OMAPDSS: DSI: fix perf measuring ifdefs
framebuffer: Use fb_<level>
framebuffer: Add fb_<level> convenience logging macros
efifb: prevent null-deref when iterating dmi_list
fbdev: fix error return code in metronomefb_probe()
video: xilinxfb: Fix for "Use standard variable name convention"
OMAPDSS: Fix de_level in videomode_to_omap_video_timings()
video: xilinxfb: Simplify error path
video: xilinxfb: Use devm_kzalloc instead of kzalloc
video: xilinxfb: Use standard variable name convention
...
Diffstat (limited to 'Documentation/devicetree/bindings/video')
-rw-r--r-- | Documentation/devicetree/bindings/video/atmel,lcdc.txt | 75 |
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 @@ | |||
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 | - interrupts : framebuffer controller interrupt | ||
15 | - display: a phandle pointing to the display node | ||
16 | |||
17 | Required 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 | |||
23 | Example: | ||
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 | |||
38 | Atmel LCDC Display | ||
39 | ----------------------------------------------------- | ||
40 | Required 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 | |||
47 | Optional 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 | |||
52 | Example: | ||
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 | }; | ||