Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) What:		/sys/kernel/debug/<cros-ec-device>/console_log
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) Date:		September 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) KernelVersion:	4.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 		If the EC supports the CONSOLE_READ command type, this file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 		can be used to grab the EC logs. The kernel polls for the log
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 		and keeps its own buffer but userspace should grab this and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 		write it out to some logs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) What:		/sys/kernel/debug/<cros-ec-device>/panicinfo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Date:		September 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) KernelVersion:	4.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		This file dumps the EC panic information from the previous
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		reboot. This file will only exist if the PANIC_INFO command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		type is supported by the EC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What:		/sys/kernel/debug/<cros-ec-device>/pdinfo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date:		June 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) KernelVersion:	4.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		This file provides the port role, muxes and power debug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		information for all the USB PD/type-C ports available. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		the are no ports available, this file will be just an empty
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) What:		/sys/kernel/debug/<cros-ec-device>/uptime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Date:		June 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) KernelVersion:	5.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		A u32 providing the time since EC booted in ms. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		is used for synchronizing the AP host time with the EC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		log. An error is returned if the command is not supported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		by the EC or there is a communication problem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) What:		/sys/kernel/debug/<cros-ec-device>/last_resume_result
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Date:		June 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) KernelVersion:	5.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		Some ECs have a feature where they will track transitions to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		the (Intel) processor's SLP_S0 line, in order to detect cases
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		where a system failed to go into S0ix. When the system resumes,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 		an EC with this feature will return a summary of SLP_S0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		transitions that occurred. The last_resume_result file returns
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 		the most recent response from the AP's resume message to the EC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 		The bottom 31 bits contain a count of the number of SLP_S0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 		transitions that occurred since the suspend message was
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 		received. Bit 31 is set if the EC attempted to wake the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 		system due to a timeout when watching for SLP_S0 transitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 		Callers can use this to detect a wake from the EC due to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 		S0ix timeouts. The result will be zero if no suspend
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 		transitions have been attempted, or the EC does not support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 		this feature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 		Output will be in the format: "0x%08x\n".