summaryrefslogtreecommitdiff
path: root/include/axp152.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/axp152.h')
-rw-r--r--include/axp152.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/axp152.h b/include/axp152.h
index 10d845fec42..bac6526a362 100644
--- a/include/axp152.h
+++ b/include/axp152.h
@@ -16,6 +16,8 @@ enum axp152_reg {
/* For axp_gpio.c */
#ifdef CONFIG_AXP152_POWER
+#define AXP_POWER_STATUS 0x00
+#define AXP_POWER_STATUS_ALDO_IN BIT(0)
#define AXP_GPIO0_CTRL 0x90
#define AXP_GPIO1_CTRL 0x91
#define AXP_GPIO2_CTRL 0x92