diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-03-25 08:10:34 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-04-04 08:24:48 -0400 |
commit | 88072c39edff2f6e171995e77d1ebeee8e7017d9 (patch) | |
tree | fbffeb0ce42b6e7114341dfaee94e3e820978cca /Documentation | |
parent | 86f05ae826aa1f9424f8e80b822f119e7234641e (diff) |
panel/ld9040: add DT bindings
The patch adds bindings for ld9040 panel.
Bindings describe panel resources, boot delays,
display timings and physical size.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/panel/samsung,ld9040.txt | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/panel/samsung,ld9040.txt b/Documentation/devicetree/bindings/panel/samsung,ld9040.txt new file mode 100644 index 000000000000..07c36c3f7b52 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/samsung,ld9040.txt | |||
@@ -0,0 +1,66 @@ | |||
1 | Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "samsung,ld9040" | ||
5 | - reg: address of the panel on SPI bus | ||
6 | - vdd3-supply: core voltage supply | ||
7 | - vci-supply: voltage supply for analog circuits | ||
8 | - reset-gpios: a GPIO spec for the reset pin | ||
9 | - display-timings: timings for the connected panel according to [1] | ||
10 | |||
11 | The panel must obey rules for SPI slave device specified in document [2]. | ||
12 | |||
13 | Optional properties: | ||
14 | - power-on-delay: delay after turning regulators on [ms] | ||
15 | - reset-delay: delay after reset sequence [ms] | ||
16 | - panel-width-mm: physical panel width [mm] | ||
17 | - panel-height-mm: physical panel height [mm] | ||
18 | |||
19 | The device node can contain one 'port' child node with one child | ||
20 | 'endpoint' node, according to the bindings defined in [3]. This | ||
21 | node should describe panel's video bus. | ||
22 | |||
23 | [1]: Documentation/devicetree/bindings/video/display-timing.txt | ||
24 | [2]: Documentation/devicetree/bindings/spi/spi-bus.txt | ||
25 | [3]: Documentation/devicetree/bindings/media/video-interfaces.txt | ||
26 | |||
27 | Example: | ||
28 | |||
29 | lcd@0 { | ||
30 | compatible = "samsung,ld9040"; | ||
31 | reg = <0>; | ||
32 | vdd3-supply = <&ldo7_reg>; | ||
33 | vci-supply = <&ldo17_reg>; | ||
34 | reset-gpios = <&gpy4 5 0>; | ||
35 | spi-max-frequency = <1200000>; | ||
36 | spi-cpol; | ||
37 | spi-cpha; | ||
38 | power-on-delay = <10>; | ||
39 | reset-delay = <10>; | ||
40 | panel-width-mm = <90>; | ||
41 | panel-height-mm = <154>; | ||
42 | |||
43 | display-timings { | ||
44 | timing { | ||
45 | clock-frequency = <23492370>; | ||
46 | hactive = <480>; | ||
47 | vactive = <800>; | ||
48 | hback-porch = <16>; | ||
49 | hfront-porch = <16>; | ||
50 | vback-porch = <2>; | ||
51 | vfront-porch = <28>; | ||
52 | hsync-len = <2>; | ||
53 | vsync-len = <1>; | ||
54 | hsync-active = <0>; | ||
55 | vsync-active = <0>; | ||
56 | de-active = <0>; | ||
57 | pixelclk-active = <0>; | ||
58 | }; | ||
59 | }; | ||
60 | |||
61 | port { | ||
62 | lcd_ep: endpoint { | ||
63 | remote-endpoint = <&fimd_dpi_ep>; | ||
64 | }; | ||
65 | }; | ||
66 | }; | ||