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