xref: /openbmc/u-boot/drivers/power/Kconfig (revision c49aff3e66b930aa06936afee401cf5e19377958)
14d9057e8SPrzemyslaw Marczakmenu "Power"
24d9057e8SPrzemyslaw Marczak
361f5ddcbSStephen Warrensource "drivers/power/domain/Kconfig"
461f5ddcbSStephen Warren
54d9057e8SPrzemyslaw Marczaksource "drivers/power/pmic/Kconfig"
64d9057e8SPrzemyslaw Marczak
7af41e8dbSPrzemyslaw Marczaksource "drivers/power/regulator/Kconfig"
8af41e8dbSPrzemyslaw Marczak
91df44814SHans de Goedechoice
101df44814SHans de Goede	prompt "Select Sunxi PMIC Variant"
111df44814SHans de Goede	depends on ARCH_SUNXI
121df44814SHans de Goede	default AXP209_POWER if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
13409677ecSChen-Yu Tsai	default AXP221_POWER if MACH_SUN6I || MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_R40
14813c7372Svishnupatekar	default AXP818_POWER if MACH_SUN8I_A83T
157b82a229SAndre Przywara	default SUNXI_NO_PMIC if MACH_SUNXI_H3_H5 || MACH_SUN50I
161df44814SHans de Goede
171df44814SHans de Goedeconfig SUNXI_NO_PMIC
18ab65006bSMasahiro Yamada	bool "board without a pmic"
191df44814SHans de Goede	---help---
201df44814SHans de Goede	Select this for boards which do not use a PMIC.
211df44814SHans de Goede
221df44814SHans de Goedeconfig AXP152_POWER
23ab65006bSMasahiro Yamada	bool "axp152 pmic support"
241df44814SHans de Goede	depends on MACH_SUN5I
25735fb252SJagan Teki	select AXP_PMIC_BUS
26c286cdfeSHans de Goede	select CMD_POWEROFF
271df44814SHans de Goede	---help---
281df44814SHans de Goede	Select this to enable support for the axp152 pmic found on most
291df44814SHans de Goede	A10s boards.
301df44814SHans de Goede
311df44814SHans de Goedeconfig AXP209_POWER
32ab65006bSMasahiro Yamada	bool "axp209 pmic support"
331df44814SHans de Goede	depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
34735fb252SJagan Teki	select AXP_PMIC_BUS
35467e92b3SMichael van Slingerland	select CMD_POWEROFF
361df44814SHans de Goede	---help---
371df44814SHans de Goede	Select this to enable support for the axp209 pmic found on most
381df44814SHans de Goede	A10, A13 and A20 boards.
391df44814SHans de Goede
405c7f10fdSOliver Schinaglconfig AXP221_POWER
41ab65006bSMasahiro Yamada	bool "axp221 / axp223 pmic support"
42409677ecSChen-Yu Tsai	depends on MACH_SUN6I || MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_R40
43735fb252SJagan Teki	select AXP_PMIC_BUS
44fe4b71b2SHans de Goede	select CMD_POWEROFF
455c7f10fdSOliver Schinagl	---help---
461df44814SHans de Goede	Select this to enable support for the axp221/axp223 pmic found on most
471df44814SHans de Goede	A23 and A31 boards.
481df44814SHans de Goede
49795857dfSChen-Yu Tsaiconfig AXP809_POWER
50ab65006bSMasahiro Yamada	bool "axp809 pmic support"
51795857dfSChen-Yu Tsai	depends on MACH_SUN9I
52735fb252SJagan Teki	select AXP_PMIC_BUS
53795857dfSChen-Yu Tsai	select CMD_POWEROFF
54795857dfSChen-Yu Tsai	---help---
55795857dfSChen-Yu Tsai	Say y here to enable support for the axp809 pmic found on A80 boards.
56795857dfSChen-Yu Tsai
57813c7372Svishnupatekarconfig AXP818_POWER
58ab65006bSMasahiro Yamada	bool "axp818 pmic support"
59813c7372Svishnupatekar	depends on MACH_SUN8I_A83T
60735fb252SJagan Teki	select AXP_PMIC_BUS
6151199269SChen-Yu Tsai	select CMD_POWEROFF
62813c7372Svishnupatekar	---help---
63813c7372Svishnupatekar	Say y here to enable support for the axp818 pmic found on
64813c7372Svishnupatekar	A83T dev board.
65813c7372Svishnupatekar
660d8382aeSJelle van der Waaconfig SY8106A_POWER
67ab65006bSMasahiro Yamada	bool "SY8106A pmic support"
687b82a229SAndre Przywara	depends on MACH_SUNXI_H3_H5
690d8382aeSJelle van der Waa	---help---
700d8382aeSJelle van der Waa	Select this to enable support for the SY8106A pmic found on some
710d8382aeSJelle van der Waa	H3 boards.
720d8382aeSJelle van der Waa
731df44814SHans de Goedeendchoice
745c7f10fdSOliver Schinagl
7540117522SHans de Goedeconfig AXP_DCDC1_VOLT
7640117522SHans de Goede	int "axp pmic dcdc1 voltage"
77795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
78409677ecSChen-Yu Tsai	default 3300 if AXP818_POWER || MACH_SUN8I_R40
79795857dfSChen-Yu Tsai	default 3000 if MACH_SUN6I || MACH_SUN8I || MACH_SUN9I
801262a85fSHans de Goede	---help---
8140117522SHans de Goede	Set the voltage (mV) to program the axp pmic dcdc1 at, set to 0 to
8240117522SHans de Goede	disable dcdc1. On A23 / A31 / A33 (axp221) boards dcdc1 is used for
8340117522SHans de Goede	generic 3.3V IO voltage for external devices like the lcd-panal and
8440117522SHans de Goede	sdcard interfaces, etc. On most boards dcdc1 is undervolted to 3.0V to
85795857dfSChen-Yu Tsai	save battery. On A31 devices dcdc1 is also used for VCC-IO. On A83T
86795857dfSChen-Yu Tsai	dcdc1 is used for VCC-IO, nand, usb0, sd , etc. On A80 dcdc1 normally
87795857dfSChen-Yu Tsai	powers some of the pingroups, NAND/eMMC, SD/MMC, and USB OTG.
881262a85fSHans de Goede
8940117522SHans de Goedeconfig AXP_DCDC2_VOLT
9040117522SHans de Goede	int "axp pmic dcdc2 voltage"
91795857dfSChen-Yu Tsai	depends on AXP152_POWER || AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
92813c7372Svishnupatekar	default 900 if AXP818_POWER
9340117522SHans de Goede	default 1400 if AXP152_POWER || AXP209_POWER
94f339f09cSHans de Goede	default 1200 if MACH_SUN6I
95f339f09cSHans de Goede	default 1100 if MACH_SUN8I
96795857dfSChen-Yu Tsai	default 0 if MACH_SUN9I
9740117522SHans de Goede	---help---
9840117522SHans de Goede	Set the voltage (mV) to program the axp pmic dcdc2 at, set to 0 to
9940117522SHans de Goede	disable dcdc2.
10040117522SHans de Goede	On A10(s) / A13 / A20 boards dcdc2 is VDD-CPU and should be 1.4V.
10140117522SHans de Goede	On A31 boards dcdc2 is used for VDD-GPU and should be 1.2V.
102f339f09cSHans de Goede	On A23/A33 boards dcdc2 is used for VDD-SYS and should be 1.1V.
103795857dfSChen-Yu Tsai	On A80 boards dcdc2 powers the GPU and can be left off.
104813c7372Svishnupatekar	On A83T boards dcdc2 is used for VDD-CPUA(cluster 0) and should be 0.9V.
105409677ecSChen-Yu Tsai	On R40 boards dcdc2 is VDD-CPU and should be 1.1V
10640117522SHans de Goede
10740117522SHans de Goedeconfig AXP_DCDC3_VOLT
10840117522SHans de Goede	int "axp pmic dcdc3 voltage"
109795857dfSChen-Yu Tsai	depends on AXP152_POWER || AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
110795857dfSChen-Yu Tsai	default 900 if AXP809_POWER || AXP818_POWER
11140117522SHans de Goede	default 1500 if AXP152_POWER
11240117522SHans de Goede	default 1250 if AXP209_POWER
113409677ecSChen-Yu Tsai	default 1100 if MACH_SUN8I_R40
11440117522SHans de Goede	default 1200 if MACH_SUN6I || MACH_SUN8I
11540117522SHans de Goede	---help---
11640117522SHans de Goede	Set the voltage (mV) to program the axp pmic dcdc3 at, set to 0 to
11740117522SHans de Goede	disable dcdc3.
11840117522SHans de Goede	On A10(s) / A13 / A20 boards with an axp209 dcdc3 is VDD-INT-DLL and
11940117522SHans de Goede	should be 1.25V.
12040117522SHans de Goede	On A10s boards with an axp152 dcdc3 is VCC-DRAM and should be 1.5V.
12140117522SHans de Goede	On A23 / A31 / A33 boards dcdc3 is VDD-CPU and should be 1.2V.
122795857dfSChen-Yu Tsai	On A80 boards dcdc3 is used for VDD-CPUA(cluster 0) and should be 0.9V.
123813c7372Svishnupatekar	On A83T boards dcdc3 is used for VDD-CPUB(cluster 1) and should be 0.9V.
124409677ecSChen-Yu Tsai	On R40 boards dcdc3 is VDD-SYS and VDD-GPU and should be 1.1V.
12540117522SHans de Goede
12640117522SHans de Goedeconfig AXP_DCDC4_VOLT
12740117522SHans de Goede	int "axp pmic dcdc4 voltage"
128795857dfSChen-Yu Tsai	depends on AXP152_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
12940117522SHans de Goede	default 1250 if AXP152_POWER
13040117522SHans de Goede	default 1200 if MACH_SUN6I
13140117522SHans de Goede	default 0 if MACH_SUN8I
132795857dfSChen-Yu Tsai	default 900 if MACH_SUN9I
13340117522SHans de Goede	---help---
13440117522SHans de Goede	Set the voltage (mV) to program the axp pmic dcdc4 at, set to 0 to
13540117522SHans de Goede	disable dcdc4.
13640117522SHans de Goede	On A10s boards with an axp152 dcdc4 is VDD-INT-DLL and should be 1.25V.
13740117522SHans de Goede	On A31 boards dcdc4 is used for VDD-SYS and should be 1.2V.
13840117522SHans de Goede	On A23 / A33 boards dcdc4 is unused and should be disabled.
139795857dfSChen-Yu Tsai	On A80 boards dcdc4 powers VDD-SYS, HDMI, USB OTG and should be 0.9V.
140813c7372Svishnupatekar	On A83T boards dcdc4 is used for VDD-GPU.
14140117522SHans de Goede
14240117522SHans de Goedeconfig AXP_DCDC5_VOLT
14340117522SHans de Goede	int "axp pmic dcdc5 voltage"
144795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
145795857dfSChen-Yu Tsai	default 1500 if MACH_SUN6I || MACH_SUN8I || MACH_SUN9I
1467a0bbe64SHans de Goede	---help---
14740117522SHans de Goede	Set the voltage (mV) to program the axp pmic dcdc5 at, set to 0 to
14840117522SHans de Goede	disable dcdc5.
149409677ecSChen-Yu Tsai	On A23 / A31 / A33 / A80 / A83T / R40 boards dcdc5 is VCC-DRAM and
150795857dfSChen-Yu Tsai	should be 1.5V, 1.35V if DDR3L is used.
1517a0bbe64SHans de Goede
15240117522SHans de Goedeconfig AXP_ALDO1_VOLT
15340117522SHans de Goede	int "axp pmic (a)ldo1 voltage"
154795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
155409677ecSChen-Yu Tsai	default 0 if MACH_SUN6I || MACH_SUN8I_R40
156f3c5045aSChen-Yu Tsai	default 1800 if MACH_SUN8I_A83T
157795857dfSChen-Yu Tsai	default 3000 if MACH_SUN8I || MACH_SUN9I
1585c7f10fdSOliver Schinagl	---help---
15940117522SHans de Goede	Set the voltage (mV) to program the axp pmic aldo1 at, set to 0 to
16040117522SHans de Goede	disable aldo1.
16140117522SHans de Goede	On A31 boards aldo1 is often used to power the wifi module.
16240117522SHans de Goede	On A23 / A33 boards aldo1 is used for VCC-IO and should be 3.0V.
163795857dfSChen-Yu Tsai	On A80 boards aldo1 powers the USB hosts and should be 3.0V.
164f3c5045aSChen-Yu Tsai	On A83T / H8 boards aldo1 is used for MIPI CSI, DSI, HDMI, EFUSE, and
165f3c5045aSChen-Yu Tsai	should be 1.8V.
1665c7f10fdSOliver Schinagl
16740117522SHans de Goedeconfig AXP_ALDO2_VOLT
16840117522SHans de Goede	int "axp pmic (a)ldo2 voltage"
169795857dfSChen-Yu Tsai	depends on AXP152_POWER || AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
17040117522SHans de Goede	default 3000 if AXP152_POWER || AXP209_POWER
171795857dfSChen-Yu Tsai	default 0 if MACH_SUN6I || MACH_SUN9I
172f3c5045aSChen-Yu Tsai	default 1800 if MACH_SUN8I_A83T
173f7044498SHans de Goede	default 2500 if MACH_SUN8I
1745c7f10fdSOliver Schinagl	---help---
17540117522SHans de Goede	Set the voltage (mV) to program the axp pmic aldo2 at, set to 0 to
17640117522SHans de Goede	disable aldo2.
17740117522SHans de Goede	On A10(s) / A13 / A20 boards aldo2 is AVCC and should be 3.0V.
17840117522SHans de Goede	On A31 boards aldo2 is typically unused and should be disabled.
17940117522SHans de Goede	On A31 boards aldo2 may be used for LPDDR2 then it should be 1.8V.
18040117522SHans de Goede	On A23 / A33 boards aldo2 is used for VDD-DLL and should be 2.5V.
181795857dfSChen-Yu Tsai	On A80 boards aldo2 powers PB pingroup and camera IO and can be left off.
182f3c5045aSChen-Yu Tsai	On A83T / H8 boards aldo2 powers VDD-DLL, VCC18-PLL, CPVDD, VDD18-ADC,
183f3c5045aSChen-Yu Tsai	LPDDR2, and the codec. It should be 1.8V.
1845c7f10fdSOliver Schinagl
18540117522SHans de Goedeconfig AXP_ALDO3_VOLT
18640117522SHans de Goede	int "axp pmic (a)ldo3 voltage"
187795857dfSChen-Yu Tsai	depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
188795857dfSChen-Yu Tsai	default 0 if AXP209_POWER || MACH_SUN9I
18940117522SHans de Goede	default 3000 if MACH_SUN6I || MACH_SUN8I
1905c7f10fdSOliver Schinagl	---help---
19140117522SHans de Goede	Set the voltage (mV) to program the axp pmic aldo3 at, set to 0 to
19240117522SHans de Goede	disable aldo3.
19340117522SHans de Goede	On A10(s) / A13 / A20 boards aldo3 should be 2.8V.
194409677ecSChen-Yu Tsai	On A23 / A31 / A33 / R40 boards aldo3 is VCC-PLL and AVCC and should
195409677ecSChen-Yu Tsai	be 3.0V.
196795857dfSChen-Yu Tsai	On A80 boards aldo3 is normally not used.
197f3c5045aSChen-Yu Tsai	On A83T / H8 boards aldo3 is AVCC, VCC-PL, and VCC-LED, and should be
198f3c5045aSChen-Yu Tsai	3.0V.
1996906df1aSSiarhei Siamashka
20061436d50SOlliver Schinaglchoice
20161436d50SOlliver Schinagl	prompt "axp pmic (a)ldo3 voltage rate control"
20261436d50SOlliver Schinagl	depends on AXP209_POWER
20361436d50SOlliver Schinagl	default AXP_ALDO3_VOLT_SLOPE_NONE
20461436d50SOlliver Schinagl	---help---
20561436d50SOlliver Schinagl	The AXP can slowly ramp up voltage to reduce the inrush current when
20661436d50SOlliver Schinagl	changing voltages.
20761436d50SOlliver Schinagl	Note, this does not apply when enabling/disabling LDO3. See
20861436d50SOlliver Schinagl	"axp pmic (a)ldo3 inrush quirk" below to enable a slew rate to limit
20961436d50SOlliver Schinagl	inrush current on broken board designs.
21061436d50SOlliver Schinagl
21161436d50SOlliver Schinaglconfig AXP_ALDO3_VOLT_SLOPE_NONE
21261436d50SOlliver Schinagl	bool "No voltage slope"
21361436d50SOlliver Schinagl	---help---
21461436d50SOlliver Schinagl	Tries to reach the next voltage setting near instantaneously. Measurements
21561436d50SOlliver Schinagl	indicate that this is about 0.0167 V/uS.
21661436d50SOlliver Schinagl
21761436d50SOlliver Schinaglconfig AXP_ALDO3_VOLT_SLOPE_16
21861436d50SOlliver Schinagl	bool "1.6 mV per uS"
21961436d50SOlliver Schinagl	---help---
22061436d50SOlliver Schinagl	Increases the voltage by 1.6 mV per uS until the final voltage has
22161436d50SOlliver Schinagl	been reached. Note that the scaling is in 25 mV steps and thus
22261436d50SOlliver Schinagl	the slew rate in reality is about 25 mV/31.250 uS.
22361436d50SOlliver Schinagl
22461436d50SOlliver Schinaglconfig AXP_ALDO3_VOLT_SLOPE_08
22561436d50SOlliver Schinagl	bool "0.8 mV per uS"
22661436d50SOlliver Schinagl	---help---
22761436d50SOlliver Schinagl	Increases the voltage by 0.8 mV per uS until the final voltage has
22861436d50SOlliver Schinagl	been reached. Note that the scaling is in 25 mV steps however and thus
22961436d50SOlliver Schinagl	the slew rate in reality is about 25 mV/15.625 uS.
23061436d50SOlliver Schinagl	This is the slowest supported rate.
23161436d50SOlliver Schinagl
23261436d50SOlliver Schinaglendchoice
23361436d50SOlliver Schinagl
234*ef52605eSOlliver Schinaglconfig AXP_ALDO3_INRUSH_QUIRK
235*ef52605eSOlliver Schinagl	bool "axp pmic (a)ldo3 inrush quirk"
236*ef52605eSOlliver Schinagl	depends on AXP209_POWER
237*ef52605eSOlliver Schinagl	default n
238*ef52605eSOlliver Schinagl	---help---
239*ef52605eSOlliver Schinagl	The reference design denotes a value of 4.7 uF for the output capacitor
240*ef52605eSOlliver Schinagl	of LDO3. Some boards have too high capacitance causing 	an inrush current
241*ef52605eSOlliver Schinagl	and resulting an AXP209 shutdown.
242*ef52605eSOlliver Schinagl
24340117522SHans de Goedeconfig AXP_ALDO4_VOLT
24440117522SHans de Goede	int "axp pmic (a)ldo4 voltage"
24540117522SHans de Goede	depends on AXP209_POWER
24602cc27c7SHans de Goede	default 0 if AXP209_POWER
24740117522SHans de Goede	---help---
24840117522SHans de Goede	Set the voltage (mV) to program the axp pmic aldo4 at, set to 0 to
24940117522SHans de Goede	disable aldo4.
25040117522SHans de Goede	On A10(s) / A13 / A20 boards aldo4 should be 2.8V.
25140117522SHans de Goede
25240117522SHans de Goedeconfig AXP_DLDO1_VOLT
25340117522SHans de Goede	int "axp pmic dldo1 voltage"
254795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
2556906df1aSSiarhei Siamashka	default 0
2566906df1aSSiarhei Siamashka	---help---
25740117522SHans de Goede	Set the voltage (mV) to program the axp pmic dldo1 at, set to 0 to
25840117522SHans de Goede	disable dldo1. On sun6i (A31) boards with ethernet dldo1 is often used
259795857dfSChen-Yu Tsai	to power the ethernet phy. On A23, A33 and A80 boards this is often
260795857dfSChen-Yu Tsai	used to power the wifi.
26140117522SHans de Goede
26240117522SHans de Goedeconfig AXP_DLDO2_VOLT
26340117522SHans de Goede	int "axp pmic dldo2 voltage"
264795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
265795857dfSChen-Yu Tsai	default 3000 if MACH_SUN9I
26640117522SHans de Goede	default 0
26740117522SHans de Goede	---help---
26840117522SHans de Goede	Set the voltage (mV) to program the axp pmic dldo2 at, set to 0 to
26940117522SHans de Goede	disable dldo2.
270795857dfSChen-Yu Tsai	On A80 boards dldo2 normally powers the PL pins and should be 3.0V.
27140117522SHans de Goede
27240117522SHans de Goedeconfig AXP_DLDO3_VOLT
27340117522SHans de Goede	int "axp pmic dldo3 voltage"
2740509efb7SChen-Yu Tsai	depends on AXP221_POWER || AXP818_POWER
27540117522SHans de Goede	default 0
27640117522SHans de Goede	---help---
27740117522SHans de Goede	Set the voltage (mV) to program the axp pmic dldo3 at, set to 0 to
27840117522SHans de Goede	disable dldo3.
27940117522SHans de Goede
28040117522SHans de Goedeconfig AXP_DLDO4_VOLT
28140117522SHans de Goede	int "axp pmic dldo4 voltage"
282813c7372Svishnupatekar	depends on AXP221_POWER || AXP818_POWER
28340117522SHans de Goede	default 0
28440117522SHans de Goede	---help---
28540117522SHans de Goede	Set the voltage (mV) to program the axp pmic dldo4 at, set to 0 to
28640117522SHans de Goede	disable dldo4.
28740117522SHans de Goede
28840117522SHans de Goedeconfig AXP_ELDO1_VOLT
28940117522SHans de Goede	int "axp pmic eldo1 voltage"
290795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
29140117522SHans de Goede	default 0
29240117522SHans de Goede	---help---
29340117522SHans de Goede	Set the voltage (mV) to program the axp pmic eldo1 at, set to 0 to
29440117522SHans de Goede	disable eldo1.
29540117522SHans de Goede
29640117522SHans de Goedeconfig AXP_ELDO2_VOLT
29740117522SHans de Goede	int "axp pmic eldo2 voltage"
298795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
29940117522SHans de Goede	default 0
30040117522SHans de Goede	---help---
30140117522SHans de Goede	Set the voltage (mV) to program the axp pmic eldo2 at, set to 0 to
30240117522SHans de Goede	disable eldo2.
30340117522SHans de Goede
30440117522SHans de Goedeconfig AXP_ELDO3_VOLT
30540117522SHans de Goede	int "axp pmic eldo3 voltage"
306795857dfSChen-Yu Tsai	depends on AXP221_POWER || AXP809_POWER || AXP818_POWER
307795857dfSChen-Yu Tsai	default 3000 if MACH_SUN9I
30840117522SHans de Goede	default 0
30940117522SHans de Goede	---help---
31040117522SHans de Goede	Set the voltage (mV) to program the axp pmic eldo3 at, set to 0 to
3116906df1aSSiarhei Siamashka	disable eldo3. On some A31(s) tablets it might be used to supply
3126906df1aSSiarhei Siamashka	1.2V for the SSD2828 chip (converter of parallel LCD interface
3136906df1aSSiarhei Siamashka	into MIPI DSI).
314795857dfSChen-Yu Tsai	On A80 boards it powers the PM pingroup and should be 3.0V.
3154d9057e8SPrzemyslaw Marczak
31638491d9cSChen-Yu Tsaiconfig AXP_FLDO1_VOLT
31738491d9cSChen-Yu Tsai	int "axp pmic fldo1 voltage"
31838491d9cSChen-Yu Tsai	depends on AXP818_POWER
31938491d9cSChen-Yu Tsai	default 0 if MACH_SUN8I_A83T
32038491d9cSChen-Yu Tsai	---help---
32138491d9cSChen-Yu Tsai	Set the voltage (mV) to program the axp pmic fldo1 at, set to 0 to
32238491d9cSChen-Yu Tsai	disable fldo1.
32338491d9cSChen-Yu Tsai	On A83T / H8 boards fldo1 is VCC-HSIC and should be 1.2V if HSIC is
32438491d9cSChen-Yu Tsai	used.
32538491d9cSChen-Yu Tsai
32638491d9cSChen-Yu Tsaiconfig AXP_FLDO2_VOLT
327a696253cSChen-Yu Tsai	int "axp pmic fldo2 voltage"
32838491d9cSChen-Yu Tsai	depends on AXP818_POWER
32938491d9cSChen-Yu Tsai	default 900 if MACH_SUN8I_A83T
33038491d9cSChen-Yu Tsai	---help---
33138491d9cSChen-Yu Tsai	Set the voltage (mV) to program the axp pmic fldo2 at, set to 0 to
33238491d9cSChen-Yu Tsai	disable fldo2.
33338491d9cSChen-Yu Tsai	On A83T / H8 boards fldo2 is VCC-CPUS and should be 0.9V.
33438491d9cSChen-Yu Tsai
33538491d9cSChen-Yu Tsaiconfig AXP_FLDO3_VOLT
33638491d9cSChen-Yu Tsai	int "axp pmic fldo3 voltage"
33738491d9cSChen-Yu Tsai	depends on AXP818_POWER
33838491d9cSChen-Yu Tsai	default 0
33938491d9cSChen-Yu Tsai	---help---
34038491d9cSChen-Yu Tsai	Set the voltage (mV) to program the axp pmic fldo3 at, set to 0 to
34138491d9cSChen-Yu Tsai	disable fldo3.
34238491d9cSChen-Yu Tsai
34315278ccbSChen-Yu Tsaiconfig AXP_SW_ON
34415278ccbSChen-Yu Tsai	bool "axp pmic sw on"
345795857dfSChen-Yu Tsai	depends on AXP809_POWER || AXP818_POWER
34615278ccbSChen-Yu Tsai	default n
34715278ccbSChen-Yu Tsai	---help---
34815278ccbSChen-Yu Tsai	Enable to turn on axp pmic sw.
34915278ccbSChen-Yu Tsai
3500d8382aeSJelle van der Waaconfig SY8106A_VOUT1_VOLT
3510d8382aeSJelle van der Waa	int "SY8106A pmic VOUT1 voltage"
3520d8382aeSJelle van der Waa	depends on SY8106A_POWER
3530d8382aeSJelle van der Waa	default 1200
3540d8382aeSJelle van der Waa	---help---
3550d8382aeSJelle van der Waa	Set the voltage (mV) to program the SY8106A pmic VOUT1. This
3560d8382aeSJelle van der Waa	is typically used to power the VDD-CPU and should be 1200mV.
3570d8382aeSJelle van der Waa	Values can range from 680mV till 1950mV.
3580d8382aeSJelle van der Waa
3597815c709SAdam Fordconfig TWL4030_POWER
3607815c709SAdam Ford	depends on OMAP34XX
3617815c709SAdam Ford	bool "Enable driver for TI TWL4030 power management chip"
362df7fafd1SAdam Ford	imply CMD_POWEROFF
3637815c709SAdam Ford	---help---
3647815c709SAdam Ford	The TWL4030 in a combination audio CODEC/power management with
3657815c709SAdam Ford	GPIO and it is commonly used with the OMAP3 family of processors
3667815c709SAdam Ford
3674d9057e8SPrzemyslaw Marczakendmenu
368