summaryrefslogtreecommitdiff
path: root/include/axp818.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/axp818.h')
-rw-r--r--include/axp818.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/axp818.h b/include/axp818.h
index f7f343a194..959774c76f 100644
--- a/include/axp818.h
+++ b/include/axp818.h
@@ -55,6 +55,9 @@
#define AXP818_ALDO2_CTRL 0x29
#define AXP818_ALDO3_CTRL 0x2a
+#define AXP818_SHUTDOWN 0x32
+#define AXP818_SHUTDOWN_POWEROFF (1 << 7)
+
/* For axp_gpio.c */
#define AXP_POWER_STATUS 0x00
#define AXP_POWER_STATUS_VBUS_PRESENT (1 << 5)