aboutsummaryrefslogtreecommitdiff
path: root/include/axp209.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/axp209.h')
-rw-r--r--include/axp209.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/axp209.h b/include/axp209.h
index 30399a8..414f88a 100644
--- a/include/axp209.h
+++ b/include/axp209.h
@@ -76,7 +76,8 @@ enum axp209_reg {
/* For axp_gpio.c */
#ifdef CONFIG_AXP209_POWER
#define AXP_POWER_STATUS 0x00
-#define AXP_POWER_STATUS_VBUS_PRESENT BIT(5)
+#define AXP_POWER_STATUS_ALDO_IN BIT(0)
+#define AXP_POWER_STATUS_VBUS_PRESENT BIT(5)
#define AXP_GPIO0_CTRL 0x90
#define AXP_GPIO1_CTRL 0x92
#define AXP_GPIO2_CTRL 0x93