aboutsummaryrefslogtreecommitdiff
path: root/include/axp809.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/axp809.h')
-rw-r--r--include/axp809.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/axp809.h b/include/axp809.h
index 430dbef..8082e40 100644
--- a/include/axp809.h
+++ b/include/axp809.h
@@ -46,7 +46,8 @@
/* For axp_gpio.c */
#ifdef CONFIG_AXP809_POWER
#define AXP_POWER_STATUS 0x00
-#define AXP_POWER_STATUS_VBUS_PRESENT (1 << 5)
+#define AXP_POWER_STATUS_ALDO_IN BIT(0)
+#define AXP_POWER_STATUS_VBUS_PRESENT BIT(5)
#define AXP_VBUS_IPSOUT 0x30
#define AXP_VBUS_IPSOUT_DRIVEBUS (1 << 2)
#define AXP_MISC_CTRL 0x8f