Skip to content

Commit c049742

Browse files
M-Vaittinenbroonie
authored andcommitted
regulator: Minor regulator documentation fixes.
The newly added regulator ramp-delay specifiers in regulator desc lacked the documentation. Add some. Also fix a typo. Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/20210818041513.GA2408290@dc7vkhyh15000m40t6jht-3.rev.dnainternet.fi Signed-off-by: Mark Brown <[email protected]>
1 parent 27fdd3b commit c049742

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

include/linux/regulator/driver.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,12 @@ enum regulator_type {
337337
* @pull_down_val_on: Enabling value for control when using regmap
338338
* set_pull_down
339339
*
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
343+
* should be given in units of V/S (uV/uS). See the
344+
* regulator_set_ramp_delay_regmap().
345+
*
340346
* @enable_time: Time taken for initial enable of regulator (in uS).
341347
* @off_on_delay: guard time (in uS), before re-enabling a regulator
342348
*
@@ -462,7 +468,7 @@ struct regulator_err_state {
462468
};
463469

464470
/**
465-
* struct regulator_irq_data - regulator error/notification status date
471+
* struct regulator_irq_data - regulator error/notification status data
466472
*
467473
* @states: Status structs for each of the associated regulators.
468474
* @num_states: Amount of associated regulators.

0 commit comments

Comments
 (0)