aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/consumer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index d347c805f923..9efddd2a63ee 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -99,6 +99,8 @@ struct regmap;
99 * Data passed is "struct pre_voltage_change_data" 99 * Data passed is "struct pre_voltage_change_data"
100 * ABORT_VOLTAGE_CHANGE Regulator voltage change failed for some reason. 100 * ABORT_VOLTAGE_CHANGE Regulator voltage change failed for some reason.
101 * Data passed is old voltage cast to (void *). 101 * Data passed is old voltage cast to (void *).
102 * PRE_DISABLE Regulator is about to be disabled
103 * ABORT_DISABLE Regulator disable failed for some reason
102 * 104 *
103 * NOTE: These events can be OR'ed together when passed into handler. 105 * NOTE: These events can be OR'ed together when passed into handler.
104 */ 106 */
@@ -113,6 +115,8 @@ struct regmap;
113#define REGULATOR_EVENT_DISABLE 0x80 115#define REGULATOR_EVENT_DISABLE 0x80
114#define REGULATOR_EVENT_PRE_VOLTAGE_CHANGE 0x100 116#define REGULATOR_EVENT_PRE_VOLTAGE_CHANGE 0x100
115#define REGULATOR_EVENT_ABORT_VOLTAGE_CHANGE 0x200 117#define REGULATOR_EVENT_ABORT_VOLTAGE_CHANGE 0x200
118#define REGULATOR_EVENT_PRE_DISABLE 0x400
119#define REGULATOR_EVENT_ABORT_DISABLE 0x800
116 120
117/** 121/**
118 * struct pre_voltage_change_data - Data sent with PRE_VOLTAGE_CHANGE event 122 * struct pre_voltage_change_data - Data sent with PRE_VOLTAGE_CHANGE event