blob: 7373a793e2552295d56a5e914c6d997a6cf7ba8a [file] [log] [blame]
Oliver Schinagl5c7f10f2013-07-26 12:56:58 +02001config AXP221_POWER
Hans de Goedebdcdf842014-11-29 23:54:25 +01002 boolean "axp221 / axp223 pmic support"
3 depends on MACH_SUN6I || MACH_SUN8I
Oliver Schinagl5c7f10f2013-07-26 12:56:58 +02004 default y
5 ---help---
Hans de Goedebdcdf842014-11-29 23:54:25 +01006 Say y here to enable support for the axp221 / axp223 pmic found on most
7 sun6i (A31) / sun8i (A23) boards.
Oliver Schinagl5c7f10f2013-07-26 12:56:58 +02008
9config AXP221_DLDO1_VOLT
10 int "axp221 dldo1 voltage"
11 depends on AXP221_POWER
12 default -1
13 ---help---
14 Set the voltage (mV) to program the axp221 dldo1 at, set to -1 to
15 disable dldo1.
16
17config AXP221_DLDO4_VOLT
18 int "axp221 dldo4 voltage"
19 depends on AXP221_POWER
20 default -1
21 ---help---
22 Set the voltage (mV) to program the axp221 dldo4 at, set to -1 to
23 disable dldo4.
24
25config AXP221_ALDO1_VOLT
26 int "axp221 aldo1 voltage"
27 depends on AXP221_POWER
28 default -1
29 ---help---
30 Set the voltage (mV) to program the axp221 aldo1 at, set to -1 to
31 disable aldo1.
32
33config AXP221_ALDO2_VOLT
34 int "axp221 aldo2 voltage"
35 depends on AXP221_POWER
36 default -1
37 ---help---
38 Set the voltage (mV) to program the axp221 aldo2 at, set to -1 to
39 disable aldo2.
40
41config AXP221_ALDO3_VOLT
42 int "axp221 aldo3 voltage"
43 depends on AXP221_POWER
44 default -1
45 ---help---
46 Set the voltage (mV) to program the axp221 aldo3 at, set to -1 to
47 disable aldo3.