summaryrefslogtreecommitdiffstats
path: root/include/axp221.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/axp221.h')
-rw-r--r--include/axp221.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/axp221.h b/include/axp221.h
index 0ee21b6280..04cd8c2be4 100644
--- a/include/axp221.h
+++ b/include/axp221.h
@@ -45,6 +45,8 @@
#define AXP221_ALDO3_CTRL 0x2a
#define AXP221_VBUS_IPSOUT 0x30
#define AXP221_VBUS_IPSOUT_DRIVEBUS (1 << 2)
+#define AXP221_SHUTDOWN 0x32
+#define AXP221_SHUTDOWN_POWEROFF (1 << 7)
#define AXP221_MISC_CTRL 0x8f
#define AXP221_MISC_CTRL_N_VBUSEN_FUNC (1 << 4)
#define AXP221_PAGE 0xff
OpenPOWER on IntegriCloud