18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/regulator/max8660.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Maxim MAX8660 voltage regulator
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Daniel Mack <zonque@gmail.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciproperties:
138c2ecf20Sopenharmony_ci  $nodename:
148c2ecf20Sopenharmony_ci    pattern: "pmic@[0-9a-f]{1,2}"
158c2ecf20Sopenharmony_ci  compatible:
168c2ecf20Sopenharmony_ci    enum:
178c2ecf20Sopenharmony_ci      - maxim,max8660
188c2ecf20Sopenharmony_ci      - maxim,max8661
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci  reg:
218c2ecf20Sopenharmony_ci    maxItems: 1
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci  regulators:
248c2ecf20Sopenharmony_ci    type: object
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci    patternProperties:
278c2ecf20Sopenharmony_ci      "regulator-.+":
288c2ecf20Sopenharmony_ci        $ref: "regulator.yaml#"
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci    additionalProperties: false
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciadditionalProperties: false
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciexamples:
358c2ecf20Sopenharmony_ci  - |
368c2ecf20Sopenharmony_ci    i2c {
378c2ecf20Sopenharmony_ci      #address-cells = <1>;
388c2ecf20Sopenharmony_ci      #size-cells = <0>;
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci      pmic@34 {
418c2ecf20Sopenharmony_ci        compatible = "maxim,max8660";
428c2ecf20Sopenharmony_ci        reg = <0x34>;
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci        regulators {
458c2ecf20Sopenharmony_ci          regulator-V3 {
468c2ecf20Sopenharmony_ci            regulator-compatible= "V3(DCDC)";
478c2ecf20Sopenharmony_ci            regulator-min-microvolt = <725000>;
488c2ecf20Sopenharmony_ci            regulator-max-microvolt = <1800000>;
498c2ecf20Sopenharmony_ci          };
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci          regulator-V4 {
528c2ecf20Sopenharmony_ci            regulator-compatible= "V4(DCDC)";
538c2ecf20Sopenharmony_ci            regulator-min-microvolt = <725000>;
548c2ecf20Sopenharmony_ci            regulator-max-microvolt = <1800000>;
558c2ecf20Sopenharmony_ci          };
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci          regulator-V5 {
588c2ecf20Sopenharmony_ci            regulator-compatible= "V5(LDO)";
598c2ecf20Sopenharmony_ci            regulator-min-microvolt = <1700000>;
608c2ecf20Sopenharmony_ci            regulator-max-microvolt = <2000000>;
618c2ecf20Sopenharmony_ci          };
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci          regulator-V6 {
648c2ecf20Sopenharmony_ci            regulator-compatible= "V6(LDO)";
658c2ecf20Sopenharmony_ci            regulator-min-microvolt = <1800000>;
668c2ecf20Sopenharmony_ci            regulator-max-microvolt = <3300000>;
678c2ecf20Sopenharmony_ci          };
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci          regulator-V7 {
708c2ecf20Sopenharmony_ci            regulator-compatible= "V7(LDO)";
718c2ecf20Sopenharmony_ci            regulator-min-microvolt = <1800000>;
728c2ecf20Sopenharmony_ci            regulator-max-microvolt = <3300000>;
738c2ecf20Sopenharmony_ci          };
748c2ecf20Sopenharmony_ci        };
758c2ecf20Sopenharmony_ci      };
768c2ecf20Sopenharmony_ci    };
778c2ecf20Sopenharmony_ci...
78