~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml (Architecture i386) and /Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/display/bri      4 $id: http://devicetree.org/schemas/display/bridge/samsung,mipi-dsim.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Samsung MIPI DSIM bridge controller          7 title: Samsung MIPI DSIM bridge controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Inki Dae <inki.dae@samsung.com>                 10   - Inki Dae <inki.dae@samsung.com>
 11   - Jagan Teki <jagan@amarulasolutions.com>         11   - Jagan Teki <jagan@amarulasolutions.com>
 12   - Marek Szyprowski <m.szyprowski@samsung.com>     12   - Marek Szyprowski <m.szyprowski@samsung.com>
 13                                                    13 
 14 description: |                                     14 description: |
 15   Samsung MIPI DSIM bridge controller can be f     15   Samsung MIPI DSIM bridge controller can be found it on Exynos
 16   and i.MX8M Mini/Nano/Plus SoC's.                 16   and i.MX8M Mini/Nano/Plus SoC's.
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     oneOf:                                         20     oneOf:
 21       - enum:                                      21       - enum:
 22           - samsung,exynos3250-mipi-dsi            22           - samsung,exynos3250-mipi-dsi
 23           - samsung,exynos4210-mipi-dsi            23           - samsung,exynos4210-mipi-dsi
 24           - samsung,exynos5410-mipi-dsi            24           - samsung,exynos5410-mipi-dsi
 25           - samsung,exynos5422-mipi-dsi            25           - samsung,exynos5422-mipi-dsi
 26           - samsung,exynos5433-mipi-dsi            26           - samsung,exynos5433-mipi-dsi
 27           - fsl,imx8mm-mipi-dsim                   27           - fsl,imx8mm-mipi-dsim
 28           - fsl,imx8mp-mipi-dsim                   28           - fsl,imx8mp-mipi-dsim
 29       - items:                                     29       - items:
 30           - const: fsl,imx8mn-mipi-dsim            30           - const: fsl,imx8mn-mipi-dsim
 31           - const: fsl,imx8mm-mipi-dsim            31           - const: fsl,imx8mm-mipi-dsim
 32                                                    32 
 33   reg:                                             33   reg:
 34     maxItems: 1                                    34     maxItems: 1
 35                                                    35 
 36   interrupts:                                      36   interrupts:
 37     maxItems: 1                                    37     maxItems: 1
 38                                                    38 
 39   '#address-cells':                                39   '#address-cells':
 40     const: 1                                       40     const: 1
 41                                                    41 
 42   '#size-cells':                                   42   '#size-cells':
 43     const: 0                                       43     const: 0
 44                                                    44 
 45   clocks:                                          45   clocks:
 46     minItems: 2                                    46     minItems: 2
 47     maxItems: 5                                    47     maxItems: 5
 48                                                    48 
 49   clock-names:                                     49   clock-names:
 50     minItems: 2                                    50     minItems: 2
 51     maxItems: 5                                    51     maxItems: 5
 52                                                    52 
 53   samsung,phy-type:                                53   samsung,phy-type:
 54     $ref: /schemas/types.yaml#/definitions/uin     54     $ref: /schemas/types.yaml#/definitions/uint32
 55     description: phandle to the samsung phy-ty     55     description: phandle to the samsung phy-type
 56                                                    56 
 57   power-domains:                                   57   power-domains:
 58     maxItems: 1                                    58     maxItems: 1
 59                                                    59 
 60   samsung,power-domain:                            60   samsung,power-domain:
 61     $ref: /schemas/types.yaml#/definitions/pha     61     $ref: /schemas/types.yaml#/definitions/phandle
 62     description: phandle to the associated sam     62     description: phandle to the associated samsung power domain
 63                                                    63 
 64   vddcore-supply:                                  64   vddcore-supply:
 65     description: MIPI DSIM Core voltage supply     65     description: MIPI DSIM Core voltage supply (e.g. 1.1V)
 66                                                    66 
 67   vddio-supply:                                    67   vddio-supply:
 68     description: MIPI DSIM I/O and PLL voltage     68     description: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
 69                                                    69 
 70   samsung,burst-clock-frequency:                   70   samsung,burst-clock-frequency:
 71     $ref: /schemas/types.yaml#/definitions/uin     71     $ref: /schemas/types.yaml#/definitions/uint32
 72     description:                                   72     description:
 73       DSIM high speed burst mode frequency.  I     73       DSIM high speed burst mode frequency.  If absent,
 74       the pixel clock from the attached device     74       the pixel clock from the attached device or bridge
 75       will be used instead.                        75       will be used instead.
 76                                                    76 
 77   samsung,esc-clock-frequency:                     77   samsung,esc-clock-frequency:
 78     $ref: /schemas/types.yaml#/definitions/uin     78     $ref: /schemas/types.yaml#/definitions/uint32
 79     description:                                   79     description:
 80       DSIM escape mode frequency.                  80       DSIM escape mode frequency.
 81                                                    81 
 82   samsung,pll-clock-frequency:                     82   samsung,pll-clock-frequency:
 83     $ref: /schemas/types.yaml#/definitions/uin     83     $ref: /schemas/types.yaml#/definitions/uint32
 84     description:                                   84     description:
 85       DSIM oscillator clock frequency. If abse     85       DSIM oscillator clock frequency. If absent, the clock frequency
 86       of sclk_mipi will be used instead.           86       of sclk_mipi will be used instead.
 87                                                    87 
 88   phys:                                            88   phys:
 89     maxItems: 1                                    89     maxItems: 1
 90                                                    90 
 91   phy-names:                                       91   phy-names:
 92     const: dsim                                    92     const: dsim
 93                                                    93 
 94   ports:                                           94   ports:
 95     $ref: /schemas/graph.yaml#/properties/port     95     $ref: /schemas/graph.yaml#/properties/ports
 96                                                    96 
 97     properties:                                    97     properties:
 98       port@0:                                      98       port@0:
 99         $ref: /schemas/graph.yaml#/properties/     99         $ref: /schemas/graph.yaml#/properties/port
100         description:                              100         description:
101           Input port node to receive pixel dat    101           Input port node to receive pixel data from the
102           display controller. Exactly one endp    102           display controller. Exactly one endpoint must be
103           specified.                              103           specified.
104                                                   104 
105       port@1:                                     105       port@1:
106         $ref: /schemas/graph.yaml#/$defs/port-    106         $ref: /schemas/graph.yaml#/$defs/port-base
107         unevaluatedProperties: false              107         unevaluatedProperties: false
108         description:                              108         description:
109           DSI output port node to the panel or    109           DSI output port node to the panel or the next bridge
110           in the chain.                           110           in the chain.
111                                                   111 
112         properties:                               112         properties:
113           endpoint:                               113           endpoint:
114             $ref: /schemas/media/video-interfa    114             $ref: /schemas/media/video-interfaces.yaml#
115             unevaluatedProperties: false          115             unevaluatedProperties: false
116                                                   116 
117             properties:                           117             properties:
118               data-lanes:                         118               data-lanes:
119                 minItems: 1                       119                 minItems: 1
120                 maxItems: 4                       120                 maxItems: 4
121                 uniqueItems: true                 121                 uniqueItems: true
122                 items:                            122                 items:
123                   enum: [ 1, 2, 3, 4 ]            123                   enum: [ 1, 2, 3, 4 ]
124                                                   124 
125               lane-polarities:                    125               lane-polarities:
126                 minItems: 1                       126                 minItems: 1
127                 maxItems: 5                       127                 maxItems: 5
128                 description:                      128                 description:
129                   The Samsung MIPI DSI IP requ    129                   The Samsung MIPI DSI IP requires that all the data lanes have
130                   the same polarity.              130                   the same polarity.
131                                                   131 
132             dependencies:                         132             dependencies:
133               lane-polarities: [data-lanes]       133               lane-polarities: [data-lanes]
134                                                   134 
135 required:                                         135 required:
136   - clock-names                                   136   - clock-names
137   - clocks                                        137   - clocks
138   - compatible                                    138   - compatible
139   - interrupts                                    139   - interrupts
140   - reg                                           140   - reg
141   - samsung,esc-clock-frequency                   141   - samsung,esc-clock-frequency
142                                                   142 
143 allOf:                                            143 allOf:
144   - $ref: ../dsi-controller.yaml#                 144   - $ref: ../dsi-controller.yaml#
145   - if:                                           145   - if:
146       properties:                                 146       properties:
147         compatible:                               147         compatible:
148           contains:                               148           contains:
149             const: samsung,exynos5433-mipi-dsi    149             const: samsung,exynos5433-mipi-dsi
150                                                   150 
151     then:                                         151     then:
152       properties:                                 152       properties:
153         clocks:                                   153         clocks:
154           minItems: 5                             154           minItems: 5
155                                                   155 
156         clock-names:                              156         clock-names:
157           items:                                  157           items:
158             - const: bus_clk                      158             - const: bus_clk
159             - const: phyclk_mipidphy0_bitclkdi    159             - const: phyclk_mipidphy0_bitclkdiv8
160             - const: phyclk_mipidphy0_rxclkesc    160             - const: phyclk_mipidphy0_rxclkesc0
161             - const: sclk_rgb_vclk_to_dsim0       161             - const: sclk_rgb_vclk_to_dsim0
162             - const: sclk_mipi                    162             - const: sclk_mipi
163                                                   163 
164         ports:                                    164         ports:
165           required:                               165           required:
166             - port@0                              166             - port@0
167                                                   167 
168       required:                                   168       required:
169         - ports                                   169         - ports
170         - vddcore-supply                          170         - vddcore-supply
171         - vddio-supply                            171         - vddio-supply
172                                                   172 
173   - if:                                           173   - if:
174       properties:                                 174       properties:
175         compatible:                               175         compatible:
176           contains:                               176           contains:
177             const: samsung,exynos5410-mipi-dsi    177             const: samsung,exynos5410-mipi-dsi
178                                                   178 
179     then:                                         179     then:
180       properties:                                 180       properties:
181         clocks:                                   181         clocks:
182           minItems: 2                             182           minItems: 2
183                                                   183 
184         clock-names:                              184         clock-names:
185           items:                                  185           items:
186             - const: bus_clk                      186             - const: bus_clk
187             - const: pll_clk                      187             - const: pll_clk
188                                                   188 
189       required:                                   189       required:
190         - vddcore-supply                          190         - vddcore-supply
191         - vddio-supply                            191         - vddio-supply
192                                                   192 
193   - if:                                           193   - if:
194       properties:                                 194       properties:
195         compatible:                               195         compatible:
196           contains:                               196           contains:
197             const: samsung,exynos4210-mipi-dsi    197             const: samsung,exynos4210-mipi-dsi
198                                                   198 
199     then:                                         199     then:
200       properties:                                 200       properties:
201         clocks:                                   201         clocks:
202           minItems: 2                             202           minItems: 2
203                                                   203 
204         clock-names:                              204         clock-names:
205           items:                                  205           items:
206             - const: bus_clk                      206             - const: bus_clk
207             - const: sclk_mipi                    207             - const: sclk_mipi
208                                                   208 
209       required:                                   209       required:
210         - vddcore-supply                          210         - vddcore-supply
211         - vddio-supply                            211         - vddio-supply
212                                                   212 
213   - if:                                           213   - if:
214       properties:                                 214       properties:
215         compatible:                               215         compatible:
216           contains:                               216           contains:
217             const: samsung,exynos3250-mipi-dsi    217             const: samsung,exynos3250-mipi-dsi
218                                                   218 
219     then:                                         219     then:
220       properties:                                 220       properties:
221         clocks:                                   221         clocks:
222           minItems: 2                             222           minItems: 2
223                                                   223 
224         clock-names:                              224         clock-names:
225           items:                                  225           items:
226             - const: bus_clk                      226             - const: bus_clk
227             - const: pll_clk                      227             - const: pll_clk
228                                                   228 
229       required:                                   229       required:
230         - vddcore-supply                          230         - vddcore-supply
231         - vddio-supply                            231         - vddio-supply
232         - samsung,phy-type                        232         - samsung,phy-type
233                                                   233 
234 additionalProperties:                             234 additionalProperties:
235   type: object                                    235   type: object
236                                                   236 
237 examples:                                         237 examples:
238   - |                                             238   - |
239     #include <dt-bindings/clock/exynos5433.h>     239     #include <dt-bindings/clock/exynos5433.h>
240     #include <dt-bindings/gpio/gpio.h>            240     #include <dt-bindings/gpio/gpio.h>
241     #include <dt-bindings/interrupt-controller    241     #include <dt-bindings/interrupt-controller/arm-gic.h>
242                                                   242 
243     dsi@13900000 {                                243     dsi@13900000 {
244        compatible = "samsung,exynos5433-mipi-d    244        compatible = "samsung,exynos5433-mipi-dsi";
245        reg = <0x13900000 0xC0>;                   245        reg = <0x13900000 0xC0>;
246        interrupts = <GIC_SPI 205 IRQ_TYPE_LEVE    246        interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
247        phys = <&mipi_phy 1>;                      247        phys = <&mipi_phy 1>;
248        phy-names = "dsim";                        248        phy-names = "dsim";
249        clocks = <&cmu_disp CLK_PCLK_DSIM0>,       249        clocks = <&cmu_disp CLK_PCLK_DSIM0>,
250                 <&cmu_disp CLK_PHYCLK_MIPIDPHY    250                 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8>,
251                 <&cmu_disp CLK_PHYCLK_MIPIDPHY    251                 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0>,
252                 <&cmu_disp CLK_SCLK_RGB_VCLK_T    252                 <&cmu_disp CLK_SCLK_RGB_VCLK_TO_DSIM0>,
253                 <&cmu_disp CLK_SCLK_DSIM0>;       253                 <&cmu_disp CLK_SCLK_DSIM0>;
254        clock-names = "bus_clk",                   254        clock-names = "bus_clk",
255                      "phyclk_mipidphy0_bitclkd    255                      "phyclk_mipidphy0_bitclkdiv8",
256                      "phyclk_mipidphy0_rxclkes    256                      "phyclk_mipidphy0_rxclkesc0",
257                      "sclk_rgb_vclk_to_dsim0",    257                      "sclk_rgb_vclk_to_dsim0",
258                      "sclk_mipi";                 258                      "sclk_mipi";
259        power-domains = <&pd_disp>;                259        power-domains = <&pd_disp>;
260        vddcore-supply = <&ldo6_reg>;              260        vddcore-supply = <&ldo6_reg>;
261        vddio-supply = <&ldo7_reg>;                261        vddio-supply = <&ldo7_reg>;
262        samsung,burst-clock-frequency = <512000    262        samsung,burst-clock-frequency = <512000000>;
263        samsung,esc-clock-frequency = <16000000    263        samsung,esc-clock-frequency = <16000000>;
264        samsung,pll-clock-frequency = <24000000    264        samsung,pll-clock-frequency = <24000000>;
265        pinctrl-names = "default";                 265        pinctrl-names = "default";
266        pinctrl-0 = <&te_irq>;                     266        pinctrl-0 = <&te_irq>;
267                                                   267 
268        ports {                                    268        ports {
269           #address-cells = <1>;                   269           #address-cells = <1>;
270           #size-cells = <0>;                      270           #size-cells = <0>;
271                                                   271 
272           port@0 {                                272           port@0 {
273              reg = <0>;                           273              reg = <0>;
274                                                   274 
275              dsi_to_mic: endpoint {               275              dsi_to_mic: endpoint {
276                 remote-endpoint = <&mic_to_dsi    276                 remote-endpoint = <&mic_to_dsi>;
277              };                                   277              };
278           };                                      278           };
279        };                                         279        };
280     };                                            280     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php