]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/power/Kconfig
dm: pmic: add implementation of driver model pmic uclass
[karo-tx-uboot.git] / drivers / power / Kconfig
1 menu "Power"
2
3 source "drivers/power/pmic/Kconfig"
4
5 config AXP221_POWER
6         boolean "axp221 / axp223 pmic support"
7         depends on MACH_SUN6I || MACH_SUN8I
8         default y
9         ---help---
10         Say y here to enable support for the axp221 / axp223 pmic found on most
11         sun6i (A31) / sun8i (A23) boards.
12
13 config AXP221_DCDC1_VOLT
14         int "axp221 dcdc1 voltage"
15         depends on AXP221_POWER
16         default 3000
17         ---help---
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.
22
23 config AXP221_DLDO1_VOLT
24         int "axp221 dldo1 voltage"
25         depends on AXP221_POWER
26         default 0
27         ---help---
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
31         power the wifi.
32
33 config AXP221_DLDO4_VOLT
34         int "axp221 dldo4 voltage"
35         depends on AXP221_POWER
36         default 0
37         ---help---
38         Set the voltage (mV) to program the axp221 dldo4 at, set to 0 to
39         disable dldo4.
40
41 config AXP221_ALDO1_VOLT
42         int "axp221 aldo1 voltage"
43         depends on AXP221_POWER
44         default 0
45         ---help---
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.
49
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
55         ---help---
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
60         to 2.5V.
61
62 config AXP221_ALDO3_VOLT
63         int "axp221 aldo3 voltage"
64         depends on AXP221_POWER
65         default 3000
66         ---help---
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
69         must be set to 3V.
70
71 config AXP221_ELDO3_VOLT
72         int "axp221 eldo3 voltage"
73         depends on AXP221_POWER
74         default 0
75         ---help---
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
79         into MIPI DSI).
80
81 endmenu