X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Faxp209.h;h=414f88a32c656707642019754f5184d7a37a7e58;hb=46b5c8ed017958fc387ab86c71ae6c90abb6793c;hp=f4f1b2fe56d6dbb42fca9f9945016271de7b0869;hpb=c49aff3e66b930aa06936afee401cf5e19377958;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/axp209.h b/include/axp209.h index f4f1b2f..414f88a 100644 --- a/include/axp209.h +++ b/include/axp209.h @@ -74,8 +74,10 @@ enum axp209_reg { #define AXP209_POWEROFF BIT(7) /* 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 @@ -84,3 +86,4 @@ enum axp209_reg { #define AXP_GPIO_CTRL_INPUT 0x02 /* Input */ #define AXP_GPIO_STATE 0x94 #define AXP_GPIO_STATE_OFFSET 4 +#endif