Linux-Watchdog Archive on lore.kernel.org
 help / Atom feed
* [PATCH] watchdog: Update sysfs documentation.
@ 2019-02-04 23:57 Jerry Hoemann
  2019-02-05  1:11 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jerry Hoemann @ 2019-02-04 23:57 UTC (permalink / raw)
  To: wim, linux; +Cc: linux-watchdog, linux-kernel, Jerry Hoemann

Document the sysfs attributes:
	pretimeout
	pretimeout_available_governors
	pretimeout_governor

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
---
 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 <wim@iguana.be>
 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 <wim@iguana.be>
+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 <wim@iguana.be>
+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 <wim@iguana.be>
+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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: Update sysfs documentation.
  2019-02-04 23:57 [PATCH] watchdog: Update sysfs documentation Jerry Hoemann
@ 2019-02-05  1:11 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2019-02-05  1:11 UTC (permalink / raw)
  To: Jerry Hoemann, wim; +Cc: linux-watchdog, linux-kernel

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 <jerry.hoemann@hpe.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   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 <wim@iguana.be>
>   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 <wim@iguana.be>
> +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 <wim@iguana.be>
> +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 <wim@iguana.be>
> +Description:
> +		It is a read/write file. When read, the currently assigned
> +		pretimeout governor is returned.  When written, it sets
> +		the pretimeout governor.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 23:57 [PATCH] watchdog: Update sysfs documentation Jerry Hoemann
2019-02-05  1:11 ` Guenter Roeck

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org linux-watchdog@archiver.kernel.org
	public-inbox-index linux-watchdog


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/ public-inbox