This series makes it possible to capture EC console and panicinfo by reading files in /sys/kernel/debug/cros_ec/*. This is very useful for debugging purpose (e.g. when a user files a feedback on Chrome OS).
Eric Caruso (1): mfd: cros_ec: add debugfs, console log file Nicolas Boichat (2): mfd: cros_ec: Add EC console read structures definitions mfd: cros_ec: Add support for dumping panic information drivers/platform/chrome/Makefile | 3 +- drivers/platform/chrome/cros_ec_debugfs.c | 401 ++++++++++++++++++++++++++++++ drivers/platform/chrome/cros_ec_debugfs.h | 27 ++ drivers/platform/chrome/cros_ec_dev.c | 7 + include/linux/mfd/cros_ec.h | 4 + include/linux/mfd/cros_ec_commands.h | 21 +- 6 files changed, 461 insertions(+), 2 deletions(-) create mode 100644 drivers/platform/chrome/cros_ec_debugfs.c create mode 100644 drivers/platform/chrome/cros_ec_debugfs.h -- 2.8.0.rc3.226.g39d4020

