Kconfig 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. menuconfig REGULATOR
  2. bool "Voltage and Current Regulator Support"
  3. help
  4. Generic Voltage and Current Regulator support.
  5. This framework is designed to provide a generic interface to voltage
  6. and current regulators within the Linux kernel. It's intended to
  7. provide voltage and current control to client or consumer drivers and
  8. also provide status information to user space applications through a
  9. sysfs interface.
  10. The intention is to allow systems to dynamically control regulator
  11. output in order to save power and prolong battery life. This applies
  12. to both voltage regulators (where voltage output is controllable) and
  13. current sinks (where current output is controllable).
  14. This framework safely compiles out if not selected so that client
  15. drivers can still be used in systems with no software controllable
  16. regulators.
  17. If unsure, say no.
  18. if REGULATOR
  19. config REGULATOR_DEBUG
  20. bool "Regulator debug support"
  21. help
  22. Say yes here to enable debugging support.
  23. config REGULATOR_DUMMY
  24. bool "Provide a dummy regulator if regulator lookups fail"
  25. help
  26. If this option is enabled then when a regulator lookup fails
  27. and the board has not specified that it has provided full
  28. constraints then the regulator core will provide an always
  29. enabled dummy regulator will be provided, allowing consumer
  30. drivers to continue.
  31. A warning will be generated when this substitution is done.
  32. config REGULATOR_FIXED_VOLTAGE
  33. tristate "Fixed voltage regulator support"
  34. help
  35. This driver provides support for fixed voltage regulators,
  36. useful for systems which use a combination of software
  37. managed regulators and simple non-configurable regulators.
  38. config REGULATOR_VIRTUAL_CONSUMER
  39. tristate "Virtual regulator consumer support"
  40. help
  41. This driver provides a virtual consumer for the voltage and
  42. current regulator API which provides sysfs controls for
  43. configuring the supplies requested. This is mainly useful
  44. for test purposes.
  45. If unsure, say no.
  46. config REGULATOR_USERSPACE_CONSUMER
  47. tristate "Userspace regulator consumer support"
  48. help
  49. There are some classes of devices that are controlled entirely
  50. from user space. Userspace consumer driver provides ability to
  51. control power supplies for such devices.
  52. If unsure, say no.
  53. config REGULATOR_GPIO
  54. tristate "GPIO regulator support"
  55. depends on GENERIC_GPIO
  56. help
  57. This driver provides support for regulators that can be
  58. controlled via gpios.
  59. It is capable of supporting current and voltage regulators
  60. and the platform has to provide a mapping of GPIO-states
  61. to target volts/amps.
  62. config REGULATOR_AD5398
  63. tristate "Analog Devices AD5398/AD5821 regulators"
  64. depends on I2C
  65. help
  66. This driver supports AD5398 and AD5821 current regulator chips.
  67. If building into module, its name is ad5398.ko.
  68. config REGULATOR_AAT2870
  69. tristate "AnalogicTech AAT2870 Regulators"
  70. depends on MFD_AAT2870_CORE
  71. help
  72. If you have a AnalogicTech AAT2870 say Y to enable the
  73. regulator driver.
  74. config REGULATOR_DA903X
  75. tristate "Dialog Semiconductor DA9030/DA9034 regulators"
  76. depends on PMIC_DA903X
  77. help
  78. Say y here to support the BUCKs and LDOs regulators found on
  79. Dialog Semiconductor DA9030/DA9034 PMIC.
  80. config REGULATOR_DA9052
  81. tristate "Dialog Semiconductor DA9052/DA9053 regulators"
  82. depends on PMIC_DA9052
  83. help
  84. This driver supports the voltage regulators of DA9052-BC and
  85. DA9053-AA/Bx PMIC.
  86. config REGULATOR_FAN53555
  87. tristate "Fairchild FAN53555 Regulator"
  88. depends on I2C
  89. select REGMAP_I2C
  90. help
  91. This driver supports Fairchild FAN53555 Digitally Programmable
  92. TinyBuck Regulator. The FAN53555 is a step-down switching voltage
  93. regulator that delivers a digitally programmable output from an
  94. input voltage supply of 2.5V to 5.5V. The output voltage is
  95. programmed through an I2C interface.
  96. config REGULATOR_ANATOP
  97. tristate "Freescale i.MX on-chip ANATOP LDO regulators"
  98. depends on MFD_ANATOP
  99. help
  100. Say y here to support Freescale i.MX on-chip ANATOP LDOs
  101. regulators. It is recommended that this option be
  102. enabled on i.MX6 platform.
  103. config REGULATOR_MC13XXX_CORE
  104. tristate
  105. config REGULATOR_MC13783
  106. tristate "Freescale MC13783 regulator driver"
  107. depends on MFD_MC13783
  108. select REGULATOR_MC13XXX_CORE
  109. help
  110. Say y here to support the regulators found on the Freescale MC13783
  111. PMIC.
  112. config REGULATOR_MC13892
  113. tristate "Freescale MC13892 regulator driver"
  114. depends on MFD_MC13XXX
  115. select REGULATOR_MC13XXX_CORE
  116. help
  117. Say y here to support the regulators found on the Freescale MC13892
  118. PMIC.
  119. config REGULATOR_MEM_ACC
  120. tristate "QTI Memory accelerator regulator driver"
  121. help
  122. Say y here to enable the memory accelerator driver for Qualcomm
  123. Technologies (QTI) chips. The accelerator controls delays applied
  124. for memory accesses.
  125. This driver configures the power-mode (corner) for the memory
  126. accelerator.
  127. config REGULATOR_ISL6271A
  128. tristate "Intersil ISL6271A Power regulator"
  129. depends on I2C
  130. help
  131. This driver supports ISL6271A voltage regulator chip.
  132. config REGULATOR_88PM8607
  133. bool "Marvell 88PM8607 Power regulators"
  134. depends on MFD_88PM860X=y
  135. help
  136. This driver supports 88PM8607 voltage regulator chips.
  137. config REGULATOR_MAX1586
  138. tristate "Maxim 1586/1587 voltage regulator"
  139. depends on I2C
  140. help
  141. This driver controls a Maxim 1586 or 1587 voltage output
  142. regulator via I2C bus. The provided regulator is suitable
  143. for PXA27x chips to control VCC_CORE and VCC_USIM voltages.
  144. config REGULATOR_MAX8649
  145. tristate "Maxim 8649 voltage regulator"
  146. depends on I2C
  147. select REGMAP_I2C
  148. help
  149. This driver controls a Maxim 8649 voltage output regulator via
  150. I2C bus.
  151. config REGULATOR_MAX8660
  152. tristate "Maxim 8660/8661 voltage regulator"
  153. depends on I2C
  154. help
  155. This driver controls a Maxim 8660/8661 voltage output
  156. regulator via I2C bus.
  157. config REGULATOR_MAX8925
  158. tristate "Maxim MAX8925 Power Management IC"
  159. depends on MFD_MAX8925
  160. help
  161. Say y here to support the voltage regulaltor of Maxim MAX8925 PMIC.
  162. config REGULATOR_MAX8952
  163. tristate "Maxim MAX8952 Power Management IC"
  164. depends on I2C
  165. help
  166. This driver controls a Maxim 8952 voltage output regulator
  167. via I2C bus. Maxim 8952 has one voltage output and supports 4 DVS
  168. modes ranging from 0.77V to 1.40V by 0.01V steps.
  169. config REGULATOR_MAX8997
  170. tristate "Maxim 8997/8966 regulator"
  171. depends on MFD_MAX8997
  172. help
  173. This driver controls a Maxim 8997/8966 regulator
  174. via I2C bus. The provided regulator is suitable for S5PC110,
  175. S5PV210, and Exynos-4 chips to control VCC_CORE and
  176. VCC_USIM voltages.
  177. config REGULATOR_MAX8998
  178. tristate "Maxim 8998 voltage regulator"
  179. depends on MFD_MAX8998
  180. help
  181. This driver controls a Maxim 8998 voltage output regulator
  182. via I2C bus. The provided regulator is suitable for S3C6410
  183. and S5PC1XX chips to control VCC_CORE and VCC_USIM voltages.
  184. config REGULATOR_MAX77826
  185. tristate "Maxim 77826 regulator"
  186. depends on I2C
  187. help
  188. This driver provides support for the voltage regulators of the MAX77826.
  189. The MAX77826 is a companion power management IC for the smart phones.
  190. The Max77826 handles LDO and BUCK control.
  191. config REGULATOR_MAX77803
  192. tristate "Maxim 777803 regulator"
  193. depends on MFD_MAX77803
  194. help
  195. This driver provides support for the voltage regulators of the
  196. MAX77803 PMIC
  197. The MAX77803 is a companion power management IC for the smart phones
  198. The Maxim Max 77803 handles PMIC, MUIC, and the flash LED control.
  199. config REGULATOR_MAX77804K
  200. tristate "Maxim 777804K regulator"
  201. depends on MFD_MAX77804K
  202. help
  203. This driver provides support for the voltage regulators of the
  204. MAX77804K PMIC
  205. The MAX77804K is a companion power management IC for the smart phones
  206. The Maxim Max 77804K handles PMIC, MUIC, and the flash LED control.
  207. config REGULATOR_MAX77823
  208. tristate "Maxim 777823 regulator"
  209. depends on MFD_MAX77823
  210. help
  211. This driver provides support for the voltage regulators of the
  212. MAX77823 safeout
  213. The MAX77823 is a companion power management IC for the smart phones
  214. The Maxim Max 77823 handles PMIC, MUIC, and the flash LED control.
  215. config REGULATOR_MAX77888
  216. tristate "Maxim 777888 regulator"
  217. depends on MFD_MAX77888
  218. help
  219. This driver provides support for the voltage regulators of the
  220. MAX77888 PMIC
  221. The MAX77888 is a companion power management IC for the smart phones
  222. The Maxim Max 77888 handles PMIC, MUIC, and the flash LED control.
  223. config REGULATOR_ONSEMI_NCP6335D
  224. tristate "OnSemi NCP6335D regulator support"
  225. depends on I2C
  226. help
  227. This driver supports the OnSemi NCP6335D switching voltage regulator
  228. (buck convertor). The regulator is controlled using an I2C interface
  229. and supports a programmable voltage range from 0.6V to 1.4V in steps
  230. of 6.25mV.
  231. config REGULATOR_PCAP
  232. tristate "Motorola PCAP2 regulator driver"
  233. depends on EZX_PCAP
  234. help
  235. This driver provides support for the voltage regulators of the
  236. PCAP2 PMIC.
  237. config REGULATOR_LP3971
  238. tristate "National Semiconductors LP3971 PMIC regulator driver"
  239. depends on I2C
  240. help
  241. Say Y here to support the voltage regulators and convertors
  242. on National Semiconductors LP3971 PMIC
  243. config REGULATOR_LP3972
  244. tristate "National Semiconductors LP3972 PMIC regulator driver"
  245. depends on I2C
  246. help
  247. Say Y here to support the voltage regulators and convertors
  248. on National Semiconductors LP3972 PMIC
  249. config REGULATOR_PCF50633
  250. tristate "NXP PCF50633 regulator driver"
  251. depends on MFD_PCF50633
  252. help
  253. Say Y here to support the voltage regulators and convertors
  254. on PCF50633
  255. config REGULATOR_S5M8767
  256. tristate "Samsung S5M8767A voltage regulator"
  257. depends on MFD_S5M_CORE
  258. help
  259. This driver supports a Samsung S5M8767A voltage output regulator
  260. via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and
  261. supports DVS mode with 8bits of output voltage control.
  262. config REGULATOR_AB3100
  263. tristate "ST-Ericsson AB3100 Regulator functions"
  264. depends on AB3100_CORE
  265. default y if AB3100_CORE
  266. help
  267. These regulators correspond to functionality in the
  268. AB3100 analog baseband dealing with power regulators
  269. for the system.
  270. config REGULATOR_AB8500
  271. bool "ST-Ericsson AB8500 Power Regulators"
  272. depends on AB8500_CORE
  273. help
  274. This driver supports the regulators found on the ST-Ericsson mixed
  275. signal AB8500 PMIC
  276. config REGULATOR_DBX500_PRCMU
  277. bool
  278. config REGULATOR_DB8500_PRCMU
  279. bool "ST-Ericsson DB8500 Voltage Domain Regulators"
  280. depends on MFD_DB8500_PRCMU
  281. select REGULATOR_DBX500_PRCMU
  282. help
  283. This driver supports the voltage domain regulators controlled by the
  284. DB8500 PRCMU
  285. config REGULATOR_TPS6105X
  286. tristate "TI TPS6105X Power regulators"
  287. depends on TPS6105X
  288. default y if TPS6105X
  289. help
  290. This driver supports TPS61050/TPS61052 voltage regulator chips.
  291. It is a single boost converter primarily for white LEDs and
  292. audio amplifiers.
  293. config REGULATOR_TPS62360
  294. tristate "TI TPS62360 Power Regulator"
  295. depends on I2C
  296. select REGMAP_I2C
  297. help
  298. This driver supports TPS62360 voltage regulator chip. This
  299. regulator is meant for processor core supply. This chip is
  300. high-frequency synchronous step down dc-dc converter optimized
  301. for battery-powered portable applications.
  302. config REGULATOR_TPS65023
  303. tristate "TI TPS65023 Power regulators"
  304. depends on I2C
  305. select REGMAP_I2C
  306. help
  307. This driver supports TPS65023 voltage regulator chips. TPS65023 provides
  308. three step-down converters and two general-purpose LDO voltage regulators.
  309. It supports TI's software based Class-2 SmartReflex implementation.
  310. config REGULATOR_TPS6507X
  311. tristate "TI TPS6507X Power regulators"
  312. depends on I2C
  313. help
  314. This driver supports TPS6507X voltage regulator chips. TPS6507X provides
  315. three step-down converters and two general-purpose LDO voltage regulators.
  316. It supports TI's software based Class-2 SmartReflex implementation.
  317. config REGULATOR_TPS65217
  318. tristate "TI TPS65217 Power regulators"
  319. depends on MFD_TPS65217
  320. help
  321. This driver supports TPS65217 voltage regulator chips. TPS65217
  322. provides three step-down converters and four general-purpose LDO
  323. voltage regulators. It supports software based voltage control
  324. for different voltage domains
  325. config REGULATOR_TPS6524X
  326. tristate "TI TPS6524X Power regulators"
  327. depends on SPI
  328. help
  329. This driver supports TPS6524X voltage regulator chips. TPS6524X
  330. provides three step-down converters and two general-purpose LDO
  331. voltage regulators. This device is interfaced using a customized
  332. serial interface currently supported on the sequencer serial
  333. port controller.
  334. config REGULATOR_TPS6586X
  335. tristate "TI TPS6586X Power regulators"
  336. depends on MFD_TPS6586X
  337. help
  338. This driver supports TPS6586X voltage regulator chips.
  339. config REGULATOR_TPS65910
  340. tristate "TI TPS65910/TPS65911 Power Regulators"
  341. depends on MFD_TPS65910
  342. help
  343. This driver supports TPS65910/TPS65911 voltage regulator chips.
  344. config REGULATOR_TPS65912
  345. tristate "TI TPS65912 Power regulator"
  346. depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
  347. help
  348. This driver supports TPS65912 voltage regulator chip.
  349. config REGULATOR_TWL4030
  350. bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 PMIC"
  351. depends on TWL4030_CORE
  352. help
  353. This driver supports the voltage regulators provided by
  354. this family of companion chips.
  355. config REGULATOR_WM831X
  356. tristate "Wolfson Microelectronics WM831x PMIC regulators"
  357. depends on MFD_WM831X
  358. help
  359. Support the voltage and current regulators of the WM831x series
  360. of PMIC devices.
  361. config REGULATOR_WM8350
  362. tristate "Wolfson Microelectronics WM8350 AudioPlus PMIC"
  363. depends on MFD_WM8350
  364. help
  365. This driver provides support for the voltage and current regulators
  366. of the WM8350 AudioPlus PMIC.
  367. config REGULATOR_WM8400
  368. tristate "Wolfson Microelectronics WM8400 AudioPlus PMIC"
  369. depends on MFD_WM8400
  370. help
  371. This driver provides support for the voltage regulators of the
  372. WM8400 AudioPlus PMIC.
  373. config REGULATOR_WM8994
  374. tristate "Wolfson Microelectronics WM8994 CODEC"
  375. depends on MFD_WM8994
  376. help
  377. This driver provides support for the voltage regulators on the
  378. WM8994 CODEC.
  379. config REGULATOR_PMIC8058
  380. tristate "PMIC8058 regulator driver"
  381. depends on PMIC8058 && (ARCH_MSM8X60 || ARCH_FSM9XXX)
  382. default y if PMIC8058 && (ARCH_MSM8X60 || ARCH_FSM9XXX)
  383. help
  384. Say Y here to support the voltage regulators on PMIC8058
  385. config REGULATOR_PMIC8901
  386. tristate "PMIC8901 regulator driver"
  387. depends on PMIC8901 && ARCH_MSM8X60
  388. default y if PMIC8901 && ARCH_MSM8X60
  389. help
  390. Say Y here to support the voltage regulators on PMIC8901
  391. config REGULATOR_PM8XXX
  392. tristate "Qualcomm PM8XXX PMIC Voltage regulators"
  393. depends on MFD_PM8XXX
  394. help
  395. This driver supports voltage regulators in Qualcomm PM8XXX PMIC chips.
  396. PM8XXX chips provide several different varieties of LDO and switching
  397. regulators. They also provide negative charge pumps and voltage
  398. switches.
  399. config REGULATOR_MSM_GPIO
  400. tristate "MSM GPIO regulator"
  401. depends on GPIOLIB
  402. help
  403. This driver provides a regulator wrapper around a GPIO pin that is set
  404. to output. It is intended to be used for GPIO pins that provide the
  405. enable signal to a physical regulator. The GPIO enable signal can
  406. be configured to be active high (default) or active low.
  407. config REGULATOR_PM8058_XO
  408. tristate "PM8058 XO Buffer driver"
  409. depends on PMIC8058
  410. default n
  411. help
  412. This driver supports xo buffer control in the Qualcomm PM8058 PMIC
  413. chip. It is only supposed to be used when Linux on application
  414. processor is the master in control of XO buffers.
  415. config REGULATOR_STUB
  416. tristate "Stub Regulator"
  417. help
  418. This driver adds stub regulator support. The driver is absent of any
  419. real hardware based implementation. It allows for clients to register
  420. their regulator device constraints and use all of the standard
  421. regulator interfaces. This is useful for bringing up new platforms
  422. when the real hardware based implementation may not be yet available.
  423. Clients can use the real regulator device names with proper
  424. constraint checking while the real driver is being developed.
  425. config REGULATOR_QPNP
  426. depends on SPMI
  427. depends on OF_SPMI
  428. tristate "Qualcomm QPNP regulator support"
  429. help
  430. This driver supports voltage regulators in Qualcomm PMIC chips which
  431. comply with QPNP. QPNP is a SPMI based PMIC implementation. These
  432. chips provide several different varieties of LDO and switching
  433. regulators. They also provide voltage switches and boost regulators.
  434. endif