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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/microchip,mcp16502.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-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: MCP16502 - High-Performance PMIC
  8 
  9 maintainers:
 10   - Andrei Simion <andrei.simion@microchip.com>
 11 
 12 description:
 13   The MCP16502 is an optimally integrated PMIC compatible
 14   with Microchip's eMPUs(Embedded Microprocessor Units),
 15   requiring Dynamic Voltage Scaling (DVS) with the use
 16   of High-Performance mode (HPM).
 17 
 18 properties:
 19   compatible:
 20     const: microchip,mcp16502
 21 
 22   lpm-gpios:
 23     maxItems: 1
 24     description: GPIO for LPM pin.
 25       Note that this GPIO must remain high during
 26       suspend-to-ram, keeping the PMIC into HIBERNATE mode.
 27 
 28   reg:
 29     maxItems: 1
 30 
 31   lvin-supply:
 32     description: Input supply phandle for LDO1 and LDO2
 33 
 34   pvin1-supply:
 35     description: Input supply phandle for VDD_IO (BUCK1)
 36 
 37   pvin2-supply:
 38     description: Input supply phandle for VDD_DDR (BUCK2)
 39 
 40   pvin3-supply:
 41     description: Input supply phandle for VDD_CORE (BUCK3)
 42 
 43   pvin4-supply:
 44     description: Input supply phandle for VDD_OTHER (BUCK4)
 45 
 46   regulators:
 47     type: object
 48     additionalProperties: false
 49     description: List of regulators and its properties.
 50 
 51     patternProperties:
 52       "^(VDD_(IO|CORE|DDR|OTHER)|LDO[1-2])$":
 53         type: object
 54         $ref: regulator.yaml#
 55         unevaluatedProperties: false
 56 
 57         properties:
 58           regulator-initial-mode:
 59             enum: [2, 4]
 60             default: 2
 61             description: Initial operating mode
 62 
 63           regulator-allowed-modes:
 64             items:
 65               enum: [2, 4]
 66             description: Supported modes
 67               2 - FPWM higher precision, higher consumption
 68               4 - AutoPFM lower precision, lower consumption
 69 
 70 required:
 71   - compatible
 72   - reg
 73   - regulators
 74 
 75 additionalProperties: false
 76 
 77 examples:
 78   - |
 79     i2c {
 80         #address-cells = <1>;
 81         #size-cells = <0>;
 82 
 83         pmic@5b {
 84             compatible = "microchip,mcp16502";
 85             reg = <0x5b>;
 86             lvin-supply = <&reg_5v>;
 87             pvin1-supply = <&reg_5v>;
 88             pvin2-supply = <&reg_5v>;
 89             pvin3-supply = <&reg_5v>;
 90             pvin4-supply = <&reg_5v>;
 91 
 92             regulators {
 93                 VDD_IO {
 94                     regulator-name = "VDD_IO";
 95                     regulator-min-microvolt = <3300000>;
 96                     regulator-max-microvolt = <3300000>;
 97                     regulator-initial-mode = <2>;
 98                     regulator-allowed-modes = <2>, <4>;
 99                     regulator-always-on;
100 
101                     regulator-state-standby {
102                         regulator-on-in-suspend;
103                         regulator-mode = <4>;
104                     };
105 
106                     regulator-state-mem {
107                         regulator-off-in-suspend;
108                         regulator-mode = <4>;
109                     };
110                 };
111 
112                 VDD_DDR {
113                     regulator-name = "VDD_DDR";
114                     regulator-min-microvolt = <1350000>;
115                     regulator-max-microvolt = <1350000>;
116                     regulator-initial-mode = <2>;
117                     regulator-allowed-modes = <2>, <4>;
118                     regulator-always-on;
119 
120                     regulator-state-standby {
121                         regulator-on-in-suspend;
122                         regulator-mode = <4>;
123                     };
124 
125                     regulator-state-mem {
126                         regulator-on-in-suspend;
127                         regulator-mode = <4>;
128                     };
129                 };
130 
131                 VDD_CORE {
132                     regulator-name = "VDD_CORE";
133                     regulator-min-microvolt = <1150000>;
134                     regulator-max-microvolt = <1150000>;
135                     regulator-initial-mode = <2>;
136                     regulator-allowed-modes = <2>, <4>;
137                     regulator-always-on;
138 
139                     regulator-state-standby {
140                         regulator-on-in-suspend;
141                         regulator-mode = <4>;
142                     };
143 
144                     regulator-state-mem {
145                         regulator-off-in-suspend;
146                         regulator-mode = <4>;
147                     };
148                 };
149 
150                 VDD_OTHER {
151                     regulator-name = "VDD_OTHER";
152                     regulator-min-microvolt = <1050000>;
153                     regulator-max-microvolt = <1250000>;
154                     regulator-initial-mode = <2>;
155                     regulator-allowed-modes = <2>, <4>;
156                     regulator-always-on;
157 
158                     regulator-state-standby {
159                         regulator-on-in-suspend;
160                         regulator-mode = <4>;
161                     };
162 
163                     regulator-state-mem {
164                         regulator-off-in-suspend;
165                         regulator-mode = <4>;
166                     };
167                 };
168 
169                 LDO1 {
170                     regulator-name = "LDO1";
171                     regulator-min-microvolt = <1800000>;
172                     regulator-max-microvolt = <1800000>;
173                     regulator-always-on;
174 
175                     regulator-state-standby {
176                         regulator-on-in-suspend;
177                     };
178 
179                     regulator-state-mem {
180                         regulator-off-in-suspend;
181                     };
182                 };
183 
184                 LDO2 {
185                     regulator-name = "LDO2";
186                     regulator-min-microvolt = <1200000>;
187                     regulator-max-microvolt = <3700000>;
188                     regulator-always-on;
189 
190                     regulator-state-standby {
191                         regulator-on-in-suspend;
192                     };
193 
194                     regulator-state-mem {
195                         regulator-off-in-suspend;
196                     };
197                 };
198             };
199         };
200     };

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