From patchwork Thu Oct 14 13:10:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Adamski X-Patchwork-Id: 12558459 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 49F2BC433F5 for ; Thu, 14 Oct 2021 13:10:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3449660EDF for ; Thu, 14 Oct 2021 13:10:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231636AbhJNNM5 (ORCPT ); Thu, 14 Oct 2021 09:12:57 -0400 Received: from mail-eopbgr40117.outbound.protection.outlook.com ([40.107.4.117]:19878 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231380AbhJNNM4 (ORCPT ); Thu, 14 Oct 2021 09:12:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UYiyWXMoQGCPvZ5vPEJc0hDDvjSRl33I0UKmR16cJ5mUX8D3UqcBJzyMstNjEQb1nTy3Dt1lffE/+rVcMUN02BF4hwnJ2jZdmwlVOaKrmlIBlqsbsZ3+A55jPcVrlcmyZBQ4ucmsJcPZ14A40Cg/XVUPL++fSBOlxyVAvPEPEMK29HF5YCv9BtRkClXbT2b2WyXxbxjQ50j+j4RzCGTJ7LrOlqO1RQt/Y3UvyiePETpKQXGH1PTjWvqEskvdUifu+ls0YhkJ0VH9uL3nwh4IxGHsWTQKQtLkKdEw7ewGF/6mdtswmSyJiBcgAocZKguvtQWM65B47m1cczGMm/D5eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=avRR6d0VWmsySOvz3RnVrcJ1LnT/zSsQ7X0Wec0Ag5c=; b=Kd1riJfEBmp+3Qauurvxk7MlH2LG1q14Oze59l1huev6kePm6lIfjnZ16u6ikEYTNkwOLobWjbNBfHogz2PeMFMkM8YIV5LNzppPhgIbdVOj5QaqZLJpVO+qLvo7OXS4ucKdOfwXFAeqSJ9u0BNSUzKgNGkm/MySWxB422ABVbYKzASI46RxEnc1jux2bE4rcz/CHT/VAFLjl0CHZLIotUbKI91pOrG/N58d+ZBOK9JIOafhN3KUIzmqmT+ZV87ksKCfweZRTUjjM4eaRsYFWw6v7c9u20ZHl8dLueOf7CQU0amvmB7NdoGydeC1n8SS1JK1lZMoKUiTr6tL1cpspw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=avRR6d0VWmsySOvz3RnVrcJ1LnT/zSsQ7X0Wec0Ag5c=; b=oVP9LyKUiaoobD3RYHYvCUJmRQxEAQXpmajANOdX8HTs8ksJt7prkcnRLyMgLROypBfZuUKvKa9Z+IEG18pF17O4QdI5SioiBa5YwIeZPslFypIQeuveF29lEVNqrtPyqpdW85nEWT7CiB8F434gwlgIA8ExKOeDhRdtauj7biI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com; Received: from AS8PR07MB8104.eurprd07.prod.outlook.com (2603:10a6:20b:373::6) by AS8PR07MB8268.eurprd07.prod.outlook.com (2603:10a6:20b:37b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.8; Thu, 14 Oct 2021 13:10:50 +0000 Received: from AS8PR07MB8104.eurprd07.prod.outlook.com ([fe80::bd6d:55f0:170c:e342]) by AS8PR07MB8104.eurprd07.prod.outlook.com ([fe80::bd6d:55f0:170c:e342%6]) with mapi id 15.20.4523.026; Thu, 14 Oct 2021 13:10:50 +0000 Date: Thu, 14 Oct 2021 15:10:44 +0200 From: Krzysztof Adamski To: Guenter Roeck , Jean Delvare Cc: Rob Herring , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v5 7/9] hwmon: (tmp421) update documentation Message-ID: <6ae22fdf18513ddd09f430ef9c5e46c17e27886b.1634206677.git.krzysztof.adamski@nokia.com> References: Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-ClientProxiedBy: HE1PR0301CA0004.eurprd03.prod.outlook.com (2603:10a6:3:76::14) To AS8PR07MB8104.eurprd07.prod.outlook.com (2603:10a6:20b:373::6) MIME-Version: 1.0 Received: from wrlinb104.emea.nsn-net.net (131.228.32.176) by HE1PR0301CA0004.eurprd03.prod.outlook.com (2603:10a6:3:76::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.14 via Frontend Transport; Thu, 14 Oct 2021 13:10:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e17b6127-b70d-4892-ea12-08d98f140b66 X-MS-TrafficTypeDiagnostic: AS8PR07MB8268: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OBJX3RYHdXwOaesobiG1SJvHlL/sMdx94OnwBoWzvQ+3oHSm054g3hEUIOyM28YJx/3BjF/mU3bvyG3/kr8P6+LA/VNadr1tThVre1vq9asWwSdy5eko33hYR5hjPzR6ASyAfTimGndqntauGYzOAoBCtNAxkTeFUJLlOcPlD/nwAPXTF6Z+G5FZOQCCiMtN1hw6+rtOgKxvztibCNA8uhPkkLyDXXUPFk//Ku4dNf6L5+MIDn308m0i2fePXxMbhuOPflBKSjugXa9J0VxNLsSbToVTJhykhlYD3ySQBstR1IrydfF6nz/MLOydfocoTqPoy/BEaBZcqwxZcPX2X9FcUlr64paWf516QV8H86cJ8VPbVSxyrS5dpq1soyWFaG2OEbtLiZp3DMNFNi7FFdu8SCjn4IxWT5rnRwdBkNdEfj3FPFUKUoUv/Koammu/Ok3HrWKUJJYwDhIeuU4Juze3k7Q/KI9rnoWqkg/+vDyF88sdkUg2uB/voT/WxeJVhb3s3eBvUt6E03sOl+DIzvDhzHcSAYu4uMop6E7Eu1Tj0FAkCgP9u3HQTyV6QM69xA/cv0nW9FmG/CJPs4L4SMVc3eH1/EF5gy9gRqhcvqJb6z45/Ah7qSXyK6EIptnM2ehlw2YqnvE/cX7a7dGmAKSIFd08XsSNxngTJb3O9ziEEWl/JMR2msPq56okM4Kxvxlk8FcTlU/Xp0pd9pGg6g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR07MB8104.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(316002)(110136005)(186003)(38350700002)(508600001)(6506007)(38100700002)(8936002)(6666004)(8676002)(26005)(36756003)(6512007)(956004)(4326008)(66476007)(66556008)(6486002)(4744005)(66946007)(82960400001)(15650500001)(2616005)(44832011)(52116002)(83380400001)(86362001)(2906002)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i6PauwedxFfmlNLHtC7pNTPt+Ud3OnNuCMQ+6nbjkvgPB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wTp6sSMTx8Bi+3Zdu3+rxyphDc2vZasiYDfsyxqAjl0Z4NhRbvXaEkNmKpWxs8moHK0po0hqj2qAxyW2NmgkiO0g9S4AOCHnqEx/BpD40Ic5Vl3AQ1Dn67fsHrY9InMCXJJGiLaMm8hW2wiZAVao6OtwjWbwXd160aBwvZwJj9KbKEHDeF/JztlPkD/XwWQyNUM6q1OWEIKtvwS34V6XvuJlq2ideOYl8c5iDn2pYvz9o/7+3TC7i1NNYppA86yI6Te3ZgkHwTrZC0d65PpDKLGS9lePSVwIqTzO+ZZah9GlyU3EfzcBYCUtDLWavOrfKVboKzqoJhD40WJNhi1bl9amfLIQG/ZRw1Nvf44qKHW42nLlxqJm+5k8rBaZHEtymYOxTfxTq8JlAVYemlX2A2dN/p07p52I6KFrpAbN4ticOrKy7F9vXufgkTbLsoUsVwESg+tnrfsC0j4IlUluUWVdjJu7Z+tFjVzmqi8jIh2LWMOk3DCSj2cUl4ZSssOoaPnNVTxz9aqFo0P6xWPnkENTW6gKjemE78I6idugC/t4ARzwLDNYOaQG6Qcnm/qQ== X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e17b6127-b70d-4892-ea12-08d98f140b66 X-MS-Exchange-CrossTenant-AuthSource: AS8PR07MB8104.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2021 13:10:50.3844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EzWYm4cgvmzqm/ylZ28C25BPQW5zirOiVx7T8BKAHfoRooTDbv1lUGF5NpWjvwZx1olsYZ/G+qL85wro2PJjw6qCmrXwC9+MzeYOTCaPwl8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB8268 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Sysfs interface of the tmp421 driver was extended in the recent patches so lets update the documentation to reflect that. Signed-off-by: Krzysztof Adamski --- Documentation/hwmon/tmp421.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/hwmon/tmp421.rst b/Documentation/hwmon/tmp421.rst index ddcd5159c75d..a3002117bbd7 100644 --- a/Documentation/hwmon/tmp421.rst +++ b/Documentation/hwmon/tmp421.rst @@ -64,3 +64,13 @@ the temperature values via the following sysfs files: **temp[1-4]_input** **temp[2-4]_fault** + +Each sensor can be individually disabled via Devicetree or from sysfs +via: + +**temp[1-4]_enable** + +If labels were specified in Devicetree, additional sysfs files will +be present: + +**temp[1-4]_label**