Lines Matching +full:ramp +full:- +full:down
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
53 * Default time window (in milliseconds) following a critical under-voltage
67 * struct regulator_state - regulator state during low power system states
79 * - DO_NOTHING_IN_SUSPEND
80 * - DISABLE_IN_SUSPEND
81 * - ENABLE_IN_SUSPEND
93 #define REGULATOR_NOTIF_LIMIT_DISABLE -1
94 #define REGULATOR_NOTIF_LIMIT_ENABLE -2
102 * struct regulation_constraints - regulator operating constraints.
134 * @ramp_disable: Disable ramp delay when initialising or when setting voltage.
136 * @pull_down: Enable pull down when regulator is disabled.
154 * @ramp_delay: Time to settle down after voltage change (unit: uV/us)
155 * @settling_time: Time to settle down after voltage change when voltage
156 * change is non-linear (unit: microseconds).
157 * @settling_time_up: Time to settle down after voltage increase when voltage
158 * change is non-linear (unit: microseconds).
159 * @settling_time_down : Time to settle down after voltage decrease when
160 * voltage change is non-linear (unit: microseconds).
164 * @enable_time: Turn-on time of the rails (unit: microseconds)
166 * following a critical under-voltage (UV) event
177 /* voltage output range (inclusive) - for voltage control */
183 /* current output range (inclusive) - for current control */
202 /* regulator input voltage - only if supply is another regulator */
231 unsigned ramp_disable:1; /* disable ramp delay */
232 unsigned soft_start:1; /* ramp voltage slowly */
233 unsigned pull_down:1; /* pull down resistor when regulator off */
243 * struct regulator_consumer_supply - supply -> device mapping
253 const char *supply; /* consumer supply - e.g. "vcc" */
264 * struct regulator_init_data - regulator platform initialisation data.