.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
---|
1 | 2 | /* |
---|
2 | | - * s2mps11.h |
---|
3 | | - * |
---|
4 | 3 | * Copyright (c) 2012 Samsung Electronics Co., Ltd |
---|
5 | 4 | * 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 | | - * |
---|
12 | 5 | */ |
---|
13 | 6 | |
---|
14 | 7 | #ifndef __LINUX_MFD_S2MPS11_H |
---|
.. | .. |
---|
177 | 170 | #define S2MPS11_ENABLE_MASK (0x03 << S2MPS11_ENABLE_SHIFT) |
---|
178 | 171 | #define S2MPS11_ENABLE_SHIFT 0x06 |
---|
179 | 172 | #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 |
---|
181 | 176 | #define S2MPS11_BUCK9_N_VOLTAGES (S2MPS11_BUCK9_VSEL_MASK + 1) |
---|
182 | 177 | #define S2MPS11_RAMP_DELAY 25000 /* uV/us */ |
---|
183 | 178 | |
---|
.. | .. |
---|
195 | 190 | #define S2MPS11_BUCK6_RAMP_EN_SHIFT 0 |
---|
196 | 191 | #define S2MPS11_PMIC_EN_SHIFT 6 |
---|
197 | 192 | |
---|
| 193 | +/* |
---|
| 194 | + * Bits for "enable suspend" (On/Off controlled by PWREN) |
---|
| 195 | + * are the same as in S2MPS14: S2MPS14_ENABLE_SUSPEND |
---|
| 196 | + */ |
---|
| 197 | + |
---|
198 | 198 | #endif /* __LINUX_MFD_S2MPS11_H */ |
---|