usb: gadget: fix: Call usb_gadget_connect() for dummy_udc
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / regulator / Kconfig
1 menuconfig REGULATOR
2         bool "Voltage and Current Regulator Support"
3         help
4           Generic Voltage and Current Regulator support.
5
6           This framework is designed to provide a generic interface to voltage
7           and current regulators within the Linux kernel. It's intended to
8           provide voltage and current control to client or consumer drivers and
9           also provide status information to user space applications through a
10           sysfs interface.
11
12           The intention is to allow systems to dynamically control regulator
13           output in order to save power and prolong battery life. This applies
14           to both voltage regulators (where voltage output is controllable) and
15           current sinks (where current output is controllable).
16
17           This framework safely compiles out if not selected so that client
18           drivers can still be used in systems with no software controllable
19           regulators.
20
21           If unsure, say no.
22
23
24 if REGULATOR
25
26 config REGULATOR_DEBUG
27         bool "Regulator debug support"
28         help
29           Say yes here to enable debugging support.
30
31 config REGULATOR_DUMMY
32         bool "Provide a dummy regulator if regulator lookups fail"
33         help
34           If this option is enabled then when a regulator lookup fails
35           and the board has not specified that it has provided full
36           constraints the regulator core will provide an always
37           enabled dummy regulator, allowing consumer drivers to continue.
38
39           A warning will be generated when this substitution is done.
40
41 config REGULATOR_FIXED_VOLTAGE
42         tristate "Fixed voltage regulator support"
43         help
44           This driver provides support for fixed voltage regulators,
45           useful for systems which use a combination of software
46           managed regulators and simple non-configurable regulators.
47
48 config REGULATOR_VIRTUAL_CONSUMER
49         tristate "Virtual regulator consumer support"
50         help
51           This driver provides a virtual consumer for the voltage and
52           current regulator API which provides sysfs controls for
53           configuring the supplies requested.  This is mainly useful
54           for test purposes.
55
56           If unsure, say no.
57
58 config REGULATOR_USERSPACE_CONSUMER
59         tristate "Userspace regulator consumer support"
60         help
61           There are some classes of devices that are controlled entirely
62           from user space. Userspace consumer driver provides ability to
63           control power supplies for such devices.
64
65           If unsure, say no.
66
67 config REGULATOR_GPIO
68         tristate "GPIO regulator support"
69         depends on GPIOLIB
70         help
71           This driver provides support for regulators that can be
72           controlled via gpios.
73           It is capable of supporting current and voltage regulators
74           and the platform has to provide a mapping of GPIO-states
75           to target volts/amps.
76
77 config REGULATOR_AD5398
78         tristate "Analog Devices AD5398/AD5821 regulators"
79         depends on I2C
80         help
81           This driver supports AD5398 and AD5821 current regulator chips.
82           If building into module, its name is ad5398.ko.
83
84 config REGULATOR_AAT2870
85         tristate "AnalogicTech AAT2870 Regulators"
86         depends on MFD_AAT2870_CORE
87         help
88           If you have a AnalogicTech AAT2870 say Y to enable the
89           regulator driver.
90
91 config REGULATOR_ARIZONA
92         tristate "Wolfson Arizona class devices"
93         depends on MFD_ARIZONA
94         depends on SND_SOC
95         help
96           Support for the regulators found on Wolfson Arizona class
97           devices.
98
99 config REGULATOR_DA903X
100         tristate "Dialog Semiconductor DA9030/DA9034 regulators"
101         depends on PMIC_DA903X
102         help
103           Say y here to support the BUCKs and LDOs regulators found on
104           Dialog Semiconductor DA9030/DA9034 PMIC.
105
106 config REGULATOR_DA9052
107         tristate "Dialog Semiconductor DA9052/DA9053 regulators"
108         depends on PMIC_DA9052
109         help
110           This driver supports the voltage regulators of DA9052-BC and
111           DA9053-AA/Bx PMIC.
112
113 config REGULATOR_DA9055
114         tristate "Dialog Semiconductor DA9055 regulators"
115         depends on MFD_DA9055
116         help
117           Say y here to support the BUCKs and LDOs regulators found on
118           Dialog Semiconductor DA9055 PMIC.
119
120           This driver can also be built as a module. If so, the module
121           will be called da9055-regulator.
122
123 config REGULATOR_FAN53555
124         tristate "Fairchild FAN53555 Regulator"
125         depends on I2C
126         select REGMAP_I2C
127         help
128           This driver supports Fairchild FAN53555 Digitally Programmable
129           TinyBuck Regulator. The FAN53555 is a step-down switching voltage
130           regulator that delivers a digitally programmable output from an
131           input voltage supply of 2.5V to 5.5V. The output voltage is
132           programmed through an I2C interface.
133
134 config REGULATOR_ANATOP
135         tristate "Freescale i.MX on-chip ANATOP LDO regulators"
136         depends on MFD_SYSCON
137         help
138           Say y here to support Freescale i.MX on-chip ANATOP LDOs
139           regulators. It is recommended that this option be
140           enabled on i.MX6 platform.
141
142 config REGULATOR_MC13XXX_CORE
143         tristate
144
145 config REGULATOR_MC13783
146         tristate "Freescale MC13783 regulator driver"
147         depends on MFD_MC13783
148         select REGULATOR_MC13XXX_CORE
149         help
150           Say y here to support the regulators found on the Freescale MC13783
151           PMIC.
152
153 config REGULATOR_MC13892
154         tristate "Freescale MC13892 regulator driver"
155         depends on MFD_MC13XXX
156         select REGULATOR_MC13XXX_CORE
157         help
158           Say y here to support the regulators found on the Freescale MC13892
159           PMIC.
160
161 config REGULATOR_ISL6271A
162         tristate "Intersil ISL6271A Power regulator"
163         depends on I2C
164         help
165           This driver supports ISL6271A voltage regulator chip.
166
167 config REGULATOR_88PM8607
168         bool "Marvell 88PM8607 Power regulators"
169         depends on MFD_88PM860X=y
170         help
171           This driver supports 88PM8607 voltage regulator chips.
172
173 config REGULATOR_MAX1586
174         tristate "Maxim 1586/1587 voltage regulator"
175         depends on I2C
176         help
177           This driver controls a Maxim 1586 or 1587 voltage output
178           regulator via I2C bus. The provided regulator is suitable
179           for PXA27x chips to control VCC_CORE and VCC_USIM voltages.
180
181 config REGULATOR_MAX8649
182         tristate "Maxim 8649 voltage regulator"
183         depends on I2C
184         select REGMAP_I2C
185         help
186           This driver controls a Maxim 8649 voltage output regulator via
187           I2C bus.
188
189 config REGULATOR_MAX8660
190         tristate "Maxim 8660/8661 voltage regulator"
191         depends on I2C
192         help
193           This driver controls a Maxim 8660/8661 voltage output
194           regulator via I2C bus.
195
196 config REGULATOR_MAX8907
197         tristate "Maxim 8907 voltage regulator"
198         depends on MFD_MAX8907
199         help
200           This driver controls a Maxim 8907 voltage output regulator
201           via I2C bus. The provided regulator is suitable for Tegra
202           chip to control Step-Down DC-DC and LDOs.
203
204 config REGULATOR_MAX8925
205         tristate "Maxim MAX8925 Power Management IC"
206         depends on MFD_MAX8925
207         help
208           Say y here to support the voltage regulaltor of Maxim MAX8925 PMIC.
209
210 config REGULATOR_MAX8952
211         tristate "Maxim MAX8952 Power Management IC"
212         depends on I2C
213         help
214           This driver controls a Maxim 8952 voltage output regulator
215           via I2C bus. Maxim 8952 has one voltage output and supports 4 DVS
216           modes ranging from 0.77V to 1.40V by 0.01V steps.
217
218 config REGULATOR_MAX8973
219         tristate "Maxim MAX8973 voltage regulator "
220         depends on I2C
221         select REGMAP_I2C
222         help
223           The MAXIM MAX8973 high-efficiency. three phase, DC-DC step-down
224           switching regulator delievers up to 9A of output current. Each
225           phase operates at a 2MHz fixed frequency with a 120 deg shift
226           from the adjacent phase, allowing the use of small magnetic component.
227
228 config REGULATOR_MAX8997
229         tristate "Maxim 8997/8966 regulator"
230         depends on MFD_MAX8997
231         help
232           This driver controls a Maxim 8997/8966 regulator
233           via I2C bus. The provided regulator is suitable for S5PC110,
234           S5PV210, and Exynos-4 chips to control VCC_CORE and
235           VCC_USIM voltages.
236
237 config REGULATOR_MAX8998
238         tristate "Maxim 8998 voltage regulator"
239         depends on MFD_MAX8998
240         help
241           This driver controls a Maxim 8998 voltage output regulator
242           via I2C bus. The provided regulator is suitable for S3C6410
243           and S5PC1XX chips to control VCC_CORE and VCC_USIM voltages.
244
245 config REGULATOR_MAX77686
246         tristate "Maxim 77686 regulator"
247         depends on MFD_MAX77686
248         help
249           This driver controls a Maxim 77686 regulator
250           via I2C bus. The provided regulator is suitable for
251           Exynos-4 chips to control VARM and VINT voltages.
252
253 config REGULATOR_PCAP
254         tristate "Motorola PCAP2 regulator driver"
255         depends on EZX_PCAP
256         help
257          This driver provides support for the voltage regulators of the
258          PCAP2 PMIC.
259
260 config REGULATOR_LP3971
261         tristate "National Semiconductors LP3971 PMIC regulator driver"
262         depends on I2C
263         help
264          Say Y here to support the voltage regulators and convertors
265          on National Semiconductors LP3971 PMIC
266
267 config REGULATOR_LP3972
268         tristate "National Semiconductors LP3972 PMIC regulator driver"
269         depends on I2C
270         help
271          Say Y here to support the voltage regulators and convertors
272          on National Semiconductors LP3972 PMIC
273
274 config REGULATOR_LP872X
275         bool "TI/National Semiconductor LP8720/LP8725 voltage regulators"
276         depends on I2C=y
277         select REGMAP_I2C
278         help
279           This driver supports LP8720/LP8725 PMIC
280
281 config REGULATOR_LP8755
282         tristate "TI LP8755 High Performance PMU driver"
283         depends on I2C
284         select REGMAP_I2C
285         help
286           This driver supports LP8755 High Performance PMU driver. This
287           chip contains six step-down DC/DC converters which can support
288           9 mode multiphase configuration.
289
290 config REGULATOR_LP8788
291         bool "TI LP8788 Power Regulators"
292         depends on MFD_LP8788
293         help
294           This driver supports LP8788 voltage regulator chip.
295
296 config REGULATOR_PCF50633
297         tristate "NXP PCF50633 regulator driver"
298         depends on MFD_PCF50633
299         help
300          Say Y here to support the voltage regulators and convertors
301          on PCF50633
302
303 config REGULATOR_RT5033
304         depends on MFD_RT5033
305         tristate "RT5033 LDO and Buck"
306         help
307           Say y here to support the regulators found on the Richtek RT5033 I/F PMIC.
308
309 config REGULATOR_RC5T583
310         tristate "RICOH RC5T583 Power regulators"
311         depends on MFD_RC5T583
312         help
313           Select this option to enable the power regulator of RICOH
314           PMIC RC5T583.
315           This driver supports the control of different power rails of device
316           through regulator interface. The device supports multiple DCDC/LDO
317           outputs which can be controlled by i2c communication.
318
319 config REGULATOR_S2MPS11
320         tristate "Samsung S2MPS11 voltage regulator"
321         depends on MFD_SEC_CORE
322         help
323          This driver supports a Samsung S2MPS11 voltage output regulator
324          via I2C bus. S2MPS11 is comprised of high efficient Buck converters
325          including Dual-Phase Buck converter, Buck-Boost converter, various LDOs.
326
327 config REGULATOR_S5M8767
328         tristate "Samsung S5M8767A voltage regulator"
329         depends on MFD_SEC_CORE
330         help
331          This driver supports a Samsung S5M8767A voltage output regulator
332          via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and
333          supports DVS mode with 8bits of output voltage control.
334
335 config REGULATOR_AB3100
336         tristate "ST-Ericsson AB3100 Regulator functions"
337         depends on AB3100_CORE
338         default y if AB3100_CORE
339         help
340          These regulators correspond to functionality in the
341          AB3100 analog baseband dealing with power regulators
342          for the system.
343
344 config REGULATOR_AB8500
345         bool "ST-Ericsson AB8500 Power Regulators"
346         depends on AB8500_CORE
347         help
348           This driver supports the regulators found on the ST-Ericsson mixed
349           signal AB8500 PMIC
350
351 config REGULATOR_DBX500_PRCMU
352         bool
353
354 config REGULATOR_DB8500_PRCMU
355         bool "ST-Ericsson DB8500 Voltage Domain Regulators"
356         depends on MFD_DB8500_PRCMU
357         select REGULATOR_DBX500_PRCMU
358         help
359           This driver supports the voltage domain regulators controlled by the
360           DB8500 PRCMU
361
362 config REGULATOR_PALMAS
363         tristate "TI Palmas PMIC Regulators"
364         depends on MFD_PALMAS
365         help
366           If you wish to control the regulators on the Palmas series of
367           chips say Y here. This will enable support for all the software
368           controllable SMPS/LDO regulators.
369
370           The regulators available on Palmas series chips vary depending
371           on the muxing. This is handled automatically in the driver by
372           reading the mux info from OTP.
373
374 config REGULATOR_TPS51632
375         tristate "TI TPS51632 Power Regulator"
376         depends on I2C
377         select REGMAP_I2C
378         help
379           This driver supports TPS51632 voltage regulator chip.
380           The TPS51632 is 3-2-1 Phase D-Cap+ Step Down Driverless Controller
381           with Serial VID control and DVFS.
382           The voltage output can be configure through I2C interface or PWM
383           interface.
384
385 config REGULATOR_TPS6105X
386         tristate "TI TPS6105X Power regulators"
387         depends on TPS6105X
388         default y if TPS6105X
389         help
390           This driver supports TPS61050/TPS61052 voltage regulator chips.
391           It is a single boost converter primarily for white LEDs and
392           audio amplifiers.
393
394 config REGULATOR_TPS62360
395         tristate "TI TPS6236x Power Regulator"
396         depends on I2C
397         select REGMAP_I2C
398         help
399           This driver supports TPS6236x voltage regulator chip. This
400           regulator is meant for processor core supply. This chip is
401           high-frequency synchronous step down dc-dc converter optimized
402           for battery-powered portable applications.
403
404 config REGULATOR_TPS65023
405         tristate "TI TPS65023 Power regulators"
406         depends on I2C
407         select REGMAP_I2C
408         help
409           This driver supports TPS65023 voltage regulator chips. TPS65023 provides
410           three step-down converters and two general-purpose LDO voltage regulators.
411           It supports TI's software based Class-2 SmartReflex implementation.
412
413 config REGULATOR_TPS6507X
414         tristate "TI TPS6507X Power regulators"
415         depends on I2C
416         help
417           This driver supports TPS6507X voltage regulator chips. TPS6507X provides
418           three step-down converters and two general-purpose LDO voltage regulators.
419           It supports TI's software based Class-2 SmartReflex implementation.
420
421 config REGULATOR_TPS65090
422         tristate "TI TPS65090 Power regulator"
423         depends on MFD_TPS65090
424         help
425           This driver provides support for the voltage regulators on the
426           TI TPS65090 PMIC.
427
428 config REGULATOR_TPS65217
429         tristate "TI TPS65217 Power regulators"
430         depends on MFD_TPS65217
431         help
432           This driver supports TPS65217 voltage regulator chips. TPS65217
433           provides three step-down converters and four general-purpose LDO
434           voltage regulators. It supports software based voltage control
435           for different voltage domains
436
437 config REGULATOR_TPS6524X
438         tristate "TI TPS6524X Power regulators"
439         depends on SPI
440         help
441           This driver supports TPS6524X voltage regulator chips. TPS6524X
442           provides three step-down converters and two general-purpose LDO
443           voltage regulators.  This device is interfaced using a customized
444           serial interface currently supported on the sequencer serial
445           port controller.
446
447 config REGULATOR_TPS6586X
448         tristate "TI TPS6586X Power regulators"
449         depends on MFD_TPS6586X
450         help
451           This driver supports TPS6586X voltage regulator chips.
452
453 config REGULATOR_TPS65910
454         tristate "TI TPS65910/TPS65911 Power Regulators"
455         depends on MFD_TPS65910
456         help
457           This driver supports TPS65910/TPS65911 voltage regulator chips.
458
459 config REGULATOR_TPS65912
460         tristate "TI TPS65912 Power regulator"
461         depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
462         help
463             This driver supports TPS65912 voltage regulator chip.
464
465 config REGULATOR_TPS80031
466         tristate "TI TPS80031/TPS80032 power regualtor driver"
467         depends on MFD_TPS80031
468         help
469           TPS80031/ TPS80032 Fully Integrated Power Management with Power
470           Path and Battery Charger. It has 5 configurable step-down
471           converters, 11 general purpose LDOs, VBUS generator and digital
472           output to control regulators.
473
474 config REGULATOR_TWL4030
475         bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 PMIC"
476         depends on TWL4030_CORE
477         help
478           This driver supports the voltage regulators provided by
479           this family of companion chips.
480
481 config REGULATOR_VEXPRESS
482         tristate "Versatile Express regulators"
483         depends on VEXPRESS_CONFIG
484         help
485           This driver provides support for voltage regulators available
486           on the ARM Ltd's Versatile Express platform.
487
488 config REGULATOR_WM831X
489         tristate "Wolfson Microelectronics WM831x PMIC regulators"
490         depends on MFD_WM831X
491         help
492           Support the voltage and current regulators of the WM831x series
493           of PMIC devices.
494
495 config REGULATOR_WM8350
496         tristate "Wolfson Microelectronics WM8350 AudioPlus PMIC"
497         depends on MFD_WM8350
498         help
499           This driver provides support for the voltage and current regulators
500           of the WM8350 AudioPlus PMIC.
501
502 config REGULATOR_WM8400
503         tristate "Wolfson Microelectronics WM8400 AudioPlus PMIC"
504         depends on MFD_WM8400
505         help
506           This driver provides support for the voltage regulators of the
507           WM8400 AudioPlus PMIC.
508
509 config REGULATOR_WM8994
510         tristate "Wolfson Microelectronics WM8994 CODEC"
511         depends on MFD_WM8994
512         help
513           This driver provides support for the voltage regulators on the
514           WM8994 CODEC.
515
516 config REGULATOR_AS3711
517         tristate "AS3711 PMIC"
518         depends on MFD_AS3711
519         help
520           This driver provides support for the voltage regulators on the
521           AS3711 PMIC
522
523 config REGULATOR_SPRD
524         tristate "Spreadtrum Power Regulators"
525         depends on ARCH_SC8825
526         default y if ARCH_SC8825
527         help
528           This driver supports spreadtrum voltage regulator chips.
529
530 config REGULATOR_SC2711
531         tristate "Spreadtrum PMIC for shark, also integrated audio codec"
532         depends on ARCH_SCX15
533         default y
534         help
535           This driver supports spreadtrum voltage regulator chips.
536
537 config REGULATOR_SC2713
538         tristate "Spreadtrum PMIC for shark, also integrated audio codec"
539         depends on (ARCH_SCX35 && !ARCH_SCX15 && !ARCH_SCX30G && !ARCH_SCX35L) || ARCH_SC7710 || ADIE_SC2713
540         default y
541         help
542           This driver supports spreadtrum voltage regulator chips.
543
544 config REGULATOR_SC2713S
545         tristate "Spreadtrum PMIC SC2713S regulator driver"
546         depends on ADIE_SC2713S
547         default y
548         help
549           Say Y here to support the voltage regulators for sc2713s
550
551 config REGULATOR_SC2723
552         tristate "Spreadtrum PMIC SC2723/SC2723S regulator driver"
553         depends on ADIE_SC2723 || ADIE_SC2723S
554         default y
555         help
556           Say Y here to support the voltage regulators for sc2723/sc2723s
557
558 config REGULATOR_CAL_DUMMY
559     bool "Regulator calibration is dummy"
560     depends on REGULATOR_SC2713S || REGULATOR_SC2713
561     default n
562     help
563         This option only for debug purpose
564
565 config REGULATOR_ADC_DEBUG
566     bool "Regulator auxadc channel value debug"
567     depends on  REGULATOR_SC2713S || REGULATOR_SC2713 || REGULATOR_SC2711
568     default n
569     help
570         This option only for debug purpose
571
572 config REGULATOR_SPRD_MAP
573         string "regulator map file name"
574         depends on REGULATOR_SPRD || REGULATOR_SC2713 || REGULATOR_SC2711
575         default "mach/__sc7710_regulator_map.h" if ARCH_SC7710
576         default "mach/chip_x35/__regulator_map.h" if ARCH_SCX35 && !ARCH_SCX15
577         default "mach/chip_x15/__regulator_map.h" if ARCH_SCX15
578         default "mach/__regulator_map.h"
579
580 config REGULATOR_SPRD_MAP_V1
581         string "sc2713s/sc2723... regulator map file name"
582         depends on REGULATOR_SC2713S || REGULATOR_SC2723
583         default "mach/chip_x30g/__sc2713s_regulator_map.h" if ARCH_SCX30G && ADIE_SC2713S
584         default "mach/chip_x35/__sc2713s_regulator_map.h" if ARCH_SCX35 && ADIE_SC2713S
585         default "mach/chip_x35l/__sc2723_regulator_map.h" if ARCH_SCX35L && (ADIE_SC2723 || ADIE_SC2723S)
586         default "mach/chip_x20l/__sc2723_regulator_map.h" if ARCH_SCX20L && (ADIE_SC2723 || ADIE_SC2723S)
587         default "mach/__regulator_map.h"
588
589 config REGULATOR_SUPPORT_CAMIO_1200MV
590         bool "Regulator support camio 1200mv voltage"
591         depends on REGULATOR_SC2713S
592         default n
593         help
594           Say Y here to support camio 1200mv voltage for sc2713s
595
596 config REGULATOR_EXT_DCDC
597         bool "Regulator support external dcdc"
598         default n
599         help
600           Say Y here to support external dcdc
601
602 endif
603