xref: /linux/drivers/regulator/Kconfig (revision da09155ac8d3f04c299b3d82a6ab0df8d03da632)
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
490eb5d5abSPhilipp Zabelconfig REGULATOR_BQ24022
500eb5d5abSPhilipp Zabel	tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC"
510eb5d5abSPhilipp Zabel	default n
520eb5d5abSPhilipp Zabel	select REGULATOR
530eb5d5abSPhilipp Zabel	help
540eb5d5abSPhilipp Zabel	  This driver controls a TI bq24022 Charger attached via
550eb5d5abSPhilipp Zabel	  GPIOs. The provided current regulator can enable/disable
560eb5d5abSPhilipp Zabel	  charging select between 100 mA and 500 mA charging current
570eb5d5abSPhilipp Zabel	  limit.
580eb5d5abSPhilipp Zabel
59*da09155aSMark Brownconfig REGULATOR_WM8350
60*da09155aSMark Brown	tristate "Wolfson Microelectroncis WM8350 AudioPlus PMIC"
61*da09155aSMark Brown	depends on MFD_WM8350
62*da09155aSMark Brown	select REGULATOR
63*da09155aSMark Brown	help
64*da09155aSMark Brown	  This driver provides support for the voltage and current regulators
65*da09155aSMark Brown          of the WM8350 AudioPlus PMIC.
66*da09155aSMark Brown
6742fad570SMark Brownconfig REGULATOR_WM8400
6842fad570SMark Brown	tristate "Wolfson Microelectroncis WM8400 AudioPlus PMIC"
6942fad570SMark Brown	depends on MFD_WM8400
7042fad570SMark Brown	select REGULATOR
7142fad570SMark Brown	help
7242fad570SMark Brown	  This driver provides support for the voltage regulators of the
7342fad570SMark Brown	  WM8400 AudioPlus PMIC.
74*da09155aSMark Brown
75ba7e4763SLiam Girdwoodendmenu
76