Skip to content

Commit 5149b68

Browse files
Erick Chenbroonie
authored andcommitted
regulator: Add Spreadtrum SC2731 regulator documentation
This patch adds support for the Spreadtrum SC2731 voltage regulator device. Signed-off-by: Erick Chen <erick.chen@spreadtrum.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4fbd8d1 commit 5149b68

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Spreadtrum SC2731 Voltage regulators
2+
3+
The SC2731 integrates low-voltage and low quiescent current DCDC/LDO.
4+
14 LDO and 3 DCDCs are designed for external use. All DCDCs/LDOs have
5+
their own bypass (power-down) control signals. External tantalum or MLCC
6+
ceramic capacitors are recommended to use with these LDOs.
7+
8+
Required properties:
9+
- compatible: should be "sprd,sc27xx-regulator".
10+
11+
List of regulators provided by this controller. It is named according to
12+
its regulator type, BUCK_<name> and LDO_<name>. The definition for each
13+
of these nodes is defined using the standard binding for regulators at
14+
Documentation/devicetree/bindings/regulator/regulator.txt.
15+
16+
The valid names for regulators are:
17+
BUCK:
18+
BUCK_CPU0, BUCK_CPU1, BUCK_RF
19+
LDO:
20+
LDO_CAMA0, LDO_CAMA1, LDO_CAMMOT, LDO_VLDO, LDO_EMMCCORE, LDO_SDCORE,
21+
LDO_SDIO, LDO_WIFIPA, LDO_USB33, LDO_CAMD0, LDO_CAMD1, LDO_CON,
22+
LDO_CAMIO, LDO_SRAM
23+
24+
Example:
25+
regulators {
26+
compatible = "sprd,sc27xx-regulator";
27+
28+
vddarm0: BUCK_CPU0 {
29+
regulator-name = "vddarm0";
30+
regulator-min-microvolt = <400000>;
31+
regulator-max-microvolt = <1996875>;
32+
regulator-ramp-delay = <25000>;
33+
regulator-always-on;
34+
};
35+
36+
vddcama0: LDO_CAMA0 {
37+
regulator-name = "vddcama0";
38+
regulator-min-microvolt = <1200000>;
39+
regulator-max-microvolt = <3750000>;
40+
regulator-enable-ramp-delay = <100>;
41+
};
42+
...
43+
};

0 commit comments

Comments
 (0)