Kconfig 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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_ACT8846
  32. bool "Enable support for the active-semi 8846 PMIC"
  33. depends on DM_PMIC && DM_I2C
  34. ---help---
  35. This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout
  36. regulators (LDOs). It also provides some GPIO, reset and battery
  37. functions. It uses an I2C interface and is designed for use with
  38. tablets and smartphones.
  39. config PMIC_AS3722
  40. bool "Enable support for the Austria Micro Systems (AMS) AS7322 PMIC"
  41. help
  42. The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a
  43. real-time clock, GPIOs, ADC and a few other features. It uses an I2C
  44. interface and is designs to cover most of the power managementment
  45. required for a tablets or laptop.
  46. config DM_PMIC_BD71837
  47. bool "Enable Driver Model for PMIC BD71837"
  48. depends on DM_PMIC
  49. help
  50. This config enables implementation of driver-model pmic uclass features
  51. for PMIC BD71837. The driver implements read/write operations.
  52. config SPL_DM_PMIC_BD71837
  53. bool "Enable Driver Model for PMIC BD71837 in SPL stage"
  54. depends on DM_PMIC
  55. help
  56. This config enables implementation of driver-model pmic uclass
  57. features for PMIC BD71837. The driver implements read/write
  58. operations.
  59. config DM_PMIC_FAN53555
  60. bool "Enable support for OnSemi FAN53555"
  61. depends on DM_PMIC && DM_REGULATOR && DM_I2C
  62. select DM_REGULATOR_FAN53555
  63. help
  64. This config enables implementation of driver-model PMIC
  65. uclass features for the FAN53555 regulator. The FAN53555 is
  66. a (family of) single-output regulators that supports
  67. transitioning between two different output voltages based on
  68. an voltage selection pin.
  69. The driver implements read/write operations for use with the FAN53555
  70. regulator driver and binds the regulator driver to its node.
  71. config DM_PMIC_PFUZE100
  72. bool "Enable Driver Model for PMIC PFUZE100"
  73. depends on DM_PMIC
  74. ---help---
  75. This config enables implementation of driver-model pmic uclass features
  76. for PMIC PFUZE100. The driver implements read/write operations.
  77. config DM_PMIC_MAX77686
  78. bool "Enable Driver Model for PMIC MAX77686"
  79. depends on DM_PMIC
  80. ---help---
  81. This config enables implementation of driver-model pmic uclass features
  82. for PMIC MAX77686. The driver implements read/write operations.
  83. config DM_PMIC_MAX8998
  84. bool "Enable Driver Model for PMIC MAX8998"
  85. depends on DM_PMIC
  86. ---help---
  87. This config enables implementation of driver-model pmic uclass features
  88. for PMIC MAX8998. The driver implements read/write operations.
  89. config DM_PMIC_MC34708
  90. bool "Enable Driver Model for PMIC MC34708"
  91. depends on DM_PMIC
  92. help
  93. This config enables implementation of driver-model pmic uclass features
  94. for PMIC MC34708. The driver implements read/write operations.
  95. config PMIC_MAX8997
  96. bool "Enable Driver Model for PMIC MAX8997"
  97. depends on DM_PMIC
  98. ---help---
  99. This config enables implementation of driver-model pmic uclass features
  100. for PMIC MAX8997. The driver implements read/write operations.
  101. This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
  102. - 21x LDOs
  103. - 12x GPIOs
  104. - Haptic Motor driver
  105. - RTC with two alarms
  106. - Fueal Gauge and One backup battery charger
  107. - MUIC
  108. - Others
  109. config PMIC_PM8916
  110. bool "Enable Driver Model for Qualcomm PM8916 PMIC"
  111. depends on DM_PMIC
  112. ---help---
  113. The PM8916 is a PMIC connected to one (or several) processors
  114. with SPMI bus. It has 2 slaves with several peripherals:
  115. - 18x LDO
  116. - 4x GPIO
  117. - Power and Reset buttons
  118. - Watchdog
  119. - RTC
  120. - Vibrator drivers
  121. - Others
  122. Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
  123. config PMIC_RK8XX
  124. bool "Enable support for Rockchip PMIC RK8XX"
  125. depends on DM_PMIC
  126. ---help---
  127. The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
  128. an RTC and two low Rds (resistance (drain to source)) switches. It is
  129. accessed via an I2C interface. The device is used with Rockchip SoCs.
  130. This driver implements register read/write operations.
  131. config PMIC_S2MPS11
  132. bool "Enable Driver Model for PMIC Samsung S2MPS11"
  133. depends on DM_PMIC
  134. ---help---
  135. The Samsung S2MPS11 PMIC provides:
  136. - 38 adjustable LDO regulators
  137. - 9 High-Efficiency Buck Converters
  138. - 1 BuckBoost Converter
  139. - RTC with two alarms
  140. - Backup battery charger
  141. - I2C Configuration Interface
  142. This driver provides access to I/O interface only.
  143. Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
  144. config DM_PMIC_SANDBOX
  145. bool "Enable Driver Model for emulated Sandbox PMIC"
  146. depends on DM_PMIC
  147. ---help---
  148. Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
  149. depends on two drivers:
  150. - sandbox PMIC I/O driver - implements dm pmic operations
  151. - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
  152. A detailed information can be found in header: '<power/sandbox_pmic.h>'
  153. The Sandbox PMIC info:
  154. * I/O interface:
  155. - I2C chip address: 0x40
  156. - first register address: 0x0
  157. - register count: 0x10
  158. * Adjustable outputs:
  159. - 2x LDO
  160. - 2x BUCK
  161. - Each, with a different operating conditions (header).
  162. * Reset values:
  163. - set by i2c emul driver's probe() (defaults in header)
  164. Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
  165. config PMIC_S5M8767
  166. bool "Enable Driver Model for the Samsung S5M8767 PMIC"
  167. depends on DM_PMIC
  168. ---help---
  169. The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
  170. as a SoC power controller. It also provides 32KHz clock outputs. This
  171. driver provides basic register access and sets up the attached
  172. regulators if regulator support is enabled.
  173. config PMIC_RN5T567
  174. bool "Enable driver for Ricoh RN5T567 PMIC"
  175. depends on DM_PMIC
  176. ---help---
  177. The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
  178. regulators Real-Time Clock and 4 GPIOs. This driver provides
  179. register access only.
  180. config PMIC_TPS65090
  181. bool "Enable driver for Texas Instruments TPS65090 PMIC"
  182. depends on DM_PMIC
  183. ---help---
  184. The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
  185. FETs and a battery charger. This driver provides register access
  186. only, and you can enable the regulator/charger drivers separately if
  187. required.
  188. config PMIC_PALMAS
  189. bool "Enable driver for Texas Instruments PALMAS PMIC"
  190. depends on DM_PMIC
  191. ---help---
  192. The PALMAS is a PMIC containing several LDOs, SMPS.
  193. This driver binds the pmic children.
  194. config PMIC_LP873X
  195. bool "Enable driver for Texas Instruments LP873X PMIC"
  196. depends on DM_PMIC
  197. ---help---
  198. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  199. This driver binds the pmic children.
  200. config PMIC_LP87565
  201. bool "Enable driver for Texas Instruments LP87565 PMIC"
  202. depends on DM_PMIC
  203. ---help---
  204. The LP87565 is a PMIC containing a bunch of SMPS.
  205. This driver binds the pmic children.
  206. config POWER_MC34VR500
  207. bool "Enable driver for Freescale MC34VR500 PMIC"
  208. ---help---
  209. The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
  210. SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
  211. via an I2C interface.
  212. config DM_PMIC_TPS65910
  213. bool "Enable driver for Texas Instruments TPS65910 PMIC"
  214. depends on DM_PMIC
  215. ---help---
  216. The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
  217. DC-DC converter, 8 LDOs and a RTC. This driver binds the SMPS and LDO
  218. pmic children.
  219. config PMIC_STPMIC1
  220. bool "Enable support for STMicroelectronics STPMIC1 PMIC"
  221. depends on DM_PMIC && DM_I2C
  222. select SYSRESET_CMD_POWEROFF if CMD_POWEROFF && !ARM_PSCI_FW
  223. ---help---
  224. The STPMIC1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches.
  225. It is accessed via an I2C interface. The device is used with STM32MP1
  226. SoCs. This driver implements register read/write operations.
  227. config SPL_PMIC_PALMAS
  228. bool "Enable driver for Texas Instruments PALMAS PMIC"
  229. depends on DM_PMIC
  230. help
  231. The PALMAS is a PMIC containing several LDOs, SMPS.
  232. This driver binds the pmic children in SPL.
  233. config SPL_PMIC_LP873X
  234. bool "Enable driver for Texas Instruments LP873X PMIC"
  235. depends on DM_PMIC
  236. help
  237. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  238. This driver binds the pmic children in SPL.
  239. config SPL_PMIC_LP87565
  240. bool "Enable driver for Texas Instruments LP87565 PMIC"
  241. depends on DM_PMIC
  242. help
  243. The LP87565 is a PMIC containing a bunch of SMPS.
  244. This driver binds the pmic children in SPL.
  245. config PMIC_TPS65941
  246. bool "Enable driver for Texas Instruments TPS65941 PMIC"
  247. depends on DM_PMIC
  248. help
  249. The TPS65941 is a PMIC containing a bunch of SMPS & LDOs.
  250. This driver binds the pmic children.