summaryrefslogtreecommitdiffstats
path: root/include/power
diff options
context:
space:
mode:
Diffstat (limited to 'include/power')
-rw-r--r--include/power/pfuze100_pmic.h2
-rw-r--r--include/power/tps65217.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h
index d304658b9a..07199b4f89 100644
--- a/include/power/pfuze100_pmic.h
+++ b/include/power/pfuze100_pmic.h
@@ -232,5 +232,7 @@ enum {
#define APS_PFM 0xc
#define PWM_PFM 0xd
+#define SWITCH_SIZE 0x7
+
int power_pfuze100_init(unsigned char bus);
#endif
diff --git a/include/power/tps65217.h b/include/power/tps65217.h
index 297c4cbd99..93cbe36c47 100644
--- a/include/power/tps65217.h
+++ b/include/power/tps65217.h
@@ -73,6 +73,7 @@ enum {
#define TPS65217_LDO_VOLTAGE_OUT_1_8 0x06
#define TPS65217_LDO_VOLTAGE_OUT_3_3 0x1F
+#define TPS65217_PWR_OFF 0x80
#define TPS65217_PWR_SRC_USB_BITMASK 0x4
#define TPS65217_PWR_SRC_AC_BITMASK 0x8
OpenPOWER on IntegriCloud