xref: /openbmc/linux/Documentation/ABI/testing/sysfs-class-watchdog (revision d02d104ea0cefc6ed33e49832c7d70ffa5ab3a67)
133b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/bootstatus
233b71126SPratyush AnandDate:		August 2015
333b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
433b71126SPratyush AnandDescription:
533b71126SPratyush Anand		It is a read only file. It contains status of the watchdog
633b71126SPratyush Anand		device at boot. It is equivalent to WDIOC_GETBOOTSTATUS of
733b71126SPratyush Anand		ioctl interface.
833b71126SPratyush Anand
933b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/identity
1033b71126SPratyush AnandDate:		August 2015
1133b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
1233b71126SPratyush AnandDescription:
1333b71126SPratyush Anand		It is a read only file. It contains identity string of
1433b71126SPratyush Anand		watchdog device.
1533b71126SPratyush Anand
1633b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/nowayout
1733b71126SPratyush AnandDate:		August 2015
1833b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
1933b71126SPratyush AnandDescription:
2033b71126SPratyush Anand		It is a read only file. While reading, it gives '1' if that
2133b71126SPratyush Anand		device supports nowayout feature else, it gives '0'.
2233b71126SPratyush Anand
2333b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/state
2433b71126SPratyush AnandDate:		August 2015
2533b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
2633b71126SPratyush AnandDescription:
2733b71126SPratyush Anand		It is a read only file. It gives active/inactive status of
2833b71126SPratyush Anand		watchdog device.
2933b71126SPratyush Anand
3033b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/status
3133b71126SPratyush AnandDate:		August 2015
3233b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
3333b71126SPratyush AnandDescription:
3433b71126SPratyush Anand		It is a read only file. It contains watchdog device's
3533b71126SPratyush Anand		internal status bits. It is equivalent to WDIOC_GETSTATUS
3633b71126SPratyush Anand		of ioctl interface.
3733b71126SPratyush Anand
3833b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/timeleft
3933b71126SPratyush AnandDate:		August 2015
4033b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
4133b71126SPratyush AnandDescription:
4233b71126SPratyush Anand		It is a read only file. It contains value of time left for
4333b71126SPratyush Anand		reset generation. It is equivalent to WDIOC_GETTIMELEFT of
4433b71126SPratyush Anand		ioctl interface.
4533b71126SPratyush Anand
4633b71126SPratyush AnandWhat:		/sys/class/watchdog/watchdogn/timeout
4733b71126SPratyush AnandDate:		August 2015
4833b71126SPratyush AnandContact:	Wim Van Sebroeck <wim@iguana.be>
4933b71126SPratyush AnandDescription:
5033b71126SPratyush Anand		It is a read only file. It is read to know about current
5133b71126SPratyush Anand		value of timeout programmed.
52*d02d104eSJerry Hoemann
53*d02d104eSJerry HoemannWhat:		/sys/class/watchdog/watchdogn/pretimeout
54*d02d104eSJerry HoemannDate:		December 2016
55*d02d104eSJerry HoemannContact:	Wim Van Sebroeck <wim@iguana.be>
56*d02d104eSJerry HoemannDescription:
57*d02d104eSJerry Hoemann		It is a read only file. It specifies the time in seconds before
58*d02d104eSJerry Hoemann		timeout when the pretimeout interrupt is delivered.  Pretimeout
59*d02d104eSJerry Hoemann		is an optional feature.
60*d02d104eSJerry Hoemann
61*d02d104eSJerry HoemannWhat:		/sys/class/watchdog/watchdogn/pretimeout_avaialable_governors
62*d02d104eSJerry HoemannDate:		February 2017
63*d02d104eSJerry HoemannContact:	Wim Van Sebroeck <wim@iguana.be>
64*d02d104eSJerry HoemannDescription:
65*d02d104eSJerry Hoemann		It is a read only file. It shows the pretimeout governors
66*d02d104eSJerry Hoemann		available for this watchdog.
67*d02d104eSJerry Hoemann
68*d02d104eSJerry HoemannWhat:		/sys/class/watchdog/watchdogn/pretimeout_governor
69*d02d104eSJerry HoemannDate:		February 2017
70*d02d104eSJerry HoemannContact:	Wim Van Sebroeck <wim@iguana.be>
71*d02d104eSJerry HoemannDescription:
72*d02d104eSJerry Hoemann		It is a read/write file. When read, the currently assigned
73*d02d104eSJerry Hoemann		pretimeout governor is returned.  When written, it sets
74*d02d104eSJerry Hoemann		the pretimeout governor.
75