From patchwork Thu Sep 30 09:44:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12527809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DA63C43219 for ; Thu, 30 Sep 2021 09:45:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3571F61994 for ; Thu, 30 Sep 2021 09:45:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349529AbhI3Jqp (ORCPT ); Thu, 30 Sep 2021 05:46:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:46524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349510AbhI3Jqo (ORCPT ); Thu, 30 Sep 2021 05:46:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A194A61875; Thu, 30 Sep 2021 09:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632995101; bh=fdTI9W97nWGgWipBrkiQEXu+hBS4pKQhl3Kr1mmrqRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kgrTFF1hB1TCj74BXfJcoTxmzp86NO1f4SYC3GijIz7g/NEV7sQ717/XUVTcw6I6h LSUpoLGoq/QwSPv7BJDrEaD3+tLzJfZYJNc1Vkqmau7iz6Lo50cZEI1DxgIwc0OQsT XMVJcFgx/YVgB69Vr1QeqKkizZayv5F/jhDDWCoVuaq8yo7PAxl/MQRTiYTwm5Y++3 Jm9Taw0wQAm3YWijyr1QPIIUogcs54+YAhuuFDUPDFOuiyD1vby8CpNXoaSZQ5XEBy t0a5puGjC/djtVdTl8zu1HJ81V2z/guTUz0fK516DyuL9uQipEdqyl3gepnFD7KjVC cyKDRmnTbS8dQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mVscd-002ATC-NA; Thu, 30 Sep 2021 11:44:59 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Guenter Roeck , Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/7] ABI: sysfs-class-hwmon: add a description for tempY_crit_alarm Date: Thu, 30 Sep 2021 11:44:50 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Such ABI symbol is currently not described. Document it. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v2 0/7] at: https://lore.kernel.org/all/cover.1632994837.git.mchehab+huawei@kernel.org/ Documentation/ABI/testing/sysfs-class-hwmon | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-hwmon b/Documentation/ABI/testing/sysfs-class-hwmon index ea5a129ae082..1f20687def44 100644 --- a/Documentation/ABI/testing/sysfs-class-hwmon +++ b/Documentation/ABI/testing/sysfs-class-hwmon @@ -410,6 +410,20 @@ Description: RW +What: /sys/class/hwmon/hwmonX/tempY_crit_alarm +Description: + Critical high temperature alarm flag. + + - 0: OK + - 1: temperature has reached tempY_crit + + RW + + Contrary to regular alarm flags which clear themselves + automatically when read, this one sticks until cleared by + the user. This is done by writing 0 to the file. Writing + other values is unsupported. + What: /sys/class/hwmon/hwmonX/tempY_crit_hyst Description: Temperature hysteresis value for critical limit.