2019-02-04 23:58:29

by Jerry Hoemann

[permalink] [raw]
Subject: [PATCH] watchdog: Update sysfs documentation.

Document the sysfs attributes:
pretimeout
pretimeout_available_governors
pretimeout_governor

Signed-off-by: Jerry Hoemann <[email protected]>
---
Documentation/ABI/testing/sysfs-class-watchdog | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-class-watchdog b/Documentation/ABI/testing/sysfs-class-watchdog
index 736046b..6317ade 100644
--- a/Documentation/ABI/testing/sysfs-class-watchdog
+++ b/Documentation/ABI/testing/sysfs-class-watchdog
@@ -49,3 +49,26 @@ Contact: Wim Van Sebroeck <[email protected]>
Description:
It is a read only file. It is read to know about current
value of timeout programmed.
+
+What: /sys/class/watchdog/watchdogn/pretimeout
+Date: December 2016
+Contact: Wim Van Sebroeck <[email protected]>
+Description:
+ It is a read only file. It specifies the time in seconds before
+ timeout when the pretimeout interrupt is delivered. Pretimeout
+ is an optional feature.
+
+What: /sys/class/watchdog/watchdogn/pretimeout_avaialable_governors
+Date: February 2017
+Contact: Wim Van Sebroeck <[email protected]>
+Description:
+ It is a read only file. It shows the pretimeout governors
+ available for this watchdog.
+
+What: /sys/class/watchdog/watchdogn/pretimeout_governor
+Date: February 2017
+Contact: Wim Van Sebroeck <[email protected]>
+Description:
+ It is a read/write file. When read, the currently assigned
+ pretimeout governor is returned. When written, it sets
+ the pretimeout governor.
--
1.8.3.1



2019-02-05 01:41:59

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog: Update sysfs documentation.

On 2/4/19 3:57 PM, Jerry Hoemann wrote:
> Document the sysfs attributes:
> pretimeout
> pretimeout_available_governors
> pretimeout_governor
>
> Signed-off-by: Jerry Hoemann <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> Documentation/ABI/testing/sysfs-class-watchdog | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-class-watchdog b/Documentation/ABI/testing/sysfs-class-watchdog
> index 736046b..6317ade 100644
> --- a/Documentation/ABI/testing/sysfs-class-watchdog
> +++ b/Documentation/ABI/testing/sysfs-class-watchdog
> @@ -49,3 +49,26 @@ Contact: Wim Van Sebroeck <[email protected]>
> Description:
> It is a read only file. It is read to know about current
> value of timeout programmed.
> +
> +What: /sys/class/watchdog/watchdogn/pretimeout
> +Date: December 2016
> +Contact: Wim Van Sebroeck <[email protected]>
> +Description:
> + It is a read only file. It specifies the time in seconds before
> + timeout when the pretimeout interrupt is delivered. Pretimeout
> + is an optional feature.
> +
> +What: /sys/class/watchdog/watchdogn/pretimeout_avaialable_governors
> +Date: February 2017
> +Contact: Wim Van Sebroeck <[email protected]>
> +Description:
> + It is a read only file. It shows the pretimeout governors
> + available for this watchdog.
> +
> +What: /sys/class/watchdog/watchdogn/pretimeout_governor
> +Date: February 2017
> +Contact: Wim Van Sebroeck <[email protected]>
> +Description:
> + It is a read/write file. When read, the currently assigned
> + pretimeout governor is returned. When written, it sets
> + the pretimeout governor.
>