• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_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
23config 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'
31	to call your regulator code (e.g. see rk8xx.c for direct functions
32	for use in SPL).
33
34config 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
43config 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
51config DM_PMIC_BD71837
52 	bool "Enable Driver Model for PMIC BD71837"
53 	depends on DM_PMIC
54 	help
55	  This config enables implementation of driver-model pmic uclass features
56	  for PMIC BD71837. The driver implements read/write operations.
57
58config SPL_DM_PMIC_BD71837
59	bool "Enable Driver Model for PMIC BD71837 in SPL stage"
60	depends on DM_PMIC
61	help
62	  This config enables implementation of driver-model pmic uclass
63	  features for PMIC BD71837. The driver implements read/write
64	  operations.
65
66config DM_PMIC_FAN53555
67	bool "Enable support for OnSemi FAN53555"
68	depends on DM_PMIC && DM_REGULATOR && DM_I2C
69	select DM_REGULATOR_FAN53555
70	help
71	  This config enables implementation of driver-model PMIC
72	  uclass features for the FAN53555 regulator. The FAN53555 is
73	  a (family of) single-output regulators that supports
74	  transitioning between two different output voltages based on
75	  an voltage selection pin.
76
77	  The driver implements read/write operations for use with the FAN53555
78	  regulator driver and binds the regulator driver to its node.
79
80config DM_PMIC_PFUZE100
81	bool "Enable Driver Model for PMIC PFUZE100"
82	depends on DM_PMIC
83	---help---
84	This config enables implementation of driver-model pmic uclass features
85	for PMIC PFUZE100. The driver implements read/write operations.
86
87config DM_PMIC_MAX77686
88	bool "Enable Driver Model for PMIC MAX77686"
89	depends on DM_PMIC
90	---help---
91	This config enables implementation of driver-model pmic uclass features
92	for PMIC MAX77686. The driver implements read/write operations.
93
94config DM_PMIC_MAX8998
95	bool "Enable Driver Model for PMIC MAX8998"
96	depends on DM_PMIC
97	---help---
98	This config enables implementation of driver-model pmic uclass features
99	for PMIC MAX8998. The driver implements read/write operations.
100
101config DM_PMIC_MC34708
102	bool "Enable Driver Model for PMIC MC34708"
103	depends on DM_PMIC
104	help
105	 This config enables implementation of driver-model pmic uclass features
106	 for PMIC MC34708. The driver implements read/write operations.
107
108config PMIC_MAX8997
109	bool "Enable Driver Model for PMIC MAX8997"
110	depends on DM_PMIC
111	---help---
112	This config enables implementation of driver-model pmic uclass features
113	for PMIC MAX8997. The driver implements read/write operations.
114	This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
115	- 21x LDOs
116	- 12x GPIOs
117	- Haptic Motor driver
118	- RTC with two alarms
119	- Fueal Gauge and One backup battery charger
120	- MUIC
121	- Others
122
123config PMIC_PM8916
124	bool "Enable Driver Model for Qualcomm PM8916 PMIC"
125	depends on DM_PMIC
126	---help---
127	The PM8916 is a PMIC connected to one (or several) processors
128	with SPMI bus. It has 2 slaves with several peripherals:
129	- 18x LDO
130	- 4x GPIO
131	- Power and Reset buttons
132	- Watchdog
133	- RTC
134	- Vibrator drivers
135	- Others
136
137	Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
138
139config PMIC_RK8XX
140	bool "Enable support for Rockchip PMIC RK8XX"
141	depends on DM_PMIC
142	---help---
143	The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
144	an RTC and two low Rds (resistance (drain to source)) switches. It is
145	accessed via an I2C interface. The device is used with Rockchip SoCs.
146	This driver implements register read/write operations.
147
148config PMIC_S2MPS11
149	bool "Enable Driver Model for PMIC Samsung S2MPS11"
150	depends on DM_PMIC
151	---help---
152	The Samsung S2MPS11 PMIC provides:
153	 - 38 adjustable LDO regulators
154	 - 9 High-Efficiency Buck Converters
155	 - 1 BuckBoost Converter
156	 - RTC with two alarms
157	 - Backup battery charger
158	 - I2C Configuration Interface
159	This driver provides access to I/O interface only.
160	Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
161
162config DM_PMIC_SANDBOX
163	bool "Enable Driver Model for emulated Sandbox PMIC"
164	depends on DM_PMIC
165	---help---
166	Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
167	depends on two drivers:
168	- sandbox PMIC I/O driver - implements dm pmic operations
169	- sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
170
171	A detailed information can be found in header: '<power/sandbox_pmic.h>'
172
173	The Sandbox PMIC info:
174	* I/O interface:
175	  - I2C chip address:       0x40
176	  - first register address: 0x0
177	  - register count:         0x10
178	* Adjustable outputs:
179	  - 2x LDO
180	  - 2x BUCK
181	  - Each, with a different operating conditions (header).
182	* Reset values:
183	  - set by i2c emul driver's probe() (defaults in header)
184
185	Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
186
187config PMIC_S5M8767
188	bool "Enable Driver Model for the Samsung S5M8767 PMIC"
189	depends on DM_PMIC
190	---help---
191	The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
192	as a SoC power controller. It also provides 32KHz clock outputs. This
193	driver provides basic register access and sets up the attached
194	regulators if regulator support is enabled.
195
196config PMIC_RN5T567
197	bool "Enable driver for Ricoh RN5T567 PMIC"
198	depends on DM_PMIC
199	---help---
200	The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
201	regulators Real-Time Clock and 4 GPIOs. This driver provides
202	register access only.
203
204config PMIC_TPS65090
205	bool "Enable driver for Texas Instruments TPS65090 PMIC"
206	depends on DM_PMIC
207	---help---
208	The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
209	FETs and a battery charger. This driver provides register access
210	only, and you can enable the regulator/charger drivers separately if
211	required.
212
213config PMIC_PALMAS
214	bool "Enable driver for Texas Instruments PALMAS PMIC"
215	depends on DM_PMIC
216	---help---
217	The PALMAS is a PMIC containing several LDOs, SMPS.
218	This driver binds the pmic children.
219
220config PMIC_LP873X
221	bool "Enable driver for Texas Instruments LP873X PMIC"
222	depends on DM_PMIC
223	---help---
224	The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
225	This driver binds the pmic children.
226
227config PMIC_LP87565
228	bool "Enable driver for Texas Instruments LP87565 PMIC"
229	depends on DM_PMIC
230	---help---
231	The LP87565 is a PMIC containing a bunch of SMPS.
232	This driver binds the pmic children.
233
234config POWER_MC34VR500
235	bool "Enable driver for Freescale MC34VR500 PMIC"
236	---help---
237	The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
238	SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
239	via an I2C interface.
240
241config DM_PMIC_TPS65910
242	bool "Enable driver for Texas Instruments TPS65910 PMIC"
243	depends on DM_PMIC
244	---help---
245	The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
246	DC-DC converter, 8 LDOs and a RTC. This driver binds the SMPS and LDO
247	pmic children.
248
249config PMIC_STPMIC1
250	bool "Enable support for STMicroelectronics STPMIC1 PMIC"
251	depends on DM_PMIC && DM_I2C
252	select SYSRESET_CMD_POWEROFF if CMD_POWEROFF && !ARM_PSCI_FW
253	---help---
254	The STPMIC1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches.
255	It is accessed via an I2C interface. The device is used with STM32MP1
256	SoCs. This driver implements register read/write operations.
257
258config SPL_PMIC_PALMAS
259	bool "Enable driver for Texas Instruments PALMAS PMIC"
260	depends on DM_PMIC
261	help
262	The PALMAS is a PMIC containing several LDOs, SMPS.
263	This driver binds the pmic children in SPL.
264
265config SPL_PMIC_LP873X
266	bool "Enable driver for Texas Instruments LP873X PMIC"
267	depends on DM_PMIC
268	help
269	The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
270	This driver binds the pmic children in SPL.
271
272config SPL_PMIC_LP87565
273	bool "Enable driver for Texas Instruments LP87565 PMIC"
274	depends on DM_PMIC
275	help
276	The LP87565 is a PMIC containing a bunch of SMPS.
277	This driver binds the pmic children in SPL.
278
279config PMIC_TPS65941
280	bool "Enable driver for Texas Instruments TPS65941 PMIC"
281	depends on DM_PMIC
282	help
283	The TPS65941 is a PMIC containing a bunch of SMPS & LDOs.
284	This driver binds the pmic children.
285