1What: /sys/kernel/debug/<cros-ec-device>/console_log 2Date: September 2017 3KernelVersion: 4.13 4Description: 5 If the EC supports the CONSOLE_READ command type, this file 6 can be used to grab the EC logs. The kernel polls for the log 7 and keeps its own buffer but userspace should grab this and 8 write it out to some logs. 9 10What: /sys/kernel/debug/<cros-ec-device>/panicinfo 11Date: September 2017 12KernelVersion: 4.13 13Description: 14 This file dumps the EC panic information from the previous 15 reboot. This file will only exist if the PANIC_INFO command 16 type is supported by the EC. 17 18What: /sys/kernel/debug/<cros-ec-device>/pdinfo 19Date: June 2018 20KernelVersion: 4.17 21Description: 22 This file provides the port role, muxes and power debug 23 information for all the USB PD/type-C ports available. If 24 the are no ports available, this file will be just an empty 25 file. 26 27What: /sys/kernel/debug/<cros-ec-device>/uptime 28Date: June 2019 29KernelVersion: 5.3 30Description: 31 A u32 providing the time since EC booted in ms. This is 32 is used for synchronizing the AP host time with the EC 33 log. An error is returned if the command is not supported 34 by the EC or there is a communication problem. 35