xref: /linux/drivers/regulator/Kconfig (revision 0eb5d5ab3ec99bfd22ff16797d95835369ffb25b)
1ba7e4763SLiam Girdwoodmenu "Voltage and Current regulators"
2ba7e4763SLiam Girdwood
3ba7e4763SLiam Girdwoodconfig REGULATOR
4ba7e4763SLiam Girdwood	bool "Voltage and Current Regulator Support"
5ba7e4763SLiam Girdwood	default n
6ba7e4763SLiam Girdwood	help
7ba7e4763SLiam Girdwood	  Generic Voltage and Current Regulator support.
8ba7e4763SLiam Girdwood
9ba7e4763SLiam Girdwood	  This framework is designed to provide a generic interface to voltage
10ba7e4763SLiam Girdwood	  and current regulators within the Linux kernel. It's intended to
11ba7e4763SLiam Girdwood	  provide voltage and current control to client or consumer drivers and
12ba7e4763SLiam Girdwood	  also provide status information to user space applications through a
13ba7e4763SLiam Girdwood	  sysfs interface.
14ba7e4763SLiam Girdwood
15ba7e4763SLiam Girdwood	  The intention is to allow systems to dynamically control regulator
16ba7e4763SLiam Girdwood	  output in order to save power and prolong battery life. This applies
17ba7e4763SLiam Girdwood	  to both voltage regulators (where voltage output is controllable) and
18ba7e4763SLiam Girdwood	  current sinks (where current output is controllable).
19ba7e4763SLiam Girdwood
20ba7e4763SLiam Girdwood	  This framework safely compiles out if not selected so that client
21ba7e4763SLiam Girdwood	  drivers can still be used in systems with no software controllable
22ba7e4763SLiam Girdwood	  regulators.
23ba7e4763SLiam Girdwood
24ba7e4763SLiam Girdwood	  If unsure, say no.
25ba7e4763SLiam Girdwood
26ba7e4763SLiam Girdwoodconfig REGULATOR_DEBUG
27ba7e4763SLiam Girdwood	bool "Regulator debug support"
28ba7e4763SLiam Girdwood	depends on REGULATOR
29ba7e4763SLiam Girdwood	help
30ba7e4763SLiam Girdwood	  Say yes here to enable debugging support.
31ba7e4763SLiam Girdwood
32ba7e4763SLiam Girdwoodconfig REGULATOR_FIXED_VOLTAGE
33ba7e4763SLiam Girdwood	tristate
34ba7e4763SLiam Girdwood	default n
35ba7e4763SLiam Girdwood	select REGULATOR
36ba7e4763SLiam Girdwood
37ba7e4763SLiam Girdwoodconfig REGULATOR_VIRTUAL_CONSUMER
38ba7e4763SLiam Girdwood	tristate "Virtual regulator consumer support"
39ba7e4763SLiam Girdwood	default n
40ba7e4763SLiam Girdwood	select REGULATOR
41ba7e4763SLiam Girdwood	help
42ba7e4763SLiam Girdwood	  This driver provides a virtual consumer for the voltage and
43ba7e4763SLiam Girdwood          current regulator API which provides sysfs controls for
44ba7e4763SLiam Girdwood          configuring the supplies requested.  This is mainly useful
45ba7e4763SLiam Girdwood          for test purposes.
46ba7e4763SLiam Girdwood
47ba7e4763SLiam Girdwood          If unsure, say no.
48ba7e4763SLiam Girdwood
49*0eb5d5abSPhilipp Zabelconfig REGULATOR_BQ24022
50*0eb5d5abSPhilipp Zabel	tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC"
51*0eb5d5abSPhilipp Zabel	default n
52*0eb5d5abSPhilipp Zabel	select REGULATOR
53*0eb5d5abSPhilipp Zabel	help
54*0eb5d5abSPhilipp Zabel	  This driver controls a TI bq24022 Charger attached via
55*0eb5d5abSPhilipp Zabel	  GPIOs. The provided current regulator can enable/disable
56*0eb5d5abSPhilipp Zabel	  charging select between 100 mA and 500 mA charging current
57*0eb5d5abSPhilipp Zabel	  limit.
58*0eb5d5abSPhilipp Zabel
59ba7e4763SLiam Girdwoodendmenu
60