Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. config DM_PMIC
  2. bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC)"
  3. depends on DM
  4. ---help---
  5. This config enables the driver-model PMIC support.
  6. UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
  7. For the multi-function PMIC devices, this can be used as parent I/O
  8. device for each IC's interface. Then, each children uses its parent
  9. for read/write. For detailed description, please refer to the files:
  10. - 'drivers/power/pmic/pmic-uclass.c'
  11. - 'include/power/pmic.h'
  12. config PMIC_CHILDREN
  13. bool "Allow child devices for PMICs"
  14. depends on DM_PMIC
  15. default y
  16. ---help---
  17. This allows PMICs to support child devices (such as regulators) in
  18. SPL. This adds quite a bit of code so if you are not using this
  19. feature you can turn it off. Most likely you should turn it on for
  20. U-Boot proper.
  21. config SPL_PMIC_CHILDREN
  22. bool "Allow child devices for PMICs in SPL"
  23. depends on DM_PMIC
  24. default y
  25. ---help---
  26. This allows PMICs to support child devices (such as regulators) in
  27. SPL. This adds quite a bit of code so if you are not using this
  28. feature you can turn it off. In this case you may need a 'back door'
  29. to call your regulator code (e.g. see rk8xx.c for direct functions
  30. for use in SPL).
  31. config PMIC_AB8500
  32. bool "Enable driver for ST-Ericsson AB8500 PMIC via PRCMU"
  33. depends on DM_PMIC
  34. select REGMAP
  35. select SYSCON
  36. help
  37. Enable support for the ST-Ericsson AB8500 (Analog Baseband) PMIC.
  38. It connects with the ST-Ericsson DB8500 SoC via an I2C bus managed by
  39. the power/reset/clock management unit (PRCMU) firmware.
  40. config PMIC_ACT8846
  41. bool "Enable support for the active-semi 8846 PMIC"
  42. depends on DM_PMIC && DM_I2C
  43. ---help---
  44. This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout
  45. regulators (LDOs). It also provides some GPIO, reset and battery
  46. functions. It uses an I2C interface and is designed for use with
  47. tablets and smartphones.
  48. config DM_PMIC_DA9063
  49. bool "Enable Driver Model for the Dialog DA9063 PMIC"
  50. depends on DM_PMIC
  51. help
  52. This config enables implementation of driver-model pmic uclass features
  53. for PMIC DA9063. The driver implements read/write operations.
  54. config SPL_DM_PMIC_DA9063
  55. bool "Enable Driver Model for the Dialog DA9063 PMIC in SPL"
  56. depends on DM_PMIC && SPL
  57. help
  58. This config enables implementation of driver-model pmic uclass features
  59. for PMIC DA9063. The driver implements read/write operations.
  60. config PMIC_AS3722
  61. bool "Enable support for the Austria Micro Systems (AMS) AS7322 PMIC"
  62. help
  63. The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a
  64. real-time clock, GPIOs, ADC and a few other features. It uses an I2C
  65. interface and is designs to cover most of the power managementment
  66. required for a tablets or laptop.
  67. config DM_PMIC_BD71837
  68. bool "Enable Driver Model for PMIC BD71837"
  69. depends on DM_PMIC
  70. help
  71. This config enables implementation of driver-model pmic uclass features
  72. for PMIC BD71837. The driver implements read/write operations.
  73. config SPL_DM_PMIC_BD71837
  74. bool "Enable Driver Model for PMIC BD71837 in SPL stage"
  75. depends on DM_PMIC
  76. help
  77. This config enables implementation of driver-model pmic uclass
  78. features for PMIC BD71837. The driver implements read/write
  79. operations.
  80. config DM_PMIC_FAN53555
  81. bool "Enable support for OnSemi FAN53555"
  82. depends on DM_PMIC && DM_REGULATOR && DM_I2C
  83. select DM_REGULATOR_FAN53555
  84. help
  85. This config enables implementation of driver-model PMIC
  86. uclass features for the FAN53555 regulator. The FAN53555 is
  87. a (family of) single-output regulators that supports
  88. transitioning between two different output voltages based on
  89. an voltage selection pin.
  90. The driver implements read/write operations for use with the FAN53555
  91. regulator driver and binds the regulator driver to its node.
  92. config DM_PMIC_MP5416
  93. bool "Enable Driver Model for PMIC MP5416"
  94. depends on DM_PMIC
  95. help
  96. This config enables implementation of driver-model pmic uclass features
  97. for PMIC MP5416. The driver implements read/write operations.
  98. config SPL_DM_PMIC_MP5416
  99. bool "Enable Driver Model for PMIC MP5416 in SPL stage"
  100. depends on DM_PMIC
  101. help
  102. This config enables implementation of driver-model pmic uclass
  103. features for PMIC MP5416. The driver implements read/write
  104. operations.
  105. config DM_PMIC_PCA9450
  106. bool "Enable Driver Model for PMIC PCA9450"
  107. depends on DM_PMIC
  108. help
  109. This config enables implementation of driver-model pmic uclass features
  110. for PMIC PCA9450. The driver implements read/write operations.
  111. config SPL_DM_PMIC_PCA9450
  112. bool "Enable Driver Model for PMIC PCA9450"
  113. depends on DM_PMIC
  114. help
  115. This config enables implementation of driver-model pmic uclass features
  116. for PMIC PCA9450 in SPL. The driver implements read/write operations.
  117. config DM_PMIC_PFUZE100
  118. bool "Enable Driver Model for PMIC PFUZE100"
  119. depends on DM_PMIC
  120. ---help---
  121. This config enables implementation of driver-model pmic uclass features
  122. for PMIC PFUZE100. The driver implements read/write operations.
  123. config SPL_DM_PMIC_PFUZE100
  124. bool "Enable Driver Model for PMIC PFUZE100 in SPL"
  125. depends on DM_PMIC
  126. ---help---
  127. This config enables implementation of driver-model pmic uclass features
  128. for PMIC PFUZE100 in SPL. The driver implements read/write operations.
  129. config DM_PMIC_MAX77686
  130. bool "Enable Driver Model for PMIC MAX77686"
  131. depends on DM_PMIC
  132. ---help---
  133. This config enables implementation of driver-model pmic uclass features
  134. for PMIC MAX77686. The driver implements read/write operations.
  135. config DM_PMIC_MAX8998
  136. bool "Enable Driver Model for PMIC MAX8998"
  137. depends on DM_PMIC
  138. ---help---
  139. This config enables implementation of driver-model pmic uclass features
  140. for PMIC MAX8998. The driver implements read/write operations.
  141. config DM_PMIC_MC34708
  142. bool "Enable Driver Model for PMIC MC34708"
  143. depends on DM_PMIC
  144. help
  145. This config enables implementation of driver-model pmic uclass features
  146. for PMIC MC34708. The driver implements read/write operations.
  147. config PMIC_MAX8997
  148. bool "Enable Driver Model for PMIC MAX8997"
  149. depends on DM_PMIC
  150. ---help---
  151. This config enables implementation of driver-model pmic uclass features
  152. for PMIC MAX8997. The driver implements read/write operations.
  153. This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
  154. - 21x LDOs
  155. - 12x GPIOs
  156. - Haptic Motor driver
  157. - RTC with two alarms
  158. - Fueal Gauge and One backup battery charger
  159. - MUIC
  160. - Others
  161. config PMIC_PM8916
  162. bool "Enable Driver Model for Qualcomm PM8916 PMIC"
  163. depends on DM_PMIC
  164. ---help---
  165. The PM8916 is a PMIC connected to one (or several) processors
  166. with SPMI bus. It has 2 slaves with several peripherals:
  167. - 18x LDO
  168. - 4x GPIO
  169. - Power and Reset buttons
  170. - Watchdog
  171. - RTC
  172. - Vibrator drivers
  173. - Others
  174. Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
  175. config PMIC_RK8XX
  176. bool "Enable support for Rockchip PMIC RK8XX"
  177. depends on DM_PMIC
  178. ---help---
  179. The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
  180. an RTC and two low Rds (resistance (drain to source)) switches. It is
  181. accessed via an I2C interface. The device is used with Rockchip SoCs.
  182. This driver implements register read/write operations.
  183. config PMIC_S2MPS11
  184. bool "Enable Driver Model for PMIC Samsung S2MPS11"
  185. depends on DM_PMIC
  186. ---help---
  187. The Samsung S2MPS11 PMIC provides:
  188. - 38 adjustable LDO regulators
  189. - 9 High-Efficiency Buck Converters
  190. - 1 BuckBoost Converter
  191. - RTC with two alarms
  192. - Backup battery charger
  193. - I2C Configuration Interface
  194. This driver provides access to I/O interface only.
  195. Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
  196. config DM_PMIC_SANDBOX
  197. bool "Enable Driver Model for emulated Sandbox PMIC"
  198. depends on DM_PMIC
  199. ---help---
  200. Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
  201. depends on two drivers:
  202. - sandbox PMIC I/O driver - implements dm pmic operations
  203. - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
  204. A detailed information can be found in header: '<power/sandbox_pmic.h>'
  205. The Sandbox PMIC info:
  206. * I/O interface:
  207. - I2C chip address: 0x40
  208. - first register address: 0x0
  209. - register count: 0x10
  210. * Adjustable outputs:
  211. - 2x LDO
  212. - 2x BUCK
  213. - Each, with a different operating conditions (header).
  214. * Reset values:
  215. - set by i2c emul driver's probe() (defaults in header)
  216. Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
  217. config PMIC_S5M8767
  218. bool "Enable Driver Model for the Samsung S5M8767 PMIC"
  219. depends on DM_PMIC
  220. ---help---
  221. The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
  222. as a SoC power controller. It also provides 32KHz clock outputs. This
  223. driver provides basic register access and sets up the attached
  224. regulators if regulator support is enabled.
  225. config PMIC_RN5T567
  226. bool "Enable driver for Ricoh RN5T567 PMIC"
  227. depends on DM_PMIC
  228. ---help---
  229. The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
  230. regulators Real-Time Clock and 4 GPIOs. This driver provides
  231. register access only.
  232. config PMIC_TPS65090
  233. bool "Enable driver for Texas Instruments TPS65090 PMIC"
  234. depends on DM_PMIC
  235. ---help---
  236. The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
  237. FETs and a battery charger. This driver provides register access
  238. only, and you can enable the regulator/charger drivers separately if
  239. required.
  240. config PMIC_PALMAS
  241. bool "Enable driver for Texas Instruments PALMAS PMIC"
  242. depends on DM_PMIC
  243. ---help---
  244. The PALMAS is a PMIC containing several LDOs, SMPS.
  245. This driver binds the pmic children.
  246. config PMIC_LP873X
  247. bool "Enable driver for Texas Instruments LP873X PMIC"
  248. depends on DM_PMIC
  249. ---help---
  250. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  251. This driver binds the pmic children.
  252. config PMIC_LP87565
  253. bool "Enable driver for Texas Instruments LP87565 PMIC"
  254. depends on DM_PMIC
  255. ---help---
  256. The LP87565 is a PMIC containing a bunch of SMPS.
  257. This driver binds the pmic children.
  258. config POWER_MC34VR500
  259. bool "Enable driver for Freescale MC34VR500 PMIC"
  260. ---help---
  261. The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
  262. SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
  263. via an I2C interface.
  264. config DM_PMIC_TPS65910
  265. bool "Enable driver for Texas Instruments TPS65910 PMIC"
  266. depends on DM_PMIC
  267. ---help---
  268. The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
  269. DC-DC converter, 8 LDOs and a RTC. This driver binds the SMPS and LDO
  270. pmic children.
  271. config PMIC_STPMIC1
  272. bool "Enable support for STMicroelectronics STPMIC1 PMIC"
  273. depends on DM_PMIC && DM_I2C
  274. select SYSRESET_CMD_POWEROFF if CMD_POWEROFF && !ARM_PSCI_FW
  275. ---help---
  276. The STPMIC1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches.
  277. It is accessed via an I2C interface. The device is used with STM32MP1
  278. SoCs. This driver implements register read/write operations.
  279. config SPL_PMIC_PALMAS
  280. bool "Enable driver for Texas Instruments PALMAS PMIC"
  281. depends on DM_PMIC
  282. help
  283. The PALMAS is a PMIC containing several LDOs, SMPS.
  284. This driver binds the pmic children in SPL.
  285. config SPL_PMIC_LP873X
  286. bool "Enable driver for Texas Instruments LP873X PMIC"
  287. depends on DM_PMIC
  288. help
  289. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  290. This driver binds the pmic children in SPL.
  291. config SPL_PMIC_LP87565
  292. bool "Enable driver for Texas Instruments LP87565 PMIC"
  293. depends on DM_PMIC
  294. help
  295. The LP87565 is a PMIC containing a bunch of SMPS.
  296. This driver binds the pmic children in SPL.
  297. config PMIC_TPS65941
  298. bool "Enable driver for Texas Instruments TPS65941 PMIC"
  299. depends on DM_PMIC
  300. help
  301. The TPS65941 is a PMIC containing a bunch of SMPS & LDOs.
  302. This driver binds the pmic children.