xref: /linux/Documentation/ABI/testing/sysfs-platform-power-on-reason (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*d40befedSKamel BouharaWhat:		/sys/devices/platform/.../power_on_reason
2*d40befedSKamel BouharaDate:		June 2023
3*d40befedSKamel BouharaKernelVersion:	6.5
4*d40befedSKamel BouharaContact:	Kamel Bouhara <kamel.bouhara@bootlin.com>
5*d40befedSKamel BouharaDescription:	Shows system power on reason. The following strings/reasons can
6*d40befedSKamel Bouhara		be read (the list can be extended):
7*d40befedSKamel Bouhara		"regular power-up", "RTC wakeup", "watchdog timeout",
8*d40befedSKamel Bouhara		"software reset", "reset button action", "CPU clock failure",
9*d40befedSKamel Bouhara		"crystal oscillator failure", "brown-out reset",
10*d40befedSKamel Bouhara		"unknown reason".
11*d40befedSKamel Bouhara
12*d40befedSKamel Bouhara		The file is read only.
13