Convert CONFIG_SAMSUNG_ONENAND to Kconfig
[platform/kernel/u-boot.git] / include / axp152.h
index c81f172..bac6526 100644 (file)
@@ -15,6 +15,9 @@ enum axp152_reg {
 #define AXP152_POWEROFF                        (1 << 7)
 
 /* 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
@@ -24,3 +27,4 @@ enum axp152_reg {
 #define AXP_GPIO_CTRL_INPUT                    0x02 /* Input */
 #define AXP_GPIO_STATE                 0x97
 #define AXP_GPIO_STATE_OFFSET                  0
+#endif