3 source "drivers/power/pmic/Kconfig"
6 boolean "axp221 / axp223 pmic support"
7 depends on MACH_SUN6I || MACH_SUN8I
10 Say y here to enable support for the axp221 / axp223 pmic found on most
11 sun6i (A31) / sun8i (A23) boards.
13 config AXP221_DCDC1_VOLT
14 int "axp221 dcdc1 voltage"
15 depends on AXP221_POWER
18 Set the voltage (mV) to program the axp221 dcdc1 at, set to 0 to
19 disable dcdc1. This is typically used as generic 3.3V IO voltage for
20 things like GPIO-s, sdcard interfaces, etc. On most boards this is
21 undervolted to 3.0V to safe battery.
23 config AXP221_DLDO1_VOLT
24 int "axp221 dldo1 voltage"
25 depends on AXP221_POWER
28 Set the voltage (mV) to program the axp221 dldo1 at, set to 0 to
29 disable dldo1. On sun6i (A31) boards with ethernet this is often used
30 to power the ethernet phy. On sun8i (A23) boards this is often used to
33 config AXP221_DLDO4_VOLT
34 int "axp221 dldo4 voltage"
35 depends on AXP221_POWER
38 Set the voltage (mV) to program the axp221 dldo4 at, set to 0 to
41 config AXP221_ALDO1_VOLT
42 int "axp221 aldo1 voltage"
43 depends on AXP221_POWER
46 Set the voltage (mV) to program the axp221 aldo1 at, set to 0 to
47 disable aldo1. On sun6i (A31) boards which have a wifi module this is
48 often used to power the wifi module.
50 config AXP221_ALDO2_VOLT
51 int "axp221 aldo2 voltage"
52 depends on AXP221_POWER
53 default 0 if MACH_SUN6I
54 default 2500 if MACH_SUN8I
56 Set the voltage (mV) to program the axp221 aldo2 at, set to 0 to
57 disable aldo2. On sun6i (A31) boards this is typically unused and
58 should be disabled, if it is used for LPDDR2 it should be set to 1.8V.
59 On sun8i (A23) this is typically connected to VDD-DLL and must be set
62 config AXP221_ALDO3_VOLT
63 int "axp221 aldo3 voltage"
64 depends on AXP221_POWER
67 Set the voltage (mV) to program the axp221 aldo3 at, set to 0 to
68 disable aldo3. This is typically connected to VCC-PLL and AVCC and
71 config AXP221_ELDO3_VOLT
72 int "axp221 eldo3 voltage"
73 depends on AXP221_POWER
76 Set the voltage (mV) to program the axp221 eldo3 at, set to 0 to
77 disable eldo3. On some A31(s) tablets it might be used to supply
78 1.2V for the SSD2828 chip (converter of parallel LCD interface