Przemyslaw Marczak | 4d9057e | 2015-04-20 20:07:41 +0200 | [diff] [blame] | 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' |
Przemyslaw Marczak | 52a3de5 | 2015-04-20 20:07:46 +0200 | [diff] [blame] | 12 | |
Simon Glass | 1f2b4b0 | 2016-01-21 19:43:55 -0700 | [diff] [blame] | 13 | config PMIC_CHILDREN |
| 14 | bool "Allow child devices for PMICs" |
| 15 | depends on DM_PMIC |
| 16 | default y |
| 17 | ---help--- |
| 18 | This allows PMICs to support child devices (such as regulators) in |
| 19 | SPL. This adds quite a bit of code so if you are not using this |
| 20 | feature you can turn it off. Most likely you should turn it on for |
| 21 | U-Boot proper. |
| 22 | |
| 23 | config SPL_PMIC_CHILDREN |
| 24 | bool "Allow child devices for PMICs in SPL" |
| 25 | depends on DM_PMIC |
| 26 | default y |
| 27 | ---help--- |
| 28 | This allows PMICs to support child devices (such as regulators) in |
| 29 | SPL. This adds quite a bit of code so if you are not using this |
| 30 | feature you can turn it off. In this case you may need a 'back door' |
Jacob Chen | 453c5a9 | 2017-05-02 14:54:52 +0800 | [diff] [blame] | 31 | to call your regulator code (e.g. see rk8xx.c for direct functions |
Simon Glass | 1f2b4b0 | 2016-01-21 19:43:55 -0700 | [diff] [blame] | 32 | for use in SPL). |
| 33 | |
Simon Glass | d2c88f7 | 2015-08-30 16:55:29 -0600 | [diff] [blame] | 34 | config PMIC_ACT8846 |
| 35 | bool "Enable support for the active-semi 8846 PMIC" |
| 36 | depends on DM_PMIC && DM_I2C |
| 37 | ---help--- |
| 38 | This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout |
| 39 | regulators (LDOs). It also provides some GPIO, reset and battery |
| 40 | functions. It uses an I2C interface and is designed for use with |
| 41 | tablets and smartphones. |
| 42 | |
Simon Glass | bdf25a5 | 2017-04-26 22:27:46 -0600 | [diff] [blame] | 43 | config PMIC_AS3722 |
| 44 | bool "Enable support for the Austria Micro Systems (AMS) AS7322 PMIC" |
| 45 | help |
| 46 | The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a |
| 47 | real-time clock, GPIOs, ADC and a few other features. It uses an I2C |
| 48 | interface and is designs to cover most of the power managementment |
| 49 | required for a tablets or laptop. |
| 50 | |
Peng Fan | 1c1f607 | 2015-08-14 11:36:16 +0200 | [diff] [blame] | 51 | config DM_PMIC_PFUZE100 |
| 52 | bool "Enable Driver Model for PMIC PFUZE100" |
| 53 | depends on DM_PMIC |
| 54 | ---help--- |
| 55 | This config enables implementation of driver-model pmic uclass features |
| 56 | for PMIC PFUZE100. The driver implements read/write operations. |
| 57 | |
Przemyslaw Marczak | 52a3de5 | 2015-04-20 20:07:46 +0200 | [diff] [blame] | 58 | config DM_PMIC_MAX77686 |
| 59 | bool "Enable Driver Model for PMIC MAX77686" |
| 60 | depends on DM_PMIC |
| 61 | ---help--- |
| 62 | This config enables implementation of driver-model pmic uclass features |
Przemyslaw Marczak | f415a3e | 2015-05-13 13:38:26 +0200 | [diff] [blame] | 63 | for PMIC MAX77686. The driver implements read/write operations. |
Przemyslaw Marczak | 5d387d0 | 2015-05-13 13:38:32 +0200 | [diff] [blame] | 64 | |
Jaehoon Chung | 103e83a | 2016-12-15 18:21:10 +0900 | [diff] [blame] | 65 | config DM_PMIC_MAX8998 |
| 66 | bool "Enable Driver Model for PMIC MAX8998" |
| 67 | depends on DM_PMIC |
| 68 | ---help--- |
| 69 | This config enables implementation of driver-model pmic uclass features |
| 70 | for PMIC MAX8998. The driver implements read/write operations. |
| 71 | |
Lukasz Majewski | c57a226 | 2018-05-15 16:26:37 +0200 | [diff] [blame^] | 72 | config DM_PMIC_MC34708 |
| 73 | bool "Enable Driver Model for PMIC MC34708" |
| 74 | depends on DM_PMIC |
| 75 | help |
| 76 | This config enables implementation of driver-model pmic uclass features |
| 77 | for PMIC MC34708. The driver implements read/write operations. |
| 78 | |
Jaehoon Chung | 1a5a05d | 2017-02-02 17:04:09 +0900 | [diff] [blame] | 79 | config PMIC_MAX8997 |
| 80 | bool "Enable Driver Model for PMIC MAX8997" |
| 81 | depends on DM_PMIC |
| 82 | ---help--- |
| 83 | This config enables implementation of driver-model pmic uclass features |
| 84 | for PMIC MAX8997. The driver implements read/write operations. |
| 85 | This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip. |
| 86 | - 21x LDOs |
| 87 | - 12x GPIOs |
| 88 | - Haptic Motor driver |
| 89 | - RTC with two alarms |
| 90 | - Fueal Gauge and One backup battery charger |
| 91 | - MUIC |
| 92 | - Others |
| 93 | |
Mateusz Kulikowski | c2f74c8 | 2016-03-31 23:12:30 +0200 | [diff] [blame] | 94 | config PMIC_PM8916 |
| 95 | bool "Enable Driver Model for Qualcomm PM8916 PMIC" |
| 96 | depends on DM_PMIC |
| 97 | ---help--- |
| 98 | The PM8916 is a PMIC connected to one (or several) processors |
| 99 | with SPMI bus. It has 2 slaves with several peripherals: |
| 100 | - 18x LDO |
| 101 | - 4x GPIO |
| 102 | - Power and Reset buttons |
| 103 | - Watchdog |
| 104 | - RTC |
| 105 | - Vibrator drivers |
| 106 | - Others |
| 107 | |
| 108 | Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt |
| 109 | |
Jacob Chen | 453c5a9 | 2017-05-02 14:54:52 +0800 | [diff] [blame] | 110 | config PMIC_RK8XX |
| 111 | bool "Enable support for Rockchip PMIC RK8XX" |
Simon Glass | 2a4febf | 2016-01-21 19:43:29 -0700 | [diff] [blame] | 112 | depends on DM_PMIC |
| 113 | ---help--- |
| 114 | The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs, |
| 115 | an RTC and two low Rds (resistance (drain to source)) switches. It is |
| 116 | accessed via an I2C interface. The device is used with Rockchip SoCs. |
| 117 | This driver implements register read/write operations. |
| 118 | |
Przemyslaw Marczak | 35d460f | 2015-10-27 13:07:58 +0100 | [diff] [blame] | 119 | config PMIC_S2MPS11 |
| 120 | bool "Enable Driver Model for PMIC Samsung S2MPS11" |
| 121 | depends on DM_PMIC |
| 122 | ---help--- |
| 123 | The Samsung S2MPS11 PMIC provides: |
| 124 | - 38 adjustable LDO regulators |
| 125 | - 9 High-Efficiency Buck Converters |
| 126 | - 1 BuckBoost Converter |
| 127 | - RTC with two alarms |
| 128 | - Backup battery charger |
| 129 | - I2C Configuration Interface |
| 130 | This driver provides access to I/O interface only. |
| 131 | Binding info: doc/device-tree-bindings/pmic/s2mps11.txt |
| 132 | |
Przemyslaw Marczak | 5d387d0 | 2015-05-13 13:38:32 +0200 | [diff] [blame] | 133 | config DM_PMIC_SANDBOX |
| 134 | bool "Enable Driver Model for emulated Sandbox PMIC " |
| 135 | depends on DM_PMIC |
| 136 | ---help--- |
| 137 | Enable the driver for Sandbox PMIC emulation. The emulated PMIC device |
| 138 | depends on two drivers: |
| 139 | - sandbox PMIC I/O driver - implements dm pmic operations |
| 140 | - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission |
| 141 | |
| 142 | A detailed information can be found in header: '<power/sandbox_pmic.h>' |
| 143 | |
| 144 | The Sandbox PMIC info: |
| 145 | * I/O interface: |
| 146 | - I2C chip address: 0x40 |
| 147 | - first register address: 0x0 |
| 148 | - register count: 0x10 |
| 149 | * Adjustable outputs: |
| 150 | - 2x LDO |
| 151 | - 2x BUCK |
| 152 | - Each, with a different operating conditions (header). |
| 153 | * Reset values: |
| 154 | - set by i2c emul driver's probe() (defaults in header) |
| 155 | |
| 156 | Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt |
Simon Glass | 151b223 | 2015-07-02 18:15:58 -0600 | [diff] [blame] | 157 | |
Simon Glass | d308c01 | 2015-07-02 18:16:00 -0600 | [diff] [blame] | 158 | config PMIC_S5M8767 |
| 159 | bool "Enable Driver Model for the Samsung S5M8767 PMIC" |
| 160 | depends on DM_PMIC |
| 161 | ---help--- |
| 162 | The S5M8767 PMIC provides a large array of LDOs and BUCKs for use |
| 163 | as a SoC power controller. It also provides 32KHz clock outputs. This |
| 164 | driver provides basic register access and sets up the attached |
| 165 | regulators if regulator support is enabled. |
| 166 | |
Stefan Agner | c571d68 | 2016-10-05 15:27:09 -0700 | [diff] [blame] | 167 | config PMIC_RN5T567 |
| 168 | bool "Enable driver for Ricoh RN5T567 PMIC" |
| 169 | depends on DM_PMIC |
| 170 | ---help--- |
| 171 | The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO |
| 172 | regulators Real-Time Clock and 4 GPIOs. This driver provides |
| 173 | register access only. |
| 174 | |
Simon Glass | 151b223 | 2015-07-02 18:15:58 -0600 | [diff] [blame] | 175 | config PMIC_TPS65090 |
| 176 | bool "Enable driver for Texas Instruments TPS65090 PMIC" |
| 177 | depends on DM_PMIC |
| 178 | ---help--- |
| 179 | The TPS65090 is a PMIC containing several LDOs, DC to DC convertors, |
| 180 | FETs and a battery charger. This driver provides register access |
| 181 | only, and you can enable the regulator/charger drivers separately if |
| 182 | required. |
Keerthy | 33621d2 | 2016-09-30 09:20:43 +0530 | [diff] [blame] | 183 | |
| 184 | config PMIC_PALMAS |
| 185 | bool "Enable driver for Texas Instruments PALMAS PMIC" |
| 186 | depends on DM_PMIC |
| 187 | ---help--- |
| 188 | The PALMAS is a PMIC containing several LDOs, SMPS. |
| 189 | This driver binds the pmic children. |
Keerthy | ca1de0b | 2016-09-30 09:34:02 +0530 | [diff] [blame] | 190 | |
| 191 | config PMIC_LP873X |
| 192 | bool "Enable driver for Texas Instruments LP873X PMIC" |
| 193 | depends on DM_PMIC |
| 194 | ---help--- |
| 195 | The LP873X is a PMIC containing couple of LDOs and couple of SMPS. |
| 196 | This driver binds the pmic children. |
Hou Zhiqiang | 762161b | 2016-12-09 16:08:57 +0800 | [diff] [blame] | 197 | |
Keerthy | cdad57a | 2017-06-07 19:08:28 +0530 | [diff] [blame] | 198 | config PMIC_LP87565 |
| 199 | bool "Enable driver for Texas Instruments LP87565 PMIC" |
| 200 | depends on DM_PMIC |
| 201 | ---help--- |
| 202 | The LP87565 is a PMIC containing a bunch of SMPS. |
| 203 | This driver binds the pmic children. |
| 204 | |
Hou Zhiqiang | 762161b | 2016-12-09 16:08:57 +0800 | [diff] [blame] | 205 | config POWER_MC34VR500 |
| 206 | bool "Enable driver for Freescale MC34VR500 PMIC" |
| 207 | ---help--- |
| 208 | The MC34VR500 is used in conjunction with the FSL T1 and LS1 series |
| 209 | SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed |
| 210 | via an I2C interface. |
Felix Brack | 854dfbf | 2017-11-30 13:52:37 +0100 | [diff] [blame] | 211 | |
| 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. |
Patrick Delaunay | 5d0c74e | 2018-03-12 10:46:12 +0100 | [diff] [blame] | 219 | |
| 220 | config PMIC_STPMU1 |
| 221 | bool "Enable support for STMicroelectronics STPMU1 PMIC" |
| 222 | depends on DM_PMIC && DM_I2C |
| 223 | ---help--- |
| 224 | The STPMU1 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. |