xref: /linux/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml (revision 66af368359816d62cf91ed1b02fe99f9a4015f3a)
178f022d0SIskren Chernev# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
278f022d0SIskren Chernev%YAML 1.2
378f022d0SIskren Chernev---
478f022d0SIskren Chernev$id: http://devicetree.org/schemas/regulator/maxim,max77826.yaml#
578f022d0SIskren Chernev$schema: http://devicetree.org/meta-schemas/core.yaml#
678f022d0SIskren Chernev
778f022d0SIskren Chernevtitle: Maxim Integrated MAX77826 PMIC
878f022d0SIskren Chernev
978f022d0SIskren Chernevmaintainers:
1078f022d0SIskren Chernev  - Iskren Chernev <iskren.chernev@gmail.com>
1178f022d0SIskren Chernev
1278f022d0SIskren Chernevproperties:
1378f022d0SIskren Chernev  $nodename:
1478f022d0SIskren Chernev    pattern: "pmic@[0-9a-f]{1,2}"
1578f022d0SIskren Chernev  compatible:
1678f022d0SIskren Chernev    enum:
1778f022d0SIskren Chernev      - maxim,max77826
1878f022d0SIskren Chernev
1978f022d0SIskren Chernev  reg:
2078f022d0SIskren Chernev    maxItems: 1
2178f022d0SIskren Chernev
2278f022d0SIskren Chernev  regulators:
2378f022d0SIskren Chernev    type: object
24086e9074SRob Herring    $ref: regulator.yaml#
2578f022d0SIskren Chernev    description: |
2678f022d0SIskren Chernev      list of regulators provided by this controller, must be named
2778f022d0SIskren Chernev      after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
2878f022d0SIskren Chernev
2978f022d0SIskren Chernev    patternProperties:
3078f022d0SIskren Chernev      "^LDO([1-9]|1[0-5])$":
3178f022d0SIskren Chernev        type: object
32086e9074SRob Herring        $ref: regulator.yaml#
33*66af3683SRob Herring        unevaluatedProperties: false
3478f022d0SIskren Chernev
3578f022d0SIskren Chernev      "^BUCK|BUCKBOOST$":
3678f022d0SIskren Chernev        type: object
37086e9074SRob Herring        $ref: regulator.yaml#
38*66af3683SRob Herring        unevaluatedProperties: false
3978f022d0SIskren Chernev
4078f022d0SIskren Chernev    additionalProperties: false
4178f022d0SIskren Chernev
4278f022d0SIskren Chernevrequired:
4378f022d0SIskren Chernev  - compatible
4478f022d0SIskren Chernev  - reg
4578f022d0SIskren Chernev  - regulators
4678f022d0SIskren Chernev
4778f022d0SIskren ChernevadditionalProperties: false
4878f022d0SIskren Chernev
4978f022d0SIskren Chernevexamples:
5078f022d0SIskren Chernev  - |
5178f022d0SIskren Chernev    i2c {
5278f022d0SIskren Chernev        #address-cells = <1>;
5378f022d0SIskren Chernev        #size-cells = <0>;
5478f022d0SIskren Chernev
5578f022d0SIskren Chernev        pmic@69 {
5678f022d0SIskren Chernev            compatible = "maxim,max77826";
5778f022d0SIskren Chernev            reg = <0x69>;
5878f022d0SIskren Chernev
5978f022d0SIskren Chernev            regulators {
6078f022d0SIskren Chernev                LDO2 {
6178f022d0SIskren Chernev                    regulator-min-microvolt = <650000>;
6278f022d0SIskren Chernev                    regulator-max-microvolt = <3587500>;
6378f022d0SIskren Chernev                };
6478f022d0SIskren Chernev            };
6578f022d0SIskren Chernev       };
6678f022d0SIskren Chernev     };
6778f022d0SIskren Chernev...
68