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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/ste,mcde.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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/ste,mcde.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: ST-Ericsson Multi Channel Display Engine MCDE
  8 
  9 maintainers:
 10   - Linus Walleij <linus.walleij@linaro.org>
 11 
 12 properties:
 13   compatible:
 14     const: ste,mcde
 15 
 16   reg:
 17     maxItems: 1
 18 
 19   interrupts:
 20     maxItems: 1
 21 
 22   clocks:
 23     description: an array of the MCDE clocks
 24     items:
 25       - description: MCDECLK (main MCDE clock)
 26       - description: LCDCLK (LCD clock)
 27       - description: PLLDSI (HDMI clock)
 28 
 29   clock-names:
 30     items:
 31       - const: mcde
 32       - const: lcd
 33       - const: hdmi
 34 
 35   resets:
 36     maxItems: 1
 37 
 38   epod-supply:
 39     description: a phandle to the EPOD regulator
 40 
 41   vana-supply:
 42     description: a phandle to the analog voltage regulator
 43 
 44   port:
 45     $ref: /schemas/graph.yaml#/properties/port
 46     description:
 47       A DPI port node
 48 
 49   "#address-cells":
 50     const: 1
 51 
 52   "#size-cells":
 53     const: 1
 54 
 55   ranges: true
 56 
 57 patternProperties:
 58   "^dsi@[0-9a-f]+$":
 59     description: subnodes for the three DSI host adapters
 60     type: object
 61     $ref: dsi-controller.yaml#
 62 
 63     properties:
 64       compatible:
 65         const: ste,mcde-dsi
 66 
 67       reg:
 68         maxItems: 1
 69 
 70       vana-supply:
 71         description: a phandle to the analog voltage regulator
 72 
 73       clocks:
 74         description: phandles to the high speed and low power (energy save) clocks
 75           the high speed clock is not present on the third (dsi2) block, so it
 76           should only have the "lp" clock
 77         minItems: 1
 78         maxItems: 2
 79 
 80       clock-names:
 81         oneOf:
 82           - items:
 83               - const: hs
 84               - const: lp
 85           - items:
 86               - const: lp
 87 
 88     required:
 89       - compatible
 90       - reg
 91       - vana-supply
 92       - clocks
 93       - clock-names
 94 
 95     unevaluatedProperties: false
 96 
 97 required:
 98   - compatible
 99   - reg
100   - interrupts
101   - clocks
102   - clock-names
103   - epod-supply
104   - vana-supply
105 
106 additionalProperties: false
107 
108 examples:
109   - |
110     #include <dt-bindings/interrupt-controller/irq.h>
111     #include <dt-bindings/interrupt-controller/arm-gic.h>
112     #include <dt-bindings/mfd/dbx500-prcmu.h>
113     #include <dt-bindings/gpio/gpio.h>
114 
115     mcde@a0350000 {
116       compatible = "ste,mcde";
117       reg = <0xa0350000 0x1000>;
118       interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
119       epod-supply = <&db8500_b2r2_mcde_reg>;
120       vana-supply = <&ab8500_ldo_ana_reg>;
121       clocks = <&prcmu_clk PRCMU_MCDECLK>,
122                <&prcmu_clk PRCMU_LCDCLK>,
123                <&prcmu_clk PRCMU_PLLDSI>;
124       clock-names = "mcde", "lcd", "hdmi";
125       #address-cells = <1>;
126       #size-cells = <1>;
127       ranges;
128 
129       dsi0: dsi@a0351000 {
130         compatible = "ste,mcde-dsi";
131         reg = <0xa0351000 0x1000>;
132         vana-supply = <&ab8500_ldo_ana_reg>;
133         clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>;
134         clock-names = "hs", "lp";
135         #address-cells = <1>;
136         #size-cells = <0>;
137 
138         panel@0 {
139           compatible = "samsung,s6d16d0";
140           reg = <0>;
141           vdd1-supply = <&ab8500_ldo_aux1_reg>;
142           reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
143         };
144       };
145 
146       dsi1: dsi@a0352000 {
147         compatible = "ste,mcde-dsi";
148         reg = <0xa0352000 0x1000>;
149         vana-supply = <&ab8500_ldo_ana_reg>;
150         clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>;
151         clock-names = "hs", "lp";
152         #address-cells = <1>;
153         #size-cells = <0>;
154       };
155 
156       dsi2: dsi@a0353000 {
157         compatible = "ste,mcde-dsi";
158         reg = <0xa0353000 0x1000>;
159         vana-supply = <&ab8500_ldo_ana_reg>;
160         /* This DSI port only has the Low Power / Energy Save clock */
161         clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>;
162         clock-names = "lp";
163         #address-cells = <1>;
164         #size-cells = <0>;
165       };
166     };
167 
168 ...

~ [ 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