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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.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
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/soc/samsung/exynos-pmu.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Samsung Exynos SoC series Power Management Unit (PMU)
  8 
  9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>
 11 
 12 # Custom select to avoid matching all nodes with 'syscon'
 13 select:
 14   properties:
 15     compatible:
 16       contains:
 17         enum:
 18           - google,gs101-pmu
 19           - samsung,exynos3250-pmu
 20           - samsung,exynos4210-pmu
 21           - samsung,exynos4212-pmu
 22           - samsung,exynos4412-pmu
 23           - samsung,exynos5250-pmu
 24           - samsung,exynos5260-pmu
 25           - samsung,exynos5410-pmu
 26           - samsung,exynos5420-pmu
 27           - samsung,exynos5433-pmu
 28           - samsung,exynos7-pmu
 29           - samsung,exynos850-pmu
 30           - samsung-s5pv210-pmu
 31   required:
 32     - compatible
 33 
 34 properties:
 35   compatible:
 36     oneOf:
 37       - items:
 38           - enum:
 39               - google,gs101-pmu
 40               - samsung,exynos3250-pmu
 41               - samsung,exynos4210-pmu
 42               - samsung,exynos4212-pmu
 43               - samsung,exynos4412-pmu
 44               - samsung,exynos5250-pmu
 45               - samsung,exynos5260-pmu
 46               - samsung,exynos5410-pmu
 47               - samsung,exynos5420-pmu
 48               - samsung,exynos5433-pmu
 49               - samsung,exynos7-pmu
 50               - samsung,exynos850-pmu
 51               - samsung-s5pv210-pmu
 52           - const: syscon
 53       - items:
 54           - enum:
 55               - samsung,exynos7885-pmu
 56               - samsung,exynosautov9-pmu
 57               - samsung,exynosautov920-pmu
 58               - tesla,fsd-pmu
 59           - const: samsung,exynos7-pmu
 60           - const: syscon
 61       - items:
 62           - enum:
 63               - samsung,exynos3250-pmu
 64               - samsung,exynos4210-pmu
 65               - samsung,exynos4212-pmu
 66               - samsung,exynos4412-pmu
 67               - samsung,exynos5250-pmu
 68               - samsung,exynos5420-pmu
 69               - samsung,exynos5433-pmu
 70           - const: simple-mfd
 71           - const: syscon
 72 
 73   reg:
 74     maxItems: 1
 75 
 76   '#clock-cells':
 77     const: 1
 78 
 79   clock-names:
 80     description:
 81       List of clock names for particular CLKOUT mux inputs
 82     minItems: 1
 83     maxItems: 32
 84     items:
 85       pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$'
 86 
 87   clocks:
 88     minItems: 1
 89     maxItems: 32
 90 
 91   dp-phy:
 92     $ref: /schemas/phy/samsung,dp-video-phy.yaml
 93     unevaluatedProperties: false
 94 
 95   interrupt-controller:
 96     description:
 97       Some PMUs are capable of behaving as an interrupt controller (mostly
 98       to wake up a suspended PMU).
 99 
100   '#interrupt-cells':
101     description:
102       Must be identical to the that of the parent interrupt controller.
103     const: 3
104 
105   mipi-phy:
106     $ref: /schemas/phy/samsung,mipi-video-phy.yaml
107     unevaluatedProperties: false
108 
109   reboot-mode:
110     $ref: /schemas/power/reset/syscon-reboot-mode.yaml
111     type: object
112     description:
113       Reboot mode to alter bootloader behavior for the next boot
114 
115   syscon-poweroff:
116     $ref: /schemas/power/reset/syscon-poweroff.yaml#
117     type: object
118     description:
119       Node for power off method
120 
121   syscon-reboot:
122     $ref: /schemas/power/reset/syscon-reboot.yaml#
123     type: object
124     description:
125       Node for reboot method
126 
127 required:
128   - compatible
129   - reg
130 
131 additionalProperties: false
132 
133 allOf:
134   - if:
135       properties:
136         compatible:
137           contains:
138             enum:
139               - samsung,exynos3250-pmu
140               - samsung,exynos4210-pmu
141               - samsung,exynos4212-pmu
142               - samsung,exynos4412-pmu
143               - samsung,exynos5250-pmu
144               - samsung,exynos5410-pmu
145               - samsung,exynos5420-pmu
146               - samsung,exynos5433-pmu
147     then:
148       required:
149         - '#clock-cells'
150         - clock-names
151         - clocks
152 
153   - if:
154       properties:
155         compatible:
156           contains:
157             enum:
158               - samsung,exynos3250-pmu
159               - samsung,exynos4210-pmu
160               - samsung,exynos4212-pmu
161               - samsung,exynos4412-pmu
162               - samsung,exynos5250-pmu
163               - samsung,exynos5420-pmu
164               - samsung,exynos5433-pmu
165     then:
166       properties:
167         mipi-phy: true
168     else:
169       properties:
170         mipi-phy: false
171 
172   - if:
173       properties:
174         compatible:
175           contains:
176             enum:
177               - samsung,exynos5250-pmu
178               - samsung,exynos5420-pmu
179               - samsung,exynos5433-pmu
180     then:
181       properties:
182         dp-phy: true
183     else:
184       properties:
185         dp-phy: false
186 
187 examples:
188   - |
189     #include <dt-bindings/clock/exynos5250.h>
190 
191     pmu_system_controller: system-controller@10040000 {
192         compatible = "samsung,exynos5250-pmu", "syscon";
193         reg = <0x10040000 0x5000>;
194         interrupt-controller;
195         #interrupt-cells = <3>;
196         interrupt-parent = <&gic>;
197         #clock-cells = <1>;
198         clock-names = "clkout16";
199         clocks = <&clock CLK_FIN_PLL>;
200 
201         dp-phy {
202             compatible = "samsung,exynos5250-dp-video-phy";
203             #phy-cells = <0>;
204         };
205 
206         mipi-phy {
207             compatible = "samsung,s5pv210-mipi-video-phy";
208             #phy-cells = <1>;
209         };
210     };

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