summaryrefslogtreecommitdiffstats
path: root/include/power/pmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power/pmic.h')
-rw-r--r--include/power/pmic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/power/pmic.h b/include/power/pmic.h
index 8f282dd2f2..a62e6c90a5 100644
--- a/include/power/pmic.h
+++ b/include/power/pmic.h
@@ -17,6 +17,11 @@ enum { I2C_PMIC, I2C_NUM, };
enum { PMIC_READ, PMIC_WRITE, };
enum { PMIC_SENSOR_BYTE_ORDER_LITTLE, PMIC_SENSOR_BYTE_ORDER_BIG, };
+enum {
+ PMIC_CHARGER_DISABLE,
+ PMIC_CHARGER_ENABLE,
+};
+
struct p_i2c {
unsigned char addr;
unsigned char *buf;
OpenPOWER on IntegriCloud