summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-02 16:17:38 +0800
committerR b b666 <[email protected]>2025-12-02 21:36:58 +0800
commit33d9c50efbb899201495c39db02b93d8dee6be79 (patch)
treef4a00c2cc5ddf22372237f406ace54e3d6dd2b4a /components/drivers/include
parent7ebc10a6888390e3219d177d5101f5bf8923d9fb (diff)
[DM][REGULATOR] Support operator delay
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/regulator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/regulator.h b/components/drivers/include/drivers/regulator.h
index d74fc64277..73ab7863e1 100644
--- a/components/drivers/include/drivers/regulator.h
+++ b/components/drivers/include/drivers/regulator.h
@@ -30,6 +30,9 @@ struct rt_regulator_param
int ramp_delay; /* In uV/usec */
int enable_delay; /* In usec */
int off_on_delay; /* In usec */
+ int settling_time;
+ int settling_time_up;
+ int settling_time_down;
rt_uint32_t enable_active_high:1;
rt_uint32_t boot_on:1; /* Is enabled on boot */
@@ -37,6 +40,7 @@ struct rt_regulator_param
rt_uint32_t soft_start:1; /* Ramp voltage slowly */
rt_uint32_t pull_down:1; /* Pull down resistor when regulator off */
rt_uint32_t over_current_protection:1; /* Auto disable on over current */
+ rt_uint32_t ramp_disable:1; /* Disable ramp delay */
};
struct rt_regulator_ops;