Kconfig 4.9 KB

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