xref: /linux/Documentation/devicetree/bindings/regulator/active-semi,act8846.yaml (revision 5f60d5f6bbc12e782fac78110b0ee62698f3b576)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Active-semi ACT8846 regulator
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11
12properties:
13  compatible:
14    const: active-semi,act8846
15
16  reg:
17    maxItems: 1
18
19  system-power-controller:
20    description:
21      Indicates that the ACT8846 is responsible for powering OFF
22      the system.
23    type: boolean
24
25  active-semi,vsel-high:
26    description:
27      Indicates the VSEL pin is high. If this property is missing,
28      the VSEL pin is assumed to be low.
29    type: boolean
30
31  inl1-supply:
32    description: Handle to the INL1 input supply (REG5-7)
33
34  inl2-supply:
35    description: Handle to the INL2 input supply (REG8-9)
36
37  inl3-supply:
38    description: Handle to the INL3 input supply (REG10-12)
39
40  vp1-supply:
41    description: Handle to the VP1 input supply (REG1)
42
43  vp2-supply:
44    description: Handle to the VP2 input supply (REG2)
45
46  vp3-supply:
47    description: Handle to the VP3 input supply (REG3)
48
49  vp4-supply:
50    description: Handle to the VP4 input supply (REG4)
51
52  regulators:
53    type: object
54    additionalProperties: false
55
56    patternProperties:
57      "^REG([1-9]|1[0-2])$":
58        type: object
59        $ref: /schemas/regulator/regulator.yaml#
60        unevaluatedProperties: false
61
62additionalProperties: false
63
64required:
65  - reg
66  - compatible
67  - regulators
68
69examples:
70  - |
71    i2c {
72      #address-cells = <1>;
73      #size-cells = <0>;
74
75      pmic@5a {
76        compatible = "active-semi,act8846";
77        reg = <0x5a>;
78
79        system-power-controller;
80
81        regulators {
82          REG1 {
83            regulator-name = "VCC_DDR";
84            regulator-min-microvolt = <1200000>;
85            regulator-max-microvolt = <1200000>;
86            regulator-always-on;
87          };
88
89          REG2 {
90            regulator-name = "VCC_IO";
91            regulator-min-microvolt = <3300000>;
92            regulator-max-microvolt = <3300000>;
93            regulator-always-on;
94          };
95
96          REG3 {
97            regulator-name = "VDD_LOG";
98            regulator-min-microvolt = <1000000>;
99            regulator-max-microvolt = <1000000>;
100            regulator-always-on;
101          };
102
103          REG4 {
104            regulator-name = "VCC_20";
105            regulator-min-microvolt = <2000000>;
106            regulator-max-microvolt = <2000000>;
107            regulator-always-on;
108          };
109
110          REG5 {
111            regulator-name = "VCCIO_SD";
112            regulator-min-microvolt = <3300000>;
113            regulator-max-microvolt = <3300000>;
114            regulator-always-on;
115          };
116
117          REG6 {
118            regulator-name = "VDD10_LCD";
119            regulator-min-microvolt = <1000000>;
120            regulator-max-microvolt = <1000000>;
121            regulator-always-on;
122          };
123
124          REG7 {
125            regulator-name = "VCC_WL";
126            regulator-min-microvolt = <3300000>;
127            regulator-max-microvolt = <3300000>;
128            regulator-always-on;
129          };
130
131          REG8 {
132            regulator-name = "VCCA_33";
133            regulator-min-microvolt = <3300000>;
134            regulator-max-microvolt = <3300000>;
135            regulator-always-on;
136          };
137
138          REG9 {
139            regulator-name = "VCC_LAN";
140            regulator-min-microvolt = <3300000>;
141            regulator-max-microvolt = <3300000>;
142            regulator-always-on;
143          };
144
145          REG10 {
146            regulator-name = "VDD_10";
147            regulator-min-microvolt = <1000000>;
148            regulator-max-microvolt = <1000000>;
149            regulator-always-on;
150          };
151
152          REG11 {
153            regulator-name = "VCC_18";
154            regulator-min-microvolt = <1800000>;
155            regulator-max-microvolt = <1800000>;
156            regulator-always-on;
157          };
158
159          REG12 {
160            regulator-name = "VCC18_LCD";
161            regulator-min-microvolt = <1800000>;
162            regulator-max-microvolt = <1800000>;
163            regulator-always-on;
164          };
165        };
166      };
167    };
168