Lines Matching +full:disable +full:- +full:over +full:- +full:current

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
26 * CURRENT: Regulator output current can be changed by software on this
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.
113 * @min_uA: Smallest current consumers may set.
114 * @max_uA: Largest current consumers may set.
115 * @ilim_uA: Maximum input current.
118 * @over_curr_limits: Limits for acting on over current.
119 * @over_voltage_limits: Limits for acting on over voltage.
121 * @temp_limits: Limits for acting on over temperature.
134 * @ramp_disable: Disable ramp delay when initialising or when setting voltage.
139 * @over_current_protection: Auto disable on over current event.
141 * @over_current_detection: Configure over current limits.
142 * @over_voltage_detection: Configure over voltage limits.
144 * @over_temp_detection: Configure over temperature limits.
156 * change is non-linear (unit: microseconds).
158 * change is non-linear (unit: microseconds).
160 * voltage change is non-linear (unit: microseconds).
161 * @active_discharge: Enable/disable active discharge. The enum
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 */
235 unsigned over_current_protection:1; /* auto disable on over current */
236 unsigned over_current_detection:1; /* notify on over current */
237 unsigned over_voltage_detection:1; /* notify on over voltage */
239 unsigned over_temp_detection:1; /* notify on over temperature */
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.