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