diff options
| author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-06-14 06:23:47 -0400 |
|---|---|---|
| committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-06-18 04:07:54 -0400 |
| commit | 1fbc6ec2f35e28a23c9f0e9bef199bbbcfb4635e (patch) | |
| tree | 175d2dd461eb96198b6e921d982754a3f768a34f | |
| parent | cb78a163c1510a35c4bee2576c38a7dc95cf1ba1 (diff) | |
platform/chrome: cros_ec_debugfs: Add debugfs ABI documentation
Add the missing ABI documentation for the already available debugfs
entries: console_log, panicinfo and pdinfo.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
| -rw-r--r-- | Documentation/ABI/testing/debugfs-cros-ec | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-cros-ec b/Documentation/ABI/testing/debugfs-cros-ec index c91da2d374aa..573a82d23c89 100644 --- a/Documentation/ABI/testing/debugfs-cros-ec +++ b/Documentation/ABI/testing/debugfs-cros-ec | |||
| @@ -1,3 +1,29 @@ | |||
| 1 | What: /sys/kernel/debug/<cros-ec-device>/console_log | ||
| 2 | Date: September 2017 | ||
| 3 | KernelVersion: 4.13 | ||
| 4 | Description: | ||
| 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 | |||
| 10 | What: /sys/kernel/debug/<cros-ec-device>/panicinfo | ||
| 11 | Date: September 2017 | ||
| 12 | KernelVersion: 4.13 | ||
| 13 | Description: | ||
| 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 | |||
| 18 | What: /sys/kernel/debug/<cros-ec-device>/pdinfo | ||
| 19 | Date: June 2018 | ||
| 20 | KernelVersion: 4.17 | ||
| 21 | Description: | ||
| 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 | |||
| 1 | What: /sys/kernel/debug/<cros-ec-device>/uptime | 27 | What: /sys/kernel/debug/<cros-ec-device>/uptime |
| 2 | Date: June 2019 | 28 | Date: June 2019 |
| 3 | KernelVersion: 5.3 | 29 | KernelVersion: 5.3 |
