Lines Matching +full:hw +full:- +full:settle +full:- +full:time

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
62 * struct regulator_ops - regulator operations.
75 * return -ENOTRECOVERABLE if regulator can't be read at
78 * regulator; return -ENOTRECOVERABLE if regulator can't
85 * @set_current_limit: Configure a limit for a current-limited regulator.
87 * @get_current_limit: Get the configured limit for a current-limited regulator.
94 * REGULATOR_SEVERITY_ERR should indicate that over-current situation is
95 * caused by an unrecoverable error but HW does not perform
115 * @get_status: Return actual (not as-configured) status of regulator, as a
124 * @enable_time: Time taken for the regulator voltage output voltage to
128 * @set_voltage_time: Time taken for the regulator voltage output voltage
132 * @set_voltage_time_sel: Time taken for the regulator voltage output voltage
194 /* Time taken to enable or set voltage on the regulator */
249 * struct regulator_desc - Static regulator descriptor
253 * structure contains the non-varying parts of the regulator
286 * @ramp_delay: Time to settle down after voltage change (unit: uV/us)
305 * voltage up/down gradually each time increasing/decreasing the
340 * @ramp_reg: Register for controlling the regulator ramp-rate.
341 * @ramp_mask: Bitmask for the ramp-rate control register.
342 * @ramp_delay_table: Table for mapping the regulator ramp-rate values. Values
346 * @enable_time: Time taken for initial enable of regulator (in uS).
347 * @off_on_delay: guard time (in uS), before re-enabling a regulator
430 * struct regulator_config - Dynamic regulator descriptor
456 * struct regulator_err_state - regulator error/notification status
471 * struct regulator_irq_data - regulator error/notification status data
495 * struct regulator_irq_desc - notification sender for IRQ based events.
498 * @fatal_cnt: If this IRQ is used to signal HW damaging condition it may be
499 * best to shut-down regulator(s) or reboot the SOC if error
504 * @reread_ms: The time which is waited before attempting to re-read status
505 * at the worker if IC reading fails. Immediate re-read is done
506 * if time is not specified.
507 * @irq_off_ms: The time which IRQ is kept disabled before re-evaluating the
530 * fatal_cnt times the core will call die() callback or power-off
531 * the system as a last resort to protect the HW.
532 * @renable: Optional callback to check status (if HW supports that) before
533 * re-enabling IRQ. If implemented this should clear the error
536 * assumed to be cleared and IRQ is re-enabled.
540 * callback or if die() is not populated then attempt to power-off
541 * the system as a last resort to protect the HW.
542 * Returning zero indicates that the problem in HW has been solved
543 * and IRQ will be re-enabled. Returning REGULATOR_ERROR_ON
549 * re-evaluated and re-sent.
640 /* time when this regulator was disabled last time */