Skip to content

Commit 92b1348

Browse files
M-Vaittinenbroonie
authored andcommitted
regulator: Add units to limit documentation
The documentation for limits used at protection level setting did not mention the units. Fix the units in documentation to match values passed in from device-tree (uV, uA, Kelvin) to avoid confusion. Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/111114aca991e41e49a32f89b74e95285f07c1e3.1637233864.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Mark Brown <[email protected]>
1 parent e7543e1 commit 92b1348

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/linux/regulator/driver.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,13 @@ enum regulator_detection_severity {
101101
* is requested.
102102
* @set_over_voltage_protection: Support enabling of and setting limits for over
103103
* voltage situation detection. Detection can be configured for same
104-
* severities as over current protection.
104+
* severities as over current protection. Units of uV.
105105
* @set_under_voltage_protection: Support enabling of and setting limits for
106-
* under situation detection.
106+
* under voltage situation detection. Detection can be configured for same
107+
* severities as over current protection. Units of uV.
107108
* @set_thermal_protection: Support enabling of and setting limits for over
108-
* temperature situation detection.
109+
* temperature situation detection.Detection can be configured for same
110+
* severities as over current protection. Units of degree Kelvin.
109111
*
110112
* @set_active_discharge: Set active discharge enable/disable of regulators.
111113
*

0 commit comments

Comments
 (0)