1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/regulator/maxim,max8952.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX8952 voltage regulator
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: regulator.yaml#
20 $ref: /schemas/types.yaml#/definitions/uint32
23 index of default DVS voltage
25 max8952,dvs-mode-microvolt:
32 Array of 4 integer values defining DVS voltages in microvolts. All values
33 must be from range <770000, 1400000>.
38 GPIO used to control enable status of regulator
41 $ref: /schemas/types.yaml#/definitions/uint32
42 enum: [0, 1, 2, 3, 4, 5, 6, 7]
45 Voltage ramp speed, values map to:
54 Defaults to 32mV/us if not specified.
57 $ref: /schemas/types.yaml#/definitions/uint32
61 Sync frequency, values map to:
65 Defaults to 26 MHz if not specified.
71 Array of two GPIO pins used for DVS voltage selection
78 - max8952,dvs-mode-microvolt
81 unevaluatedProperties: false
85 #include <dt-bindings/gpio/gpio.h>
92 compatible = "maxim,max8952";
95 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
96 <&gpx0 4 GPIO_ACTIVE_HIGH>;
97 max8952,default-mode = <0>;
98 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
100 max8952,sync-freq = <0>;
101 max8952,ramp-speed = <0>;
103 regulator-name = "VARM_1.2V_C210";
104 regulator-min-microvolt = <770000>;
105 regulator-max-microvolt = <1400000>;