Lines Matching +full:hw +full:- +full:settle +full:- +full:time +full:- +full:us
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
57 * struct regulator_ops - regulator operations.
70 * return -ENOTRECOVERABLE if regulator can't be read at
73 * regulator; return -ENOTRECOVERABLE if regulator can't
80 * @set_current_limit: Configure a limit for a current-limited regulator.
82 * @get_current_limit: Get the configured limit for a current-limited regulator.
89 * - REGULATOR_SEVERITY_PROT should automatically shut down the regulator(s).
91 * - REGULATOR_SEVERITY_ERR should indicate that over-current situation is
92 * caused by an unrecoverable error but HW does not perform
95 * - REGULATOR_SEVERITY_WARN should indicate situation where hardware is
116 * @get_status: Return actual (not as-configured) status of regulator, as a
125 * @enable_time: Time taken for the regulator voltage output voltage to
129 * @set_voltage_time: Time taken for the regulator voltage output voltage
133 * @set_voltage_time_sel: Time taken for the regulator voltage output voltage
195 /* Time taken to enable or set voltage on the regulator */
250 * struct regulator_desc - Static regulator descriptor
254 * structure contains the non-varying parts of the regulator
292 * @ramp_delay: Time to settle down after voltage change (unit: uV/us)
314 * voltage up/down gradually each time increasing/decreasing the
349 * @ramp_reg: Register for controlling the regulator ramp-rate.
350 * @ramp_mask: Bitmask for the ramp-rate control register.
351 * @ramp_delay_table: Table for mapping the regulator ramp-rate values. Values
352 * should be given in units of V/S (uV/uS). See the
356 * @enable_time: Time taken for initial enable of regulator (in uS).
357 * @off_on_delay: guard time (in uS), before re-enabling a regulator
359 * @poll_enabled_time: The polling interval (in uS) to use while checking that
443 * struct regulator_config - Dynamic regulator descriptor
469 * struct regulator_err_state - regulator error/notification status
484 * struct regulator_irq_data - regulator error/notification status data
508 * struct regulator_irq_desc - notification sender for IRQ based events.
511 * @fatal_cnt: If this IRQ is used to signal HW damaging condition it may be
512 * best to shut-down regulator(s) or reboot the SOC if error
518 * @reread_ms: The time which is waited before attempting to re-read status
519 * at the worker if IC reading fails. Immediate re-read is done
520 * if time is not specified.
521 * @irq_off_ms: The time which IRQ is kept disabled before re-evaluating the
545 * fatal_cnt times the core will call die() callback or power-off
546 * the system as a last resort to protect the HW.
547 * @renable: Optional callback to check status (if HW supports that) before
548 * re-enabling IRQ. If implemented this should clear the error
551 * assumed to be cleared and IRQ is re-enabled.
555 * callback or if die() is not populated then attempt to power-off
556 * the system as a last resort to protect the HW.
557 * Returning zero indicates that the problem in HW has been solved
558 * and IRQ will be re-enabled. Returning REGULATOR_ERROR_ON
564 * re-evaluated and re-sent.
654 /* time when this regulator was disabled last time */