diff options
author | 2016-01-26 15:17:08 -0800 | |
---|---|---|
committer | 2016-01-26 17:06:29 -0800 | |
commit | d562853d3ecc31806412635adcc590b33621b0c0 (patch) | |
tree | a195b39ee4e778439a45690c194c53063140b34c /drivers/staging/greybus/Documentation | |
parent | greybus: camera: only build module against msm kernel (diff) | |
download | linux-dev-d562853d3ecc31806412635adcc590b33621b0c0.tar.xz linux-dev-d562853d3ecc31806412635adcc590b33621b0c0.zip |
greybus: svc watchdog: allow it to be enabled/disabled from userspace
Sometimes you want to disable the SVC watchdog without having to patch
your kernel, so provide a sysfs file to do this. This can let us do
power measurements, and let the firmware developers not go crazy
worrying that the kernel is going to reset their chips with no notice.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/Documentation')
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs-bus-greybus | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index 1550b7f8d776..4493605186b0 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -163,3 +163,11 @@ KernelVersion: 4.XX Contact: Greg Kroah-Hartman <greg@kroah.com> Description: The version number of the firmware in the SVC device. + +What: /sys/bus/greybus/device/N-svc/watchdog +Date: October 2016 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman <greg@kroah.com> +Description: + If the SVC watchdog is enabled or not. Writing 0 to this + file will disable the watchdog, writing 1 will enable it. |