WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / google,cros-ec-regulator.yaml
blob69e5402da7612e6c7e0184ce7455dbf061ca4abb
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/google,cros-ec-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChromeOS EC controlled voltage regulators
9 maintainers:
10   - Pi-Hsun Shih <pihsun@chromium.org>
12 description:
13   Any property defined as part of the core regulator binding, defined in
14   regulator.yaml, can also be used.
16 allOf:
17   - $ref: "regulator.yaml#"
19 properties:
20   compatible:
21     const: google,cros-ec-regulator
23   reg:
24     maxItems: 1
25     description: Identifier for the voltage regulator to ChromeOS EC.
27 required:
28   - compatible
29   - reg
31 unevaluatedProperties: false
33 examples:
34   - |
35     spi0 {
36         #address-cells = <1>;
37         #size-cells = <0>;
39         cros_ec: ec@0 {
40             compatible = "google,cros-ec-spi";
41             reg = <0>;
42             #address-cells = <1>;
43             #size-cells = <0>;
45             regulator@0 {
46                 compatible = "google,cros-ec-regulator";
47                 regulator-min-microvolt = <1800000>;
48                 regulator-max-microvolt = <3300000>;
49                 reg = <0>;
50             };
51         };
52     };
53 ...