]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/axp818.h
Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to Kconfig
[people/ms/u-boot.git] / include / axp818.h
index 5630eed04d8f0c52d7c2d65c925419d3b79d678a..959774c76fa63333b8569efa4235fede2bc50f1b 100644 (file)
@@ -24,6 +24,7 @@
 #define AXP818_OUTPUT_CTRL2_DLDO2_EN   (1 << 4)
 #define AXP818_OUTPUT_CTRL2_DLDO3_EN   (1 << 5)
 #define AXP818_OUTPUT_CTRL2_DLDO4_EN   (1 << 6)
+#define AXP818_OUTPUT_CTRL2_SW_EN      (1 << 7)
 #define AXP818_OUTPUT_CTRL3    0x13
 #define AXP818_OUTPUT_CTRL3_FLDO1_EN   (1 << 2)
 #define AXP818_OUTPUT_CTRL3_FLDO2_EN   (1 << 3)
@@ -54,6 +55,9 @@
 #define AXP818_ALDO2_CTRL      0x29
 #define AXP818_ALDO3_CTRL      0x2a
 
+#define AXP818_SHUTDOWN                0x32
+#define AXP818_SHUTDOWN_POWEROFF       (1 << 7)
+
 /* For axp_gpio.c */
 #define AXP_POWER_STATUS               0x00
 #define AXP_POWER_STATUS_VBUS_PRESENT          (1 << 5)