Skip to contentSkip to conversation

watchdog: Update sysfs documentation.

PATCH In review Jerry Hoemann 2 participants 2 messages Feb 4, 2019 – Feb 5, 2019 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: Update sysfs documentation.

Document the sysfs attributes:
pretimeout
pretimeout_available_governors
pretimeout_governor

---
 Documentation/ABI/testing/sysfs-class-watchdog | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Documentation/ABI/testing/sysfs-class-watchdog +23 -0
index 736046b..6317ade 100644
@@ -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.
Signature · 1 line
1.8.3.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jerry Hoemann

Document the sysfs attributes:
pretimeout
pretimeout_available_governors
pretimeout_governor

Quoted 36 lines
---
  Documentation/ABI/testing/sysfs-class-watchdog | 23 +++++++++++++++++++++++
  1 file changed, 23 insertions(+)
Documentation/ABI/testing/sysfs-class-watchdog +23 -0
index 736046b..6317ade 100644
@@ -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.