xref: /rk3399_rockchip-uboot/drivers/power/pmic/Kconfig (revision e63a27f7a96beae2cdcc4ca813c8b95c07c7d2e6)
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 SPL_DM_PMIC
14        bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC) in SPL"
15        depends on DM && SPL
16        ---help---
17        This config enables the driver-model PMIC support.
18        UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
19        For the multi-function PMIC devices, this can be used as parent I/O
20        device for each IC's interface. Then, each children uses its parent
21        for read/write. For detailed description, please refer to the files:
22        - 'drivers/power/pmic/pmic-uclass.c'
23        - 'include/power/pmic.h'
24
25config PMIC_CHILDREN
26	bool "Allow child devices for PMICs"
27	depends on DM_PMIC
28	default y
29	---help---
30	This allows PMICs to support child devices (such as regulators) in
31	SPL. This adds quite a bit of code so if you are not using this
32	feature you can turn it off. Most likely you should turn it on for
33	U-Boot proper.
34
35config SPL_PMIC_CHILDREN
36	bool "Allow child devices for PMICs in SPL"
37	depends on DM_PMIC
38	default y
39	---help---
40	This allows PMICs to support child devices (such as regulators) in
41	SPL. This adds quite a bit of code so if you are not using this
42	feature you can turn it off. In this case you may need a 'back door'
43	to call your regulator code (e.g. see rk8xx.c for direct functions
44	for use in SPL).
45
46config PMIC_ACT8846
47	bool "Enable support for the active-semi 8846 PMIC"
48	depends on DM_PMIC && DM_I2C
49	---help---
50	This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout
51	regulators (LDOs). It also provides some GPIO, reset and battery
52	functions. It uses an I2C interface and is designed for use with
53	tablets and smartphones.
54
55config PMIC_AS3722
56	bool "Enable support for the Austria Micro Systems (AMS) AS7322 PMIC"
57	help
58	  The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a
59	  real-time clock, GPIOs, ADC and a few other features. It uses an I2C
60	  interface and is designs to cover most of the power managementment
61	  required for a tablets or laptop.
62
63config DM_PMIC_PFUZE100
64	bool "Enable Driver Model for PMIC PFUZE100"
65	depends on DM_PMIC
66	---help---
67	This config enables implementation of driver-model pmic uclass features
68	for PMIC PFUZE100. The driver implements read/write operations.
69
70config DM_PMIC_MAX77686
71	bool "Enable Driver Model for PMIC MAX77686"
72	depends on DM_PMIC
73	---help---
74	This config enables implementation of driver-model pmic uclass features
75	for PMIC MAX77686. The driver implements read/write operations.
76
77config DM_PMIC_MAX8998
78	bool "Enable Driver Model for PMIC MAX8998"
79	depends on DM_PMIC
80	---help---
81	This config enables implementation of driver-model pmic uclass features
82	for PMIC MAX8998. The driver implements read/write operations.
83
84config PMIC_MAX8997
85	bool "Enable Driver Model for PMIC MAX8997"
86	depends on DM_PMIC
87	---help---
88	This config enables implementation of driver-model pmic uclass features
89	for PMIC MAX8997. The driver implements read/write operations.
90	This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
91	- 21x LDOs
92	- 12x GPIOs
93	- Haptic Motor driver
94	- RTC with two alarms
95	- Fueal Gauge and One backup battery charger
96	- MUIC
97	- Others
98
99config PMIC_PM8916
100	bool "Enable Driver Model for Qualcomm PM8916 PMIC"
101	depends on DM_PMIC
102	---help---
103	The PM8916 is a PMIC connected to one (or several) processors
104	with SPMI bus. It has 2 slaves with several peripherals:
105	- 18x LDO
106	- 4x GPIO
107	- Power and Reset buttons
108	- Watchdog
109	- RTC
110	- Vibrator drivers
111	- Others
112
113	Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
114
115config PMIC_RK8XX
116	bool "Enable support for Rockchip PMIC RK8XX"
117	depends on DM_PMIC
118	---help---
119	The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
120	an RTC and two low Rds (resistance (drain to source)) switches. It is
121	accessed via an I2C interface. The device is used with Rockchip SoCs.
122	This driver implements register read/write operations.
123
124config PMIC_SPI_RK8XX
125	bool "Enable support for Rockchip PMIC SPI RK8XX"
126	depends on DM_PMIC
127	---help---
128	The Rockchip RK8xx PMIC provides four buck DC-DC convertors, LDOs. It is
129	accessed via an SPI interface. The device is used with Rockchip SoCs.
130	This driver implements register read/write operations.
131
132config PMIC_S2MPS11
133	bool "Enable Driver Model for PMIC Samsung S2MPS11"
134	depends on DM_PMIC
135	---help---
136	The Samsung S2MPS11 PMIC provides:
137	 - 38 adjustable LDO regulators
138	 - 9 High-Efficiency Buck Converters
139	 - 1 BuckBoost Converter
140	 - RTC with two alarms
141	 - Backup battery charger
142	 - I2C Configuration Interface
143	This driver provides access to I/O interface only.
144	Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
145
146config PMIC_SY7636A
147	bool "Enable support for PMIC Silergy SY7636A"
148	depends on DM_PMIC
149	---help---
150	The PMIC SY7636A integrates two high
151	efficiency DC/DC Boost converters that are boosted to
152	25V and –20V by two charge pumps to provide the
153	gate driver supply for panels.
154
155config DM_PMIC_SANDBOX
156	bool "Enable Driver Model for emulated Sandbox PMIC "
157	depends on DM_PMIC
158	---help---
159	Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
160	depends on two drivers:
161	- sandbox PMIC I/O driver - implements dm pmic operations
162	- sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
163
164	A detailed information can be found in header: '<power/sandbox_pmic.h>'
165
166	The Sandbox PMIC info:
167	* I/O interface:
168	  - I2C chip address:       0x40
169	  - first register address: 0x0
170	  - register count:         0x10
171	* Adjustable outputs:
172	  - 2x LDO
173	  - 2x BUCK
174	  - Each, with a different operating conditions (header).
175	* Reset values:
176	  - set by i2c emul driver's probe() (defaults in header)
177
178	Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
179
180config PMIC_S5M8767
181	bool "Enable Driver Model for the Samsung S5M8767 PMIC"
182	depends on DM_PMIC
183	---help---
184	The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
185	as a SoC power controller. It also provides 32KHz clock outputs. This
186	driver provides basic register access and sets up the attached
187	regulators if regulator support is enabled.
188
189config PMIC_RN5T567
190	bool "Enable driver for Ricoh RN5T567 PMIC"
191	depends on DM_PMIC
192	---help---
193	The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
194	regulators Real-Time Clock and 4 GPIOs. This driver provides
195	register access only.
196
197config PMIC_TPS65090
198	bool "Enable driver for Texas Instruments TPS65090 PMIC"
199	depends on DM_PMIC
200	---help---
201	The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
202	FETs and a battery charger. This driver provides register access
203	only, and you can enable the regulator/charger drivers separately if
204	required.
205
206config PMIC_PALMAS
207	bool "Enable driver for Texas Instruments PALMAS PMIC"
208	depends on DM_PMIC
209	---help---
210	The PALMAS is a PMIC containing several LDOs, SMPS.
211	This driver binds the pmic children.
212
213config PMIC_LP873X
214	bool "Enable driver for Texas Instruments LP873X PMIC"
215	depends on DM_PMIC
216	---help---
217	The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
218	This driver binds the pmic children.
219
220config PMIC_LP87565
221	bool "Enable driver for Texas Instruments LP87565 PMIC"
222	depends on DM_PMIC
223	---help---
224	The LP87565 is a PMIC containing a bunch of SMPS.
225	This driver binds the pmic children.
226
227config POWER_MC34VR500
228	bool "Enable driver for Freescale MC34VR500 PMIC"
229	---help---
230	The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
231	SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
232	via an I2C interface.
233