From patchwork Wed Nov 30 20:08:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 27989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1132782wrr; Wed, 30 Nov 2022 12:23:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Q3rK2unVQwGvTgcSnpUhnq8bEuz081e9baiPgXDTUM91OrtmDeFtA6TzAXh01c8qkkIfC X-Received: by 2002:a63:67c2:0:b0:46f:d2d4:bac4 with SMTP id b185-20020a6367c2000000b0046fd2d4bac4mr55211405pgc.178.1669839794015; Wed, 30 Nov 2022 12:23:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669839794; cv=none; d=google.com; s=arc-20160816; b=BqW7hZJzHOtTdcX06qXUcKkHsWC7Ap3TZgWW0NINq2tEHqO/s6KoZt2aVxcV7HCgLO lcdkwDv0rMuVPacPgQp0xcf4v7YZqCyhKKa36tzjxjsvjdqgweEDHPFbbsAPpOwHhh4W CHOHWfOJN2DeNJG9bA9Di+fxpzSkOa+bqJyVMevDEqRBjShY4Gc7ADbehMpYFgzNcgqY R8I4dkYJsEGPk+HgExnRhJJf9sRVLKJUPfhnF4qAV03xRvphbrhGwPxf8OHYntHjUvOz Mqk3LV41inE94ez3B9uHbw0JAPWRJz+6kdqGYYxyWeyq/HBSSRJ6unhtm904BjXVL6H4 cOdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature; bh=BaP+vpJm0HGIoKSVbIN0D8aRlNrjQWzLOwUMMVNXGpo=; b=QCpGn+XwXWWuAhHIWoa/2vyXALwVDC9P6LuFQ7tOR+WpRAm2fVB4MIta3OkXDcCeMl mDzGgw4nULHtY2tKsSU4IokUIdDscE6SoKhA9EfPlVx4VaMN5YEYDfPYLdVwfqjUIIu7 oLezkK1kLRR02TOok0UJDF2NZBzpWR14IKvdeBoLW9WDVb4x3u73dAggQvYy9VkHRuWi I3R4n3Sp4K7QafkgwOf508JskpOnu19nV8Xh72h1vRTh3LtPr++8BIB4Kc/S/R5F9X33 pdfsSY2uITJZaTgkykksGl/Y4UPM29IHZK+rHCW8GFV9sX4sGBwfwVHuMQtZuhbVLmgv 4U5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=ooBgCvkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb13-20020a17090b35cd00b00212cae10683si5284049pjb.69.2022.11.30.12.22.59; Wed, 30 Nov 2022 12:23:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=ooBgCvkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbiK3UN3 (ORCPT + 99 others); Wed, 30 Nov 2022 15:13:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbiK3UNF (ORCPT ); Wed, 30 Nov 2022 15:13:05 -0500 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34E88E586; Wed, 30 Nov 2022 12:10:58 -0800 (PST) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AUJaisI008479; Wed, 30 Nov 2022 20:10:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : in-reply-to : references; s=pps0720; bh=BaP+vpJm0HGIoKSVbIN0D8aRlNrjQWzLOwUMMVNXGpo=; b=ooBgCvkqTRSw4mXD68nTmPAZagGaN551l3clQz7/ruCo8XlB3uLoReq3MME3rVYuesy7 W/iAvig/2720oxgDnTKDpZE5BPugo97Khlbv3uCiDBqsOLm5qg40SUKDy3vmV1C9os1r vkSF1TXqHWQI1hLvb1UQ3L6BjkXqUKXcY2/WIyNXOp0uZD/wgMyTxCGAd+f1z82DR/np oWnOYmebermvkd0QQKumZP/ptJ6zGeLkAgYcPi0oAbVAhUYofuxcwL9SVtVEKLFwVGJ5 +lnORd/TiFQsJu6BZpNxn+CjSo/slMJ/Vd1/9Nl8x5OqsloklayxXYhH00NiRD5P3tE7 qA== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3m69p3t7st-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Nov 2022 20:10:18 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14880.it.hpe.com (Postfix) with ESMTPS id 180018066E1; Wed, 30 Nov 2022 20:10:18 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id 7960480A272; Wed, 30 Nov 2022 20:10:17 +0000 (UTC) From: nick.hawkins@hpe.com To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, verdun@hpe.com, nick.hawkins@hpe.com, corbet@lwn.net, linux@armlinux.org.uk, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/6] ABI: sysfs-class-hwmon: add a description for fanY_fault Date: Wed, 30 Nov 2022 14:08:42 -0600 Message-Id: <20221130200846.4226-3-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221130200846.4226-1-nick.hawkins@hpe.com> References: <20221130200846.4226-1-nick.hawkins@hpe.com> X-Proofpoint-GUID: EKiVIJINkiv8tWxQ7kxH0P2gqJASCj-y X-Proofpoint-ORIG-GUID: EKiVIJINkiv8tWxQ7kxH0P2gqJASCj-y X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-30_04,2022-11-30_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 spamscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211300142 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750953931583746336?= X-GMAIL-MSGID: =?utf-8?q?1750953931583746336?= From: Nick Hawkins Document existing fanY_fault attribute. Signed-off-by: Nick Hawkins --- 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.