revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / drivers / power / Kconfig
1 menuconfig POWER_SUPPLY
2         tristate "Power supply class support"
3         help
4           Say Y here to enable power supply class support. This allows
5           power supply (batteries, AC, USB) monitoring by userspace
6           via sysfs and uevent (if available) and/or APM kernel interface
7           (if selected below).
8
9 if POWER_SUPPLY
10
11 config POWER_SUPPLY_DEBUG
12         bool "Power supply debug"
13         help
14           Say Y here to enable debugging messages for power supply class
15           and drivers.
16
17 config PDA_POWER
18         tristate "Generic PDA/phone power driver"
19         depends on !S390
20         help
21           Say Y here to enable generic power driver for PDAs and phones with
22           one or two external power supplies (AC/USB) connected to main and
23           backup batteries, and optional builtin charger.
24
25 config APM_POWER
26         tristate "APM emulation for class batteries"
27         depends on APM_EMULATION
28         help
29           Say Y here to enable support APM status emulation using
30           battery class devices.
31
32 config MAX8925_POWER
33         tristate "MAX8925 battery charger support"
34         depends on MFD_MAX8925
35         help
36           Say Y here to enable support for the battery charger in the Maxim
37           MAX8925 PMIC.
38
39 config WM831X_BACKUP
40         tristate "WM831X backup battery charger support"
41         depends on MFD_WM831X
42         help
43           Say Y here to enable support for the backup battery charger
44           in the Wolfson Microelectronics WM831x PMICs.
45
46 config WM831X_POWER
47         tristate "WM831X PMU support"
48         depends on MFD_WM831X
49         help
50           Say Y here to enable support for the power management unit
51           provided by Wolfson Microelectronics WM831x PMICs.
52
53 config WM831X_CHARGER_DISPLAY
54         tristate "WM831X Charger display support"
55         depends on WM831X_POWER
56         help
57           Say Y here to enable support for the power management unit
58           provided by Wolfson Microelectronics WM831x Charger Display.  
59
60 config WM831X_WITH_BATTERY
61         tristate "WM831X battery exist"
62         depends on WM831X_POWER
63         default n
64         help
65           WM831X battery exist.
66
67 config WM8350_POWER
68         tristate "WM8350 PMU support"
69         depends on MFD_WM8350
70         help
71           Say Y here to enable support for the power management unit
72           provided by the Wolfson Microelectronics WM8350 PMIC.
73
74 config TEST_POWER
75         tristate "Test power driver"
76         help
77           This driver is used for testing. It's safe to say M here.
78
79 config BATTERY_DS2760
80         tristate "DS2760 battery driver (HP iPAQ & others)"
81         select W1
82         select W1_SLAVE_DS2760
83         help
84           Say Y here to enable support for batteries with ds2760 chip.
85
86 config BATTERY_DS2782
87         tristate "DS2782/DS2786 standalone gas-gauge"
88         depends on I2C
89         help
90           Say Y here to enable support for the DS2782/DS2786 standalone battery
91           gas-gauge.
92
93 config BATTERY_PMU
94         tristate "Apple PMU battery"
95         depends on PPC32 && ADB_PMU
96         help
97           Say Y here to expose battery information on Apple machines
98           through the generic battery class.
99
100 config BATTERY_OLPC
101         tristate "One Laptop Per Child battery"
102         depends on X86_32 && OLPC
103         help
104           Say Y to enable support for the battery on the OLPC laptop.
105
106 config BATTERY_TOSA
107         tristate "Sharp SL-6000 (tosa) battery"
108         depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
109         help
110           Say Y to enable support for the battery on the Sharp Zaurus
111           SL-6000 (tosa) models.
112
113 config BATTERY_COLLIE
114         tristate "Sharp SL-5500 (collie) battery"
115         depends on SA1100_COLLIE && MCP_UCB1200
116         help
117           Say Y to enable support for the battery on the Sharp Zaurus
118           SL-5500 (collie) models.
119
120 config BATTERY_WM97XX
121         bool "WM97xx generic battery driver"
122         depends on TOUCHSCREEN_WM97XX=y
123         help
124           Say Y to enable support for battery measured by WM97xx aux port.
125
126 config BATTERY_BQ27x00
127         tristate "BQ27x00 battery driver"
128         depends on I2C
129         help
130           Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
131
132 config BATTERY_DA9030
133         tristate "DA9030 battery driver"
134         depends on PMIC_DA903X
135         help
136           Say Y here to enable support for batteries charger integrated into
137           DA9030 PMIC.
138
139 config BATTERY_MAX17040
140         tristate "Maxim MAX17040 Fuel Gauge"
141         depends on I2C
142         help
143           MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
144           in handheld and portable equipment. The MAX17040 is configured
145           to operate with a single lithium cell
146
147 config BATTERY_Z2
148         tristate "Z2 battery driver"
149         depends on I2C && MACH_ZIPIT2
150         help
151           Say Y to include support for the battery on the Zipit Z2.
152
153 config BATTERY_S3C_ADC
154         tristate "Battery driver for Samsung ADC based monitoring"
155         depends on S3C_ADC
156         help
157           Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
158
159 config CHARGER_PCF50633
160         tristate "NXP PCF50633 MBC"
161         depends on MFD_PCF50633
162         help
163          Say Y to include support for NXP PCF50633 Main Battery Charger.
164
165 config BATTERY_STC3100
166         tristate "STC3100 battery driver"
167         depends on I2C && ARCH_RK29
168         help
169           Say Y here to enable support for batteries with STC3100(I2C) chip.
170
171 config BATTERY_BQ27510
172         tristate "BQ27510 battery driver"
173         select I2C_DEV_RK29
174         depends on I2C && ARCH_RK29
175         help
176           Say Y here to enable support for batteries with BQ27510(I2C) chip.
177
178 config BATTERY_BQ27541
179         tristate "BQ27541 battery driver"
180         select I2C_DEV_RK29
181         depends on I2C && ARCH_RK29
182         help
183           Say Y here to enable support for batteries with BQ27541(I2C) chip.
184         
185 config BATTERY_BQ3060
186         tristate "BQ3060 battery driver"
187         depends on I2C && ARCH_RK29
188         help
189           Say Y here to enable support for batteries with BQ3060(I2C) chip.  
190
191 config CHECK_BATT_CAPACITY
192         tristate "check the capacity in BQ27510 battery if 1000mah write capacity for BATT_CAPACITY_MAH"
193         depends on BATTERY_BQ27510 || BATTERY_BQ3060
194         default n
195
196 config BATT_CAPACITY_MAH
197         depends on CHECK_BATT_CAPACITY
198         int "battery capacity (in mah)"
199         default 2200
200
201 config NO_BATTERY_IC
202         tristate "no BQ27510 battery ic in board"
203         depends on BATTERY_BQ27510 || BATTERY_BQ27541 || BATTERY_BQ3060 
204         default n
205         help
206           Say no BQ27510(I2C) chip in board .
207
208 config BATTERY_JZ4740
209         tristate "Ingenic JZ4740 battery"
210         depends on MACH_JZ4740
211         depends on MFD_JZ4740_ADC
212         help
213           Say Y to enable support for the battery on Ingenic JZ4740 based
214           boards.
215
216           This driver can be build as a module. If so, the module will be
217           called jz4740-battery.
218
219 config BATTERY_INTEL_MID
220         tristate "Battery driver for Intel MID platforms"
221         depends on INTEL_SCU_IPC && SPI
222         help
223           Say Y here to enable the battery driver on Intel MID
224           platforms.
225
226 endif # POWER_SUPPLY