xref: /openbmc/u-boot/drivers/power/pmic/Kconfig (revision 2a4febfd)
1config 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
13config PMIC_ACT8846
14	bool "Enable support for the active-semi 8846 PMIC"
15	depends on DM_PMIC && DM_I2C
16	---help---
17	This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout
18	regulators (LDOs). It also provides some GPIO, reset and battery
19	functions. It uses an I2C interface and is designed for use with
20	tablets and smartphones.
21
22config DM_PMIC_PFUZE100
23	bool "Enable Driver Model for PMIC PFUZE100"
24	depends on DM_PMIC
25	---help---
26	This config enables implementation of driver-model pmic uclass features
27	for PMIC PFUZE100. The driver implements read/write operations.
28
29config DM_PMIC_MAX77686
30	bool "Enable Driver Model for PMIC MAX77686"
31	depends on DM_PMIC
32	---help---
33	This config enables implementation of driver-model pmic uclass features
34	for PMIC MAX77686. The driver implements read/write operations.
35
36config PMIC_RK808
37	bool "Enable support for Rockchip PMIC RK808"
38	depends on DM_PMIC
39	---help---
40	The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
41	an RTC and two low Rds (resistance (drain to source)) switches. It is
42	accessed via an I2C interface. The device is used with Rockchip SoCs.
43	This driver implements register read/write operations.
44
45config PMIC_S2MPS11
46	bool "Enable Driver Model for PMIC Samsung S2MPS11"
47	depends on DM_PMIC
48	---help---
49	The Samsung S2MPS11 PMIC provides:
50	 - 38 adjustable LDO regulators
51	 - 9 High-Efficiency Buck Converters
52	 - 1 BuckBoost Converter
53	 - RTC with two alarms
54	 - Backup battery charger
55	 - I2C Configuration Interface
56	This driver provides access to I/O interface only.
57	Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
58
59config DM_PMIC_SANDBOX
60	bool "Enable Driver Model for emulated Sandbox PMIC "
61	depends on DM_PMIC
62	---help---
63	Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
64	depends on two drivers:
65	- sandbox PMIC I/O driver - implements dm pmic operations
66	- sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
67
68	A detailed information can be found in header: '<power/sandbox_pmic.h>'
69
70	The Sandbox PMIC info:
71	* I/O interface:
72	  - I2C chip address:       0x40
73	  - first register address: 0x0
74	  - register count:         0x10
75	* Adjustable outputs:
76	  - 2x LDO
77	  - 2x BUCK
78	  - Each, with a different operating conditions (header).
79	* Reset values:
80	  - set by i2c emul driver's probe() (defaults in header)
81
82	Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
83
84config PMIC_S5M8767
85	bool "Enable Driver Model for the Samsung S5M8767 PMIC"
86	depends on DM_PMIC
87	---help---
88	The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
89	as a SoC power controller. It also provides 32KHz clock outputs. This
90	driver provides basic register access and sets up the attached
91	regulators if regulator support is enabled.
92
93config PMIC_TPS65090
94	bool "Enable driver for Texas Instruments TPS65090 PMIC"
95	depends on DM_PMIC
96	---help---
97	The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
98	FETs and a battery charger. This driver provides register access
99	only, and you can enable the regulator/charger drivers separately if
100	required.
101