|
@@ -170,6 +170,7 @@ enum regulator_type {
|
|
*
|
|
*
|
|
* @min_uV: Voltage given by the lowest selector (if linear mapping)
|
|
* @min_uV: Voltage given by the lowest selector (if linear mapping)
|
|
* @uV_step: Voltage increase with each selector (if linear mapping)
|
|
* @uV_step: Voltage increase with each selector (if linear mapping)
|
|
|
|
+ * @ramp_delay: Time to settle down after voltage change (unit: mV/us)
|
|
* @volt_table: Voltage mapping table (if table based mapping)
|
|
* @volt_table: Voltage mapping table (if table based mapping)
|
|
*
|
|
*
|
|
* @vsel_reg: Register for selector when using regulator_regmap_X_voltage_
|
|
* @vsel_reg: Register for selector when using regulator_regmap_X_voltage_
|
|
@@ -189,6 +190,7 @@ struct regulator_desc {
|
|
|
|
|
|
unsigned int min_uV;
|
|
unsigned int min_uV;
|
|
unsigned int uV_step;
|
|
unsigned int uV_step;
|
|
|
|
+ unsigned int ramp_delay;
|
|
|
|
|
|
const unsigned int *volt_table;
|
|
const unsigned int *volt_table;
|
|
|
|
|
|
@@ -285,6 +287,9 @@ int regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned sel);
|
|
int regulator_is_enabled_regmap(struct regulator_dev *rdev);
|
|
int regulator_is_enabled_regmap(struct regulator_dev *rdev);
|
|
int regulator_enable_regmap(struct regulator_dev *rdev);
|
|
int regulator_enable_regmap(struct regulator_dev *rdev);
|
|
int regulator_disable_regmap(struct regulator_dev *rdev);
|
|
int regulator_disable_regmap(struct regulator_dev *rdev);
|
|
|
|
+int regulator_set_voltage_time_sel(struct regulator_dev *rdev,
|
|
|
|
+ unsigned int old_selector,
|
|
|
|
+ unsigned int new_selector);
|
|
|
|
|
|
void *regulator_get_init_drvdata(struct regulator_init_data *reg_init_data);
|
|
void *regulator_get_init_drvdata(struct regulator_init_data *reg_init_data);
|
|
|
|
|