xref: /openbmc/linux/Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.txt (revision 552c69b36ebd966186573b9c7a286b390935cce1)
1*5149b685SErick ChenSpreadtrum SC2731 Voltage regulators
2*5149b685SErick Chen
3*5149b685SErick ChenThe SC2731 integrates low-voltage and low quiescent current DCDC/LDO.
4*5149b685SErick Chen14 LDO and 3 DCDCs are designed for external use. All DCDCs/LDOs have
5*5149b685SErick Chentheir own bypass (power-down) control signals. External tantalum or MLCC
6*5149b685SErick Chenceramic capacitors are recommended to use with these LDOs.
7*5149b685SErick Chen
8*5149b685SErick ChenRequired properties:
9*5149b685SErick Chen - compatible: should be "sprd,sc27xx-regulator".
10*5149b685SErick Chen
11*5149b685SErick ChenList of regulators provided by this controller. It is named according to
12*5149b685SErick Chenits regulator type, BUCK_<name> and LDO_<name>. The definition for each
13*5149b685SErick Chenof these nodes is defined using the standard binding for regulators at
14*5149b685SErick ChenDocumentation/devicetree/bindings/regulator/regulator.txt.
15*5149b685SErick Chen
16*5149b685SErick ChenThe valid names for regulators are:
17*5149b685SErick ChenBUCK:
18*5149b685SErick Chen	BUCK_CPU0, BUCK_CPU1, BUCK_RF
19*5149b685SErick ChenLDO:
20*5149b685SErick Chen	LDO_CAMA0, LDO_CAMA1, LDO_CAMMOT, LDO_VLDO, LDO_EMMCCORE, LDO_SDCORE,
21*5149b685SErick Chen	LDO_SDIO, LDO_WIFIPA, LDO_USB33, LDO_CAMD0, LDO_CAMD1, LDO_CON,
22*5149b685SErick Chen	LDO_CAMIO, LDO_SRAM
23*5149b685SErick Chen
24*5149b685SErick ChenExample:
25*5149b685SErick Chen	regulators {
26*5149b685SErick Chen		compatible = "sprd,sc27xx-regulator";
27*5149b685SErick Chen
28*5149b685SErick Chen		vddarm0: BUCK_CPU0 {
29*5149b685SErick Chen			regulator-name = "vddarm0";
30*5149b685SErick Chen			regulator-min-microvolt = <400000>;
31*5149b685SErick Chen			regulator-max-microvolt = <1996875>;
32*5149b685SErick Chen			regulator-ramp-delay = <25000>;
33*5149b685SErick Chen			regulator-always-on;
34*5149b685SErick Chen		};
35*5149b685SErick Chen
36*5149b685SErick Chen		vddcama0: LDO_CAMA0 {
37*5149b685SErick Chen			regulator-name = "vddcama0";
38*5149b685SErick Chen			regulator-min-microvolt = <1200000>;
39*5149b685SErick Chen			regulator-max-microvolt = <3750000>;
40*5149b685SErick Chen			regulator-enable-ramp-delay = <100>;
41*5149b685SErick Chen		};
42*5149b685SErick Chen		...
43*5149b685SErick Chen	};
44