]> git.baikalelectronics.ru Git - 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)
commit0fc2cae4b09143fb792381e26c426f346b2b074b
treeccfae2f4789fdf355865630fbb3db2c248c15061
parentfc04f583051ec4a7f4c6c807bd55100b9eac9437
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