Kconfig 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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_PFUZE100
  47. bool "Enable Driver Model for PMIC PFUZE100"
  48. depends on DM_PMIC
  49. ---help---
  50. This config enables implementation of driver-model pmic uclass features
  51. for PMIC PFUZE100. The driver implements read/write operations.
  52. config DM_PMIC_MAX77686
  53. bool "Enable Driver Model for PMIC MAX77686"
  54. depends on DM_PMIC
  55. ---help---
  56. This config enables implementation of driver-model pmic uclass features
  57. for PMIC MAX77686. The driver implements read/write operations.
  58. config DM_PMIC_MAX8998
  59. bool "Enable Driver Model for PMIC MAX8998"
  60. depends on DM_PMIC
  61. ---help---
  62. This config enables implementation of driver-model pmic uclass features
  63. for PMIC MAX8998. The driver implements read/write operations.
  64. config DM_PMIC_MC34708
  65. bool "Enable Driver Model for PMIC MC34708"
  66. depends on DM_PMIC
  67. help
  68. This config enables implementation of driver-model pmic uclass features
  69. for PMIC MC34708. The driver implements read/write operations.
  70. config PMIC_MAX8997
  71. bool "Enable Driver Model for PMIC MAX8997"
  72. depends on DM_PMIC
  73. ---help---
  74. This config enables implementation of driver-model pmic uclass features
  75. for PMIC MAX8997. The driver implements read/write operations.
  76. This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
  77. - 21x LDOs
  78. - 12x GPIOs
  79. - Haptic Motor driver
  80. - RTC with two alarms
  81. - Fueal Gauge and One backup battery charger
  82. - MUIC
  83. - Others
  84. config PMIC_PM8916
  85. bool "Enable Driver Model for Qualcomm PM8916 PMIC"
  86. depends on DM_PMIC
  87. ---help---
  88. The PM8916 is a PMIC connected to one (or several) processors
  89. with SPMI bus. It has 2 slaves with several peripherals:
  90. - 18x LDO
  91. - 4x GPIO
  92. - Power and Reset buttons
  93. - Watchdog
  94. - RTC
  95. - Vibrator drivers
  96. - Others
  97. Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
  98. config PMIC_RK8XX
  99. bool "Enable support for Rockchip PMIC RK8XX"
  100. depends on DM_PMIC
  101. ---help---
  102. The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
  103. an RTC and two low Rds (resistance (drain to source)) switches. It is
  104. accessed via an I2C interface. The device is used with Rockchip SoCs.
  105. This driver implements register read/write operations.
  106. config PMIC_S2MPS11
  107. bool "Enable Driver Model for PMIC Samsung S2MPS11"
  108. depends on DM_PMIC
  109. ---help---
  110. The Samsung S2MPS11 PMIC provides:
  111. - 38 adjustable LDO regulators
  112. - 9 High-Efficiency Buck Converters
  113. - 1 BuckBoost Converter
  114. - RTC with two alarms
  115. - Backup battery charger
  116. - I2C Configuration Interface
  117. This driver provides access to I/O interface only.
  118. Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
  119. config DM_PMIC_SANDBOX
  120. bool "Enable Driver Model for emulated Sandbox PMIC "
  121. depends on DM_PMIC
  122. ---help---
  123. Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
  124. depends on two drivers:
  125. - sandbox PMIC I/O driver - implements dm pmic operations
  126. - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
  127. A detailed information can be found in header: '<power/sandbox_pmic.h>'
  128. The Sandbox PMIC info:
  129. * I/O interface:
  130. - I2C chip address: 0x40
  131. - first register address: 0x0
  132. - register count: 0x10
  133. * Adjustable outputs:
  134. - 2x LDO
  135. - 2x BUCK
  136. - Each, with a different operating conditions (header).
  137. * Reset values:
  138. - set by i2c emul driver's probe() (defaults in header)
  139. Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
  140. config PMIC_S5M8767
  141. bool "Enable Driver Model for the Samsung S5M8767 PMIC"
  142. depends on DM_PMIC
  143. ---help---
  144. The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
  145. as a SoC power controller. It also provides 32KHz clock outputs. This
  146. driver provides basic register access and sets up the attached
  147. regulators if regulator support is enabled.
  148. config PMIC_RN5T567
  149. bool "Enable driver for Ricoh RN5T567 PMIC"
  150. depends on DM_PMIC
  151. ---help---
  152. The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
  153. regulators Real-Time Clock and 4 GPIOs. This driver provides
  154. register access only.
  155. config PMIC_TPS65090
  156. bool "Enable driver for Texas Instruments TPS65090 PMIC"
  157. depends on DM_PMIC
  158. ---help---
  159. The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
  160. FETs and a battery charger. This driver provides register access
  161. only, and you can enable the regulator/charger drivers separately if
  162. required.
  163. config PMIC_PALMAS
  164. bool "Enable driver for Texas Instruments PALMAS PMIC"
  165. depends on DM_PMIC
  166. ---help---
  167. The PALMAS is a PMIC containing several LDOs, SMPS.
  168. This driver binds the pmic children.
  169. config PMIC_LP873X
  170. bool "Enable driver for Texas Instruments LP873X PMIC"
  171. depends on DM_PMIC
  172. ---help---
  173. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  174. This driver binds the pmic children.
  175. config PMIC_LP87565
  176. bool "Enable driver for Texas Instruments LP87565 PMIC"
  177. depends on DM_PMIC
  178. ---help---
  179. The LP87565 is a PMIC containing a bunch of SMPS.
  180. This driver binds the pmic children.
  181. config POWER_MC34VR500
  182. bool "Enable driver for Freescale MC34VR500 PMIC"
  183. ---help---
  184. The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
  185. SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
  186. via an I2C interface.
  187. config DM_PMIC_TPS65910
  188. bool "Enable driver for Texas Instruments TPS65910 PMIC"
  189. depends on DM_PMIC
  190. ---help---
  191. The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
  192. DC-DC converter, 8 LDOs and a RTC. This driver binds the SMPS and LDO
  193. pmic children.
  194. config PMIC_STPMU1
  195. bool "Enable support for STMicroelectronics STPMU1 PMIC"
  196. depends on DM_PMIC && DM_I2C
  197. ---help---
  198. The STPMU1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches.
  199. It is accessed via an I2C interface. The device is used with STM32MP1
  200. SoCs. This driver implements register read/write operations.