summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2016-10-17 15:12:08 +0800
committerRichard Zhu <hongxing.zhu@nxp.com>2016-10-26 09:50:43 +0800
commitd3515eb0f0c3f7a346ea2f4de6797b4a8e10c40e (patch)
treebb0e2e9120d075fbb954f954a47e8a1015e62c71 /include/linux/regulator
parent3d2b7ca8978ee9286acf421e2c821b6b7d665d29 (diff)
MLK-13387-2 regulator: consumer: add new event macro
Add the AFT_ENABLE event macros, because that 1.8v of imx7d pcie phy, should be turned on after the 1p0d(1.0v) of pcie phy is turned on. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> (cherry picked from commit 651954def2e2fd1194f09159477fcee1a6c55a85)
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/consumer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 86c6d3205dbd..6406d03826ff 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -121,6 +121,7 @@ struct regmap;
#define REGULATOR_EVENT_ABORT_DISABLE 0x800
#define REGULATOR_EVENT_PRE_DO_ENABLE 0x1000
#define REGULATOR_EVENT_PRE_DO_DISABLE 0x2000
+#define REGULATOR_EVENT_AFT_DO_ENABLE 0x4000
/**
* struct pre_voltage_change_data - Data sent with PRE_VOLTAGE_CHANGE event