linux/drivers/platform/chrome
Eric Caruso e862645952 mfd: cros_ec: add debugfs, console log file
If the EC supports the new CONSOLE_READ command type, then we
place a console_log file in debugfs for that EC device which allows
us to grab EC logs. The kernel will poll every 10 seconds for the
log and keep its own buffer, but userspace should grab this and
write it out to some logs which actually get rotated.

Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
[bleung: restored original version of this commit, with pointer size
 issue to be fixed in next commit]
Signed-off-by: Benson Leung <bleung@chromium.org>
2017-06-16 13:57:45 -07:00
..
chromeos_laptop.c Revert "platform/chrome: chromeos_laptop: Add Leon Touch" 2016-05-28 08:47:48 -07:00
chromeos_pstore.c platform/chrome: pstore: Move to larger record size. 2016-05-11 11:55:47 -07:00
cros_ec_debugfs.c mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00
cros_ec_debugfs.h mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00
cros_ec_dev.c mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00
cros_ec_dev.h mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar - use name instead of ID to hide lightbar attributes 2016-05-11 11:55:47 -07:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc - Add support for Google Pixel 2 2015-10-07 14:34:26 -07:00
cros_ec_proto.c mfd: cros_ec: Add helper for event notifier. 2017-06-16 13:57:44 -07:00
cros_ec_sysfs.c mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_vbc.c platform/chrome: Support reading/writing the vboot context 2015-10-07 15:05:53 -07:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Kconfig platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Makefile mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00