Merge tag 'nfs-for-4.6-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / exynos / exynos_dsim.txt
1 Exynos MIPI DSI Master
2
3 Required properties:
4   - compatible: value should be one of the following
5                 "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
6                 "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
7                 "samsung,exynos4415-mipi-dsi" /* for Exynos4415 SoC */
8                 "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
9                 "samsung,exynos5422-mipi-dsi" /* for Exynos5422/5800 SoCs */
10                 "samsung,exynos5433-mipi-dsi" /* for Exynos5433 SoCs */
11   - reg: physical base address and length of the registers set for the device
12   - interrupts: should contain DSI interrupt
13   - clocks: list of clock specifiers, must contain an entry for each required
14     entry in clock-names
15   - clock-names: should include "bus_clk"and "sclk_mipi" entries
16                  the use of "pll_clk" is deprecated
17   - phys: list of phy specifiers, must contain an entry for each required
18     entry in phy-names
19   - phy-names: should include "dsim" entry
20   - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V)
21   - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
22   - samsung,pll-clock-frequency: specifies frequency of the oscillator clock
23   - #address-cells, #size-cells: should be set respectively to <1> and <0>
24     according to DSI host bindings (see MIPI DSI bindings [1])
25
26 Optional properties:
27   - power-domains: a phandle to DSIM power domain node
28
29 Child nodes:
30   Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
31
32 Video interfaces:
33   Device node can contain video interface port nodes according to [2].
34   The following are properties specific to those nodes:
35
36   port node inbound:
37     - reg: (required) must be 0.
38   port node outbound:
39     - reg: (required) must be 1.
40
41   endpoint node connected from mic node (reg = 0):
42     - remote-endpoint: specifies the endpoint in mic node. This node is required
43                        for Exynos5433 mipi dsi. So mic can access to panel node
44                        thoughout this dsi node.
45   endpoint node connected to panel node (reg = 1):
46     - remote-endpoint: specifies the endpoint in panel node. This node is
47                        required in all kinds of exynos mipi dsi to represent
48                        the connection between mipi dsi and panel.
49     - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst
50       mode
51     - samsung,esc-clock-frequency: specifies DSI frequency in escape mode
52
53 [1]: Documentation/devicetree/bindings/display/mipi-dsi-bus.txt
54 [2]: Documentation/devicetree/bindings/media/video-interfaces.txt
55
56 Example:
57
58         dsi@11C80000 {
59                 compatible = "samsung,exynos4210-mipi-dsi";
60                 reg = <0x11C80000 0x10000>;
61                 interrupts = <0 79 0>;
62                 clocks = <&clock 286>, <&clock 143>;
63                 clock-names = "bus_clk", "sclk_mipi";
64                 phys = <&mipi_phy 1>;
65                 phy-names = "dsim";
66                 vddcore-supply = <&vusb_reg>;
67                 vddio-supply = <&vmipi_reg>;
68                 power-domains = <&pd_lcd0>;
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71                 samsung,pll-clock-frequency = <24000000>;
72
73                 panel@1 {
74                         reg = <0>;
75                         ...
76                         port {
77                                 panel_ep: endpoint {
78                                         remote-endpoint = <&dsi_ep>;
79                                 };
80                         };
81                 };
82
83                 ports {
84                         #address-cells = <1>;
85                         #size-cells = <0>;
86
87                         port@0 {
88                                 reg = <0>;
89                                 decon_to_mic: endpoint {
90                                         remote-endpoint = <&mic_to_decon>;
91                                 };
92                         };
93
94                         port@1 {
95                                 reg = <1>;
96                                 dsi_ep: endpoint {
97                                         reg = <0>;
98                                         samsung,burst-clock-frequency = <500000000>;
99                                         samsung,esc-clock-frequency = <20000000>;
100                                         remote-endpoint = <&panel_ep>;
101                                 };
102                         };
103                 };
104         };