summaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
blob: af668871291ce924e69cf8529247ecc21bdc0a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
config AXP221_POWER
	boolean "axp221 / axp223 pmic support"
	depends on MACH_SUN6I || MACH_SUN8I
	default y
	---help---
	Say y here to enable support for the axp221 / axp223 pmic found on most
	sun6i (A31) / sun8i (A23) boards.

config AXP221_DLDO1_VOLT
	int "axp221 dldo1 voltage"
	depends on AXP221_POWER
	default -1
	---help---
	Set the voltage (mV) to program the axp221 dldo1 at, set to -1 to
	disable dldo1. On sun6i (A31) boards with ethernet this is often used
	to power the ethernet phy. On sun8i (A23) boards this is often used to
	power the wifi.

config AXP221_DLDO4_VOLT
	int "axp221 dldo4 voltage"
	depends on AXP221_POWER
	default -1
	---help---
	Set the voltage (mV) to program the axp221 dldo4 at, set to -1 to
	disable dldo4.

config AXP221_ALDO1_VOLT
	int "axp221 aldo1 voltage"
	depends on AXP221_POWER
	default -1
	---help---
	Set the voltage (mV) to program the axp221 aldo1 at, set to -1 to
	disable aldo1. On sun6i (A31) boards which have a wifi module this is
	often used to power the wifi module.

config AXP221_ALDO2_VOLT
	int "axp221 aldo2 voltage"
	depends on AXP221_POWER
	default 1800 if MACH_SUN6I
	default 2500 if MACH_SUN8I
	---help---
	Set the voltage (mV) to program the axp221 aldo2 at, set to -1 to
	disable aldo2. On sun6i (A31) boards this is typically connected to
	VCC-PM, which powers the port M gpios, and should be set to 1.8V.
	On sun8i (A23) this is typically connected to VDD-DLL and must be
	set to 2.5V.

config AXP221_ALDO3_VOLT
	int "axp221 aldo3 voltage"
	depends on AXP221_POWER
	default 3000
	---help---
	Set the voltage (mV) to program the axp221 aldo3 at, set to -1 to
	disable aldo3. This is typically connected to VCC-PLL and AVCC and
	must be set to 3V.
OpenPOWER on IntegriCloud