blob: ca5204b3bc218bfe8e04a4fd5ca70482b1ab8c6b [file] [log] [blame]
Andrzej Hajda670935b2014-03-28 12:52:39 +01001Exynos MIPI DSI Master
2
3Required properties:
YoungJun Cho88dc66c2014-07-17 18:01:22 +09004 - compatible: value should be one of the following
Inki Dae473462a2014-08-13 17:09:12 +09005 "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
YoungJun Cho88dc66c2014-07-17 18:01:22 +09006 "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
7 "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
Chanho Parkfdc2e102016-01-30 23:11:50 +09008 "samsung,exynos5422-mipi-dsi" /* for Exynos5422/5800 SoCs */
Hyungwon Hwange6f988a2015-06-12 21:59:07 +09009 "samsung,exynos5433-mipi-dsi" /* for Exynos5433 SoCs */
Andrzej Hajda670935b2014-03-28 12:52:39 +010010 - reg: physical base address and length of the registers set for the device
11 - interrupts: should contain DSI interrupt
12 - clocks: list of clock specifiers, must contain an entry for each required
13 entry in clock-names
Hyungwon Hwang26269af2015-06-12 21:59:03 +090014 - clock-names: should include "bus_clk"and "sclk_mipi" entries
15 the use of "pll_clk" is deprecated
Andrzej Hajda670935b2014-03-28 12:52:39 +010016 - phys: list of phy specifiers, must contain an entry for each required
17 entry in phy-names
18 - phy-names: should include "dsim" entry
19 - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V)
20 - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
Hyungwon Hwang26269af2015-06-12 21:59:03 +090021 - samsung,pll-clock-frequency: specifies frequency of the oscillator clock
Andrzej Hajda670935b2014-03-28 12:52:39 +010022 - #address-cells, #size-cells: should be set respectively to <1> and <0>
23 according to DSI host bindings (see MIPI DSI bindings [1])
24
25Optional properties:
Marek Szyprowski0da65872015-01-24 13:16:15 +090026 - power-domains: a phandle to DSIM power domain node
Andrzej Hajda670935b2014-03-28 12:52:39 +010027
28Child nodes:
29 Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
30
31Video interfaces:
32 Device node can contain video interface port nodes according to [2].
33 The following are properties specific to those nodes:
34
Hyungwon Hwangf5f3b9b2015-06-12 21:59:08 +090035 port node inbound:
36 - reg: (required) must be 0.
37 port node outbound:
38 - reg: (required) must be 1.
Andrzej Hajda670935b2014-03-28 12:52:39 +010039
Hyungwon Hwangf5f3b9b2015-06-12 21:59:08 +090040 endpoint node connected from mic node (reg = 0):
41 - remote-endpoint: specifies the endpoint in mic node. This node is required
42 for Exynos5433 mipi dsi. So mic can access to panel node
Eric Engestrombfcfb842016-04-25 01:24:07 +010043 throughout this dsi node.
Hyungwon Hwangf5f3b9b2015-06-12 21:59:08 +090044 endpoint node connected to panel node (reg = 1):
45 - remote-endpoint: specifies the endpoint in panel node. This node is
46 required in all kinds of exynos mipi dsi to represent
47 the connection between mipi dsi and panel.
Andrzej Hajda670935b2014-03-28 12:52:39 +010048 - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst
49 mode
50 - samsung,esc-clock-frequency: specifies DSI frequency in escape mode
51
Rob Herringefdbd732015-09-21 10:51:09 -050052[1]: Documentation/devicetree/bindings/display/mipi-dsi-bus.txt
Andrzej Hajda670935b2014-03-28 12:52:39 +010053[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
54
55Example:
56
57 dsi@11C80000 {
58 compatible = "samsung,exynos4210-mipi-dsi";
59 reg = <0x11C80000 0x10000>;
60 interrupts = <0 79 0>;
61 clocks = <&clock 286>, <&clock 143>;
Hyungwon Hwang26269af2015-06-12 21:59:03 +090062 clock-names = "bus_clk", "sclk_mipi";
Andrzej Hajda670935b2014-03-28 12:52:39 +010063 phys = <&mipi_phy 1>;
64 phy-names = "dsim";
65 vddcore-supply = <&vusb_reg>;
66 vddio-supply = <&vmipi_reg>;
Marek Szyprowski0da65872015-01-24 13:16:15 +090067 power-domains = <&pd_lcd0>;
Andrzej Hajda670935b2014-03-28 12:52:39 +010068 #address-cells = <1>;
69 #size-cells = <0>;
70 samsung,pll-clock-frequency = <24000000>;
71
72 panel@1 {
73 reg = <0>;
74 ...
75 port {
76 panel_ep: endpoint {
77 remote-endpoint = <&dsi_ep>;
78 };
79 };
80 };
81
82 ports {
83 #address-cells = <1>;
84 #size-cells = <0>;
85
Hyungwon Hwangf5f3b9b2015-06-12 21:59:08 +090086 port@0 {
87 reg = <0>;
88 decon_to_mic: endpoint {
89 remote-endpoint = <&mic_to_decon>;
90 };
91 };
92
Andrzej Hajda670935b2014-03-28 12:52:39 +010093 port@1 {
Hyungwon Hwangf5f3b9b2015-06-12 21:59:08 +090094 reg = <1>;
Andrzej Hajda670935b2014-03-28 12:52:39 +010095 dsi_ep: endpoint {
96 reg = <0>;
97 samsung,burst-clock-frequency = <500000000>;
98 samsung,esc-clock-frequency = <20000000>;
99 remote-endpoint = <&panel_ep>;
100 };
101 };
102 };
103 };