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 | |
Peng Fan | 1c1f607 | 2015-08-14 11:36:16 +0200 | [diff] [blame^] | 13 | config DM_PMIC_PFUZE100 |
| 14 | bool "Enable Driver Model for PMIC PFUZE100" |
| 15 | depends on DM_PMIC |
| 16 | ---help--- |
| 17 | This config enables implementation of driver-model pmic uclass features |
| 18 | for PMIC PFUZE100. The driver implements read/write operations. |
| 19 | |
Przemyslaw Marczak | 52a3de5 | 2015-04-20 20:07:46 +0200 | [diff] [blame] | 20 | config DM_PMIC_MAX77686 |
| 21 | bool "Enable Driver Model for PMIC MAX77686" |
| 22 | depends on DM_PMIC |
| 23 | ---help--- |
| 24 | This config enables implementation of driver-model pmic uclass features |
Przemyslaw Marczak | f415a3e | 2015-05-13 13:38:26 +0200 | [diff] [blame] | 25 | for PMIC MAX77686. The driver implements read/write operations. |
Przemyslaw Marczak | 5d387d0 | 2015-05-13 13:38:32 +0200 | [diff] [blame] | 26 | |
| 27 | config DM_PMIC_SANDBOX |
| 28 | bool "Enable Driver Model for emulated Sandbox PMIC " |
| 29 | depends on DM_PMIC |
| 30 | ---help--- |
| 31 | Enable the driver for Sandbox PMIC emulation. The emulated PMIC device |
| 32 | depends on two drivers: |
| 33 | - sandbox PMIC I/O driver - implements dm pmic operations |
| 34 | - sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission |
| 35 | |
| 36 | A detailed information can be found in header: '<power/sandbox_pmic.h>' |
| 37 | |
| 38 | The Sandbox PMIC info: |
| 39 | * I/O interface: |
| 40 | - I2C chip address: 0x40 |
| 41 | - first register address: 0x0 |
| 42 | - register count: 0x10 |
| 43 | * Adjustable outputs: |
| 44 | - 2x LDO |
| 45 | - 2x BUCK |
| 46 | - Each, with a different operating conditions (header). |
| 47 | * Reset values: |
| 48 | - set by i2c emul driver's probe() (defaults in header) |
| 49 | |
| 50 | Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt |
Simon Glass | 151b223 | 2015-07-02 18:15:58 -0600 | [diff] [blame] | 51 | |
Simon Glass | d308c01 | 2015-07-02 18:16:00 -0600 | [diff] [blame] | 52 | config PMIC_S5M8767 |
| 53 | bool "Enable Driver Model for the Samsung S5M8767 PMIC" |
| 54 | depends on DM_PMIC |
| 55 | ---help--- |
| 56 | The S5M8767 PMIC provides a large array of LDOs and BUCKs for use |
| 57 | as a SoC power controller. It also provides 32KHz clock outputs. This |
| 58 | driver provides basic register access and sets up the attached |
| 59 | regulators if regulator support is enabled. |
| 60 | |
Simon Glass | 151b223 | 2015-07-02 18:15:58 -0600 | [diff] [blame] | 61 | config PMIC_TPS65090 |
| 62 | bool "Enable driver for Texas Instruments TPS65090 PMIC" |
| 63 | depends on DM_PMIC |
| 64 | ---help--- |
| 65 | The TPS65090 is a PMIC containing several LDOs, DC to DC convertors, |
| 66 | FETs and a battery charger. This driver provides register access |
| 67 | only, and you can enable the regulator/charger drivers separately if |
| 68 | required. |