xref: /linux/include/linux/power/power_on_reason.h (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Author: Kamel Bouhra <kamel.bouhara@bootlin.com>
4  */
5 
6 #ifndef POWER_ON_REASON_H
7 #define POWER_ON_REASON_H
8 
9 #define POWER_ON_REASON_REGULAR "regular power-up"
10 #define POWER_ON_REASON_RTC "RTC wakeup"
11 #define POWER_ON_REASON_WATCHDOG "watchdog timeout"
12 #define POWER_ON_REASON_SOFTWARE "software reset"
13 #define POWER_ON_REASON_RST_BTN "reset button action"
14 #define POWER_ON_REASON_CPU_CLK_FAIL "CPU clock failure"
15 #define POWER_ON_REASON_XTAL_FAIL "crystal oscillator failure"
16 #define POWER_ON_REASON_BROWN_OUT "brown-out reset"
17 #define POWER_ON_REASON_UNKNOWN "unknown reason"
18 
19 #endif /* POWER_ON_REASON_H */
20