Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 rk808.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 DM_PMIC_PFUZE100
  40. bool "Enable Driver Model for PMIC PFUZE100"
  41. depends on DM_PMIC
  42. ---help---
  43. This config enables implementation of driver-model pmic uclass features
  44. for PMIC PFUZE100. The driver implements read/write operations.
  45. config DM_PMIC_MAX77686
  46. bool "Enable Driver Model for PMIC MAX77686"
  47. depends on DM_PMIC
  48. ---help---
  49. This config enables implementation of driver-model pmic uclass features
  50. for PMIC MAX77686. The driver implements read/write operations.
  51. config DM_PMIC_MAX8998
  52. bool "Enable Driver Model for PMIC MAX8998"
  53. depends on DM_PMIC
  54. ---help---
  55. This config enables implementation of driver-model pmic uclass features
  56. for PMIC MAX8998. The driver implements read/write operations.
  57. config PMIC_PM8916
  58. bool "Enable Driver Model for Qualcomm PM8916 PMIC"
  59. depends on DM_PMIC
  60. ---help---
  61. The PM8916 is a PMIC connected to one (or several) processors
  62. with SPMI bus. It has 2 slaves with several peripherals:
  63. - 18x LDO
  64. - 4x GPIO
  65. - Power and Reset buttons
  66. - Watchdog
  67. - RTC
  68. - Vibrator drivers
  69. - Others
  70. Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
  71. config PMIC_RK808
  72. bool "Enable support for Rockchip PMIC RK808"
  73. depends on DM_PMIC
  74. ---help---
  75. The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
  76. an RTC and two low Rds (resistance (drain to source)) switches. It is
  77. accessed via an I2C interface. The device is used with Rockchip SoCs.
  78. This driver implements register read/write operations.
  79. config PMIC_S2MPS11
  80. bool "Enable Driver Model for PMIC Samsung S2MPS11"
  81. depends on DM_PMIC
  82. ---help---
  83. The Samsung S2MPS11 PMIC provides:
  84. - 38 adjustable LDO regulators
  85. - 9 High-Efficiency Buck Converters
  86. - 1 BuckBoost Converter
  87. - RTC with two alarms
  88. - Backup battery charger
  89. - I2C Configuration Interface
  90. This driver provides access to I/O interface only.
  91. Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
  92. config DM_PMIC_SANDBOX
  93. bool "Enable Driver Model for emulated Sandbox PMIC "
  94. depends on DM_PMIC
  95. ---help---
  96. Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
  97. depends on two drivers:
  98. - sandbox PMIC I/O driver - implements dm pmic operations
  99. - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
  100. A detailed information can be found in header: '<power/sandbox_pmic.h>'
  101. The Sandbox PMIC info:
  102. * I/O interface:
  103. - I2C chip address: 0x40
  104. - first register address: 0x0
  105. - register count: 0x10
  106. * Adjustable outputs:
  107. - 2x LDO
  108. - 2x BUCK
  109. - Each, with a different operating conditions (header).
  110. * Reset values:
  111. - set by i2c emul driver's probe() (defaults in header)
  112. Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
  113. config PMIC_S5M8767
  114. bool "Enable Driver Model for the Samsung S5M8767 PMIC"
  115. depends on DM_PMIC
  116. ---help---
  117. The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
  118. as a SoC power controller. It also provides 32KHz clock outputs. This
  119. driver provides basic register access and sets up the attached
  120. regulators if regulator support is enabled.
  121. config PMIC_RN5T567
  122. bool "Enable driver for Ricoh RN5T567 PMIC"
  123. depends on DM_PMIC
  124. ---help---
  125. The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
  126. regulators Real-Time Clock and 4 GPIOs. This driver provides
  127. register access only.
  128. config PMIC_TPS65090
  129. bool "Enable driver for Texas Instruments TPS65090 PMIC"
  130. depends on DM_PMIC
  131. ---help---
  132. The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
  133. FETs and a battery charger. This driver provides register access
  134. only, and you can enable the regulator/charger drivers separately if
  135. required.
  136. config PMIC_PALMAS
  137. bool "Enable driver for Texas Instruments PALMAS PMIC"
  138. depends on DM_PMIC
  139. ---help---
  140. The PALMAS is a PMIC containing several LDOs, SMPS.
  141. This driver binds the pmic children.
  142. config PMIC_LP873X
  143. bool "Enable driver for Texas Instruments LP873X PMIC"
  144. depends on DM_PMIC
  145. ---help---
  146. The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
  147. This driver binds the pmic children.
  148. config PMIC_LP87565
  149. bool "Enable driver for Texas Instruments LP87565 PMIC"
  150. depends on DM_PMIC
  151. ---help---
  152. The LP87565 is a PMIC containing a bunch of SMPS.
  153. This driver binds the pmic children.