hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/mfd/tps65218.h
....@@ -3,7 +3,7 @@
33 *
44 * Functions to access TPS65219 power management chip.
55 *
6
- * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
6
+ * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
77 *
88 * This program is free software; you can redistribute it and/or
99 * modify it under the terms of the GNU General Public License version 2 as
....@@ -137,6 +137,10 @@
137137 #define TPS65218_CONFIG1_PGDLY_MASK 0x18
138138 #define TPS65218_CONFIG1_STRICT BIT(2)
139139 #define TPS65218_CONFIG1_UVLO_MASK 0x3
140
+#define TPS65218_CONFIG1_UVLO_2750000 0x0
141
+#define TPS65218_CONFIG1_UVLO_2950000 0x1
142
+#define TPS65218_CONFIG1_UVLO_3250000 0x2
143
+#define TPS65218_CONFIG1_UVLO_3350000 0x3
140144
141145 #define TPS65218_CONFIG2_DC12_RST BIT(7)
142146 #define TPS65218_CONFIG2_UVLOHYS BIT(6)
....@@ -208,6 +212,7 @@
208212 /* LDOs */
209213 TPS65218_LDO_1,
210214 /* LS's */
215
+ TPS65218_LS_2,
211216 TPS65218_LS_3,
212217 };
213218
....@@ -218,7 +223,7 @@
218223 /* Number of LDO voltage regulators available */
219224 #define TPS65218_NUM_LDO 1
220225 /* Number of total LS current regulators available */
221
-#define TPS65218_NUM_LS 1
226
+#define TPS65218_NUM_LS 2
222227 /* Number of total regulators available */
223228 #define TPS65218_NUM_REGULATOR (TPS65218_NUM_DCDC + TPS65218_NUM_LDO \
224229 + TPS65218_NUM_LS)