[PATCH v3 2/6] ABI: sysfs-class-hwmon: add a description for fanY_fault

nick.hawkins@hpe.com posted 6 patches 2 years, 9 months ago
There is a newer version of this series
[PATCH v3 2/6] ABI: sysfs-class-hwmon: add a description for fanY_fault
Posted by nick.hawkins@hpe.com 2 years, 9 months ago
From: Nick Hawkins <nick.hawkins@hpe.com>

Document existing fanY_fault attribute.

Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>
---
 Documentation/ABI/testing/sysfs-class-hwmon | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-class-hwmon b/Documentation/ABI/testing/sysfs-class-hwmon
index 7271781a23b2..638f4c6d4ec7 100644
--- a/Documentation/ABI/testing/sysfs-class-hwmon
+++ b/Documentation/ABI/testing/sysfs-class-hwmon
@@ -276,6 +276,15 @@ Description:
 
 		RW
 
+What:		/sys/class/hwmon/hwmonX/fanY_fault
+Description:
+		Reports if a fan has reported failure.
+
+		- 1: Failed
+		- 0: Ok
+
+		RO
+
 What:		/sys/class/hwmon/hwmonX/pwmY
 Description:
 		Pulse width modulation fan control.
-- 
2.17.1
Re: [PATCH v3 2/6] ABI: sysfs-class-hwmon: add a description for fanY_fault
Posted by Guenter Roeck 2 years, 8 months ago
On Wed, Nov 30, 2022 at 02:08:42PM -0600, nick.hawkins@hpe.com wrote:
> From: Nick Hawkins <nick.hawkins@hpe.com>
> 
> Document existing fanY_fault attribute.
> 
> Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>

Applied to hwmon-next; no need to resend.

Guenter

> ---
>  Documentation/ABI/testing/sysfs-class-hwmon | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/ABI/testing/sysfs-class-hwmon b/Documentation/ABI/testing/sysfs-class-hwmon
> index 7271781a23b2..638f4c6d4ec7 100644
> --- a/Documentation/ABI/testing/sysfs-class-hwmon
> +++ b/Documentation/ABI/testing/sysfs-class-hwmon
> @@ -276,6 +276,15 @@ Description:
>  
>  		RW
>  
> +What:		/sys/class/hwmon/hwmonX/fanY_fault
> +Description:
> +		Reports if a fan has reported failure.
> +
> +		- 1: Failed
> +		- 0: Ok
> +
> +		RO
> +
>  What:		/sys/class/hwmon/hwmonX/pwmY
>  Description:
>  		Pulse width modulation fan control.