dt-bindings: soc: rockchip_boot-mode: add charging mode support
[firefly-linux-kernel-4.4.55.git] / include / dt-bindings / soc / rockchip_boot-mode.h
index a33591b24f888bb68ecaef680daefcdb3e2bf846..cb7a60ab4b89476c304aeaac713e0b678198fccf 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __ROCKCHIP_BOOT_MODE_H
 #define __ROCKCHIP_BOOT_MODE_H
 
-/*high 24 bits is tag, low 8 bits is type*/
+/* high 24 bits is tag, low 8 bits is type */
 #define REBOOT_FLAG            0x5242C300
 /* normal boot */
 #define BOOT_NORMAL            (REBOOT_FLAG + 0)
@@ -9,6 +9,9 @@
 #define BOOT_LOADER            (REBOOT_FLAG + 1)
 /* enter recovery */
 #define BOOT_RECOVERY          (REBOOT_FLAG + 3)
+/* enter fastboot mode */
 #define BOOT_FASTBOOT          (REBOOT_FLAG + 9)
+/* enter charging mode */
+#define BOOT_CHARGING          (REBOOT_FLAG + 11)
 
 #endif