MLK-13387-2 regulator: consumer: add new event macro
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 17 Oct 2016 07:12:08 +0000 (15:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:30 +0000 (14:52 -0500)
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>
include/linux/regulator/consumer.h

index 2cfbe0f..ce63a80 100644 (file)
@@ -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