xref: /rk3399_rockchip-uboot/drivers/power/pmic/Kconfig (revision 523469f4bf1a7e39d505ef391ce1df4e314b097b)
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_FP9931
85	bool "Enable support for PMIC Fitipower FP9931"
86	depends on DM_PMIC
87	---help---
88	The PMIC FP9931 includes 2 high performance DC-DC
89	converters, one is for positive voltage and the other
90	is for negative voltage used by EPD drivers, a VCOM
91	buffer (unity-gain OPA), a positive charge pump and
92	a negative charge pump to provide adjustable regulated
93	output voltages.
94
95config PMIC_MAX8997
96	bool "Enable Driver Model for PMIC MAX8997"
97	depends on DM_PMIC
98	---help---
99	This config enables implementation of driver-model pmic uclass features
100	for PMIC MAX8997. The driver implements read/write operations.
101	This is a Power Management IC with RTC, Fuel Gauge, MUIC control on Chip.
102	- 21x LDOs
103	- 12x GPIOs
104	- Haptic Motor driver
105	- RTC with two alarms
106	- Fueal Gauge and One backup battery charger
107	- MUIC
108	- Others
109
110config PMIC_PM8916
111	bool "Enable Driver Model for Qualcomm PM8916 PMIC"
112	depends on DM_PMIC
113	---help---
114	The PM8916 is a PMIC connected to one (or several) processors
115	with SPMI bus. It has 2 slaves with several peripherals:
116	- 18x LDO
117	- 4x GPIO
118	- Power and Reset buttons
119	- Watchdog
120	- RTC
121	- Vibrator drivers
122	- Others
123
124	Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
125
126config PMIC_RK8XX
127	bool "Enable support for Rockchip PMIC RK8XX"
128	depends on DM_PMIC
129	---help---
130	The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
131	an RTC and two low Rds (resistance (drain to source)) switches. It is
132	accessed via an I2C interface. The device is used with Rockchip SoCs.
133	This driver implements register read/write operations.
134
135config PMIC_SPI_RK8XX
136	bool "Enable support for Rockchip PMIC SPI RK8XX"
137	depends on DM_PMIC
138	---help---
139	The Rockchip RK8xx PMIC provides four buck DC-DC convertors, LDOs. It is
140	accessed via an SPI interface. The device is used with Rockchip SoCs.
141	This driver implements register read/write operations.
142
143config PMIC_S2MPS11
144	bool "Enable Driver Model for PMIC Samsung S2MPS11"
145	depends on DM_PMIC
146	---help---
147	The Samsung S2MPS11 PMIC provides:
148	 - 38 adjustable LDO regulators
149	 - 9 High-Efficiency Buck Converters
150	 - 1 BuckBoost Converter
151	 - RTC with two alarms
152	 - Backup battery charger
153	 - I2C Configuration Interface
154	This driver provides access to I/O interface only.
155	Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
156
157config PMIC_SY7636A
158	bool "Enable support for PMIC Silergy SY7636A"
159	depends on DM_PMIC
160	---help---
161	The PMIC SY7636A integrates two high
162	efficiency DC/DC Boost converters that are boosted to
163	25V and –20V by two charge pumps to provide the
164	gate driver supply for panels.
165
166config DM_PMIC_SANDBOX
167	bool "Enable Driver Model for emulated Sandbox PMIC "
168	depends on DM_PMIC
169	---help---
170	Enable the driver for Sandbox PMIC emulation. The emulated PMIC device
171	depends on two drivers:
172	- sandbox PMIC I/O driver - implements dm pmic operations
173	- sandbox PMIC i2c emul driver - emulates the PMIC's I2C transmission
174
175	A detailed information can be found in header: '<power/sandbox_pmic.h>'
176
177	The Sandbox PMIC info:
178	* I/O interface:
179	  - I2C chip address:       0x40
180	  - first register address: 0x0
181	  - register count:         0x10
182	* Adjustable outputs:
183	  - 2x LDO
184	  - 2x BUCK
185	  - Each, with a different operating conditions (header).
186	* Reset values:
187	  - set by i2c emul driver's probe() (defaults in header)
188
189	Driver binding info: doc/device-tree-bindings/pmic/sandbox.txt
190
191config PMIC_S5M8767
192	bool "Enable Driver Model for the Samsung S5M8767 PMIC"
193	depends on DM_PMIC
194	---help---
195	The S5M8767 PMIC provides a large array of LDOs and BUCKs for use
196	as a SoC power controller. It also provides 32KHz clock outputs. This
197	driver provides basic register access and sets up the attached
198	regulators if regulator support is enabled.
199
200config PMIC_RN5T567
201	bool "Enable driver for Ricoh RN5T567 PMIC"
202	depends on DM_PMIC
203	---help---
204	The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
205	regulators Real-Time Clock and 4 GPIOs. This driver provides
206	register access only.
207
208config PMIC_TPS65090
209	bool "Enable driver for Texas Instruments TPS65090 PMIC"
210	depends on DM_PMIC
211	---help---
212	The TPS65090 is a PMIC containing several LDOs, DC to DC convertors,
213	FETs and a battery charger. This driver provides register access
214	only, and you can enable the regulator/charger drivers separately if
215	required.
216
217config PMIC_PALMAS
218	bool "Enable driver for Texas Instruments PALMAS PMIC"
219	depends on DM_PMIC
220	---help---
221	The PALMAS is a PMIC containing several LDOs, SMPS.
222	This driver binds the pmic children.
223
224config PMIC_LP873X
225	bool "Enable driver for Texas Instruments LP873X PMIC"
226	depends on DM_PMIC
227	---help---
228	The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
229	This driver binds the pmic children.
230
231config PMIC_LP87565
232	bool "Enable driver for Texas Instruments LP87565 PMIC"
233	depends on DM_PMIC
234	---help---
235	The LP87565 is a PMIC containing a bunch of SMPS.
236	This driver binds the pmic children.
237
238config POWER_MC34VR500
239	bool "Enable driver for Freescale MC34VR500 PMIC"
240	---help---
241	The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
242	SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
243	via an I2C interface.
244