hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/regulator/machine.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * machine.h -- SoC Regulator support, machine/board driver API.
34 *
45 * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC.
56 *
67 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
118 *
129 * Regulator Machine/Board Interface.
1310 */
....@@ -104,6 +101,7 @@
104101 * @system_load: Load that isn't captured by any consumer requests.
105102 *
106103 * @max_spread: Max possible spread between coupled regulators
104
+ * @max_uV_step: Max possible step change in voltage
107105 * @valid_modes_mask: Mask of modes which may be configured by consumers.
108106 * @valid_ops_mask: Operations which may be performed by consumers.
109107 *
....@@ -156,7 +154,10 @@
156154 int system_load;
157155
158156 /* used for coupled regulators */
159
- int max_spread;
157
+ u32 *max_spread;
158
+
159
+ /* used for changing voltage in steps */
160
+ int max_uV_step;
160161
161162 /* valid regulator operating modes for this machine */
162163 unsigned int valid_modes_mask;