regulator: add missing description for set_over_current_protection
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 23 Mar 2016 11:35:39 +0000 (11:35 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Mar 2016 13:38:23 +0000 (13:38 +0000)
Over current protection is missing descriptions for documentation.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/driver.h
include/linux/regulator/machine.h

index 01d26244a610581a47dbb8951c7d02ebd86013ff..1392022fe509a7a18e0e9aad49ac0a747ca71423 100644 (file)
@@ -93,6 +93,9 @@ struct regulator_linear_range {
  * @get_current_limit: Get the configured limit for a current-limited regulator.
  * @set_input_current_limit: Configure an input limit.
  *
+ * @set_over_current_protection: Support capability of automatically shutting
+ *                               down when detecting an over current event.
+ *
  * @set_active_discharge: Set active discharge enable/disable of regulators.
  *
  * @set_mode: Set the configured operating mode for the regulator.
index 5d627c83a6300e4aca26469a6c8e326fc75172c6..ad3e5158e586dc841e9cd37492ec7104d60e7a81 100644 (file)
@@ -97,6 +97,7 @@ struct regulator_state {
  * @ramp_disable: Disable ramp delay when initialising or when setting voltage.
  * @soft_start: Enable soft start so that voltage ramps slowly.
  * @pull_down: Enable pull down when regulator is disabled.
+ * @over_current_protection: Auto disable on over current event.
  *
  * @input_uV: Input voltage for regulator when supplied by another regulator.
  *