]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
platform/chrome: cros_ec_debugfs: Add debugfs entry to retrieve EC uptime
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Thu, 13 Jun 2019 17:57:36 +0000 (11:57 -0600)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Tue, 18 Jun 2019 08:07:13 +0000 (10:07 +0200)
commite90716a6612150218aaff1fd47ca6de954100a06
treeccfae2f4789fdf355865630fbb3db2c248c15061
parent74e80d81cc7e2b445c28c88cf3b2fa944ae73555
platform/chrome: cros_ec_debugfs: Add debugfs entry to retrieve EC uptime

The new debugfs entry 'uptime' is being made available to userspace so that
a userspace daemon can synchronize EC logs with host time.

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
[rework based on Tim's first approach]
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Documentation/ABI/testing/debugfs-cros-ec [new file with mode: 0644]
drivers/platform/chrome/cros_ec_debugfs.c