diff options
author | Fancy Fang <chen.fang@freescale.com> | 2015-08-21 14:19:27 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:22:48 +0800 |
commit | 4aebe641bf63c5470d166eaa8456e6242dbde794 (patch) | |
tree | 9823e5d9457813c539c847b5a4ef02cde0b02523 /include/linux/regulator | |
parent | 7140a023c85c9acbf82c4fdda9372a02f197d333 (diff) |
MLK-11395-3 regulator: consumer: add new event macros
Add two new regulator events macro 'REGULATOR_EVENT_PRE_DO_ENABLE'
and 'REGULATOR_EVENT_PRE_DO_DISABLE', since some gpc operations
should be required when MIPI PHY is powered on/off.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/consumer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 25602afd4844..8fe6df7053c2 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -121,6 +121,8 @@ struct regmap; #define REGULATOR_EVENT_PRE_DISABLE 0x400 #define REGULATOR_EVENT_ABORT_DISABLE 0x800 #define REGULATOR_EVENT_ENABLE 0x1000 +#define REGULATOR_EVENT_PRE_DO_ENABLE 0x2000 +#define REGULATOR_EVENT_PRE_DO_DISABLE 0x4000 /* * Regulator errors that can be queried using regulator_get_error_flags |