mfd / platform: cros_ec_debugfs: Expose resume result via debugfs
For ECs that support it, the EC returns the number of slp_s0 transitions and whether or not there was a timeout in the resume response. Expose the last resume result to usermode via debugfs so that usermode can detect and report S0ix timeouts. Signed-off-by:Evan Green <evgreen@chromium.org> Acked-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
Showing
- Documentation/ABI/testing/debugfs-cros-ec 22 additions, 0 deletionsDocumentation/ABI/testing/debugfs-cros-ec
- drivers/mfd/cros_ec.c 5 additions, 1 deletiondrivers/mfd/cros_ec.c
- drivers/platform/chrome/cros_ec_debugfs.c 3 additions, 0 deletionsdrivers/platform/chrome/cros_ec_debugfs.c
- include/linux/mfd/cros_ec.h 1 addition, 0 deletionsinclude/linux/mfd/cros_ec.h
Loading
Please register or sign in to comment