diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-03-28 07:52:39 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-04-04 08:24:47 -0400 |
commit | 670935b6962139d972615415658c6b0ed4fbeac3 (patch) | |
tree | 0e47003b50f13109bdc839d6ed23758c20a53024 /Documentation | |
parent | 3eb578e2d5ab244085638c08c340e9e0084e8688 (diff) |
exynos/dsim: add DT bindings
The patch adds DT bindings for Exynos DSI Master. DSIM follows rules
for DSI bus host bindings [1].
Properties describes its resources: memory, interrupt, clocks,
phy, regulators, frequencies of clocks and video interfaces.
[1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt
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/video/exynos_dsim.txt | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt new file mode 100644 index 000000000000..33b5730d07ba --- /dev/null +++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt | |||
@@ -0,0 +1,80 @@ | |||
1 | Exynos MIPI DSI Master | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "samsung,exynos4210-mipi-dsi" | ||
5 | - reg: physical base address and length of the registers set for the device | ||
6 | - interrupts: should contain DSI interrupt | ||
7 | - clocks: list of clock specifiers, must contain an entry for each required | ||
8 | entry in clock-names | ||
9 | - clock-names: should include "bus_clk"and "pll_clk" entries | ||
10 | - phys: list of phy specifiers, must contain an entry for each required | ||
11 | entry in phy-names | ||
12 | - phy-names: should include "dsim" entry | ||
13 | - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V) | ||
14 | - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V) | ||
15 | - samsung,pll-clock-frequency: specifies frequency of the "pll_clk" clock | ||
16 | - #address-cells, #size-cells: should be set respectively to <1> and <0> | ||
17 | according to DSI host bindings (see MIPI DSI bindings [1]) | ||
18 | |||
19 | Optional properties: | ||
20 | - samsung,power-domain: a phandle to DSIM power domain node | ||
21 | |||
22 | Child nodes: | ||
23 | Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). | ||
24 | |||
25 | Video interfaces: | ||
26 | Device node can contain video interface port nodes according to [2]. | ||
27 | The following are properties specific to those nodes: | ||
28 | |||
29 | port node: | ||
30 | - reg: (required) can be 0 for input RGB/I80 port or 1 for DSI port; | ||
31 | |||
32 | endpoint node of DSI port (reg = 1): | ||
33 | - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst | ||
34 | mode | ||
35 | - samsung,esc-clock-frequency: specifies DSI frequency in escape mode | ||
36 | |||
37 | [1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt | ||
38 | [2]: Documentation/devicetree/bindings/media/video-interfaces.txt | ||
39 | |||
40 | Example: | ||
41 | |||
42 | dsi@11C80000 { | ||
43 | compatible = "samsung,exynos4210-mipi-dsi"; | ||
44 | reg = <0x11C80000 0x10000>; | ||
45 | interrupts = <0 79 0>; | ||
46 | clocks = <&clock 286>, <&clock 143>; | ||
47 | clock-names = "bus_clk", "pll_clk"; | ||
48 | phys = <&mipi_phy 1>; | ||
49 | phy-names = "dsim"; | ||
50 | vddcore-supply = <&vusb_reg>; | ||
51 | vddio-supply = <&vmipi_reg>; | ||
52 | samsung,power-domain = <&pd_lcd0>; | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <0>; | ||
55 | samsung,pll-clock-frequency = <24000000>; | ||
56 | |||
57 | panel@1 { | ||
58 | reg = <0>; | ||
59 | ... | ||
60 | port { | ||
61 | panel_ep: endpoint { | ||
62 | remote-endpoint = <&dsi_ep>; | ||
63 | }; | ||
64 | }; | ||
65 | }; | ||
66 | |||
67 | ports { | ||
68 | #address-cells = <1>; | ||
69 | #size-cells = <0>; | ||
70 | |||
71 | port@1 { | ||
72 | dsi_ep: endpoint { | ||
73 | reg = <0>; | ||
74 | samsung,burst-clock-frequency = <500000000>; | ||
75 | samsung,esc-clock-frequency = <20000000>; | ||
76 | remote-endpoint = <&panel_ep>; | ||
77 | }; | ||
78 | }; | ||
79 | }; | ||
80 | }; | ||