hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/mfd/samsung/s2mps11.h
....@@ -1,14 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
2
- * s2mps11.h
3
- *
43 * Copyright (c) 2012 Samsung Electronics Co., Ltd
54 * http://www.samsung.com
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
11
- *
125 */
136
147 #ifndef __LINUX_MFD_S2MPS11_H
....@@ -177,7 +170,9 @@
177170 #define S2MPS11_ENABLE_MASK (0x03 << S2MPS11_ENABLE_SHIFT)
178171 #define S2MPS11_ENABLE_SHIFT 0x06
179172 #define S2MPS11_LDO_N_VOLTAGES (S2MPS11_LDO_VSEL_MASK + 1)
180
-#define S2MPS11_BUCK_N_VOLTAGES (S2MPS11_BUCK_VSEL_MASK + 1)
173
+#define S2MPS11_BUCK12346_N_VOLTAGES 153
174
+#define S2MPS11_BUCK5_N_VOLTAGES 216
175
+#define S2MPS11_BUCK7810_N_VOLTAGES 225
181176 #define S2MPS11_BUCK9_N_VOLTAGES (S2MPS11_BUCK9_VSEL_MASK + 1)
182177 #define S2MPS11_RAMP_DELAY 25000 /* uV/us */
183178
....@@ -195,4 +190,9 @@
195190 #define S2MPS11_BUCK6_RAMP_EN_SHIFT 0
196191 #define S2MPS11_PMIC_EN_SHIFT 6
197192
193
+/*
194
+ * Bits for "enable suspend" (On/Off controlled by PWREN)
195
+ * are the same as in S2MPS14: S2MPS14_ENABLE_SUSPEND
196
+ */
197
+
198198 #endif /* __LINUX_MFD_S2MPS11_H */