xref: /openbmc/linux/drivers/regulator/Kconfig (revision 10f0fc17)
1menuconfig REGULATOR
2	bool "Voltage and Current Regulator Support"
3	default n
4	help
5	  Generic Voltage and Current Regulator support.
6
7	  This framework is designed to provide a generic interface to voltage
8	  and current regulators within the Linux kernel. It's intended to
9	  provide voltage and current control to client or consumer drivers and
10	  also provide status information to user space applications through a
11	  sysfs interface.
12
13	  The intention is to allow systems to dynamically control regulator
14	  output in order to save power and prolong battery life. This applies
15	  to both voltage regulators (where voltage output is controllable) and
16	  current sinks (where current output is controllable).
17
18	  This framework safely compiles out if not selected so that client
19	  drivers can still be used in systems with no software controllable
20	  regulators.
21
22	  If unsure, say no.
23
24if REGULATOR
25
26config REGULATOR_DEBUG
27	bool "Regulator debug support"
28	help
29	  Say yes here to enable debugging support.
30
31config REGULATOR_FIXED_VOLTAGE
32	tristate
33	default n
34
35config REGULATOR_VIRTUAL_CONSUMER
36	tristate "Virtual regulator consumer support"
37	default n
38	help
39	  This driver provides a virtual consumer for the voltage and
40          current regulator API which provides sysfs controls for
41          configuring the supplies requested.  This is mainly useful
42          for test purposes.
43
44          If unsure, say no.
45
46config REGULATOR_BQ24022
47	tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC"
48	default n
49	help
50	  This driver controls a TI bq24022 Charger attached via
51	  GPIOs. The provided current regulator can enable/disable
52	  charging select between 100 mA and 500 mA charging current
53	  limit.
54
55config REGULATOR_WM8350
56	tristate "Wolfson Microelectroncis WM8350 AudioPlus PMIC"
57	depends on MFD_WM8350
58	help
59	  This driver provides support for the voltage and current regulators
60          of the WM8350 AudioPlus PMIC.
61
62config REGULATOR_WM8400
63	tristate "Wolfson Microelectroncis WM8400 AudioPlus PMIC"
64	depends on MFD_WM8400
65	help
66	  This driver provides support for the voltage regulators of the
67	  WM8400 AudioPlus PMIC.
68
69config REGULATOR_DA903X
70	tristate "Support regulators on Dialog Semiconductor DA9030/DA9034 PMIC"
71	depends on PMIC_DA903X
72	help
73	  Say y here to support the BUCKs and LDOs regulators found on
74	  Dialog Semiconductor DA9030/DA9034 PMIC.
75
76config REGULATOR_PCF50633
77	tristate "PCF50633 regulator driver"
78        depends on MFD_PCF50633
79	help
80	 Say Y here to support the voltage regulators and convertors
81	 on PCF50633
82
83endif
84