From patchwork Tue Aug 24 12:44:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luka Kovacic X-Patchwork-Id: 12454959 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5655FC19F3D for ; Tue, 24 Aug 2021 12:46:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 43A4361401 for ; Tue, 24 Aug 2021 12:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237375AbhHXMrl (ORCPT ); Tue, 24 Aug 2021 08:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237414AbhHXMri (ORCPT ); Tue, 24 Aug 2021 08:47:38 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD95C0617A8 for ; Tue, 24 Aug 2021 05:46:54 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id f9-20020a05600c1549b029025b0f5d8c6cso1788037wmg.4 for ; Tue, 24 Aug 2021 05:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+jIDIEPGUtwtN5J2uvflNRJK63YXRHWuv3BgcHNxva8=; b=RgocWkgV6oNUTc6g8DAGPi8BVvHL+2Rn4ytJK6kWqkt6OVd0nd4Pw0xPYOLQiHlFMX OtV5mx1teKUYOBoqtXtMfWzziQgRt8LL/Y0lW06o7eJc3AW9oPwU3H54xnl1mpBPzStk xfmSriS7h/cWQ9pyJJJDd85BNltoeQgqHAFbKVsn8Dn5TxZ2rLhL8XpdptJFXq8S/NRO N943NGW1Kr3zL0osclrJj2vT7ZDV+iC4S7eOIJcUuBQkAzYInSjFJa55D8g8i38HbX3d lDcl2jM0g870QLuhMltjcwV/feVYhi5OS9ITVlZPE8utfhAgiewVnAbmbyaZHw+xhH7C F6kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+jIDIEPGUtwtN5J2uvflNRJK63YXRHWuv3BgcHNxva8=; b=FPF1ysKu4c16N/vd62MO/qsVlioovOJBaGXAE7T6/fhnnhQ2fr1pX/i/KxiTisHetw 1S3vasfiDkWN4kPpIP77RxV9YupsPbwDOSWNaKCTw9I6xJjoGmxMtvJeIEVcSTrln4Zs fzbw0TiG6CfKlfbnfmcWdby4ssmznIygSilqyd87Qs6/SzQd1TM1u/ZvIC+TMv3W3abY r9Az/ErnMc8/rDvsg7qEYDazaVzNpK4cXACWhj9sJcOIp5/F7Rn1Z3kAKJGXQwB1Lzxa Dz5JEXidtZfgeg7/5JH/2D3yHIc0k44B5QpRWuHW3lNlL3sitYDs0+ZQrp68HX3WSZR4 L3ug== X-Gm-Message-State: AOAM530TjB7jq/jMYtAqBekamFsMi03g+/+XRyX7htfED85HiJPx1OzC x+DQtDRLnmvv60MV4sV/uIGVrQ== X-Google-Smtp-Source: ABdhPJzqcG7L8tY5Ok3wh6qGkQq3AZ/iXN4weZPo9JxWaa0OJLRGlGwMIiSpjsDShx710OJPmIM6kQ== X-Received: by 2002:a7b:cd83:: with SMTP id y3mr3973991wmj.126.1629809213048; Tue, 24 Aug 2021 05:46:53 -0700 (PDT) Received: from localhost.localdomain ([2a00:ee2:4b0d:3001:fe74:75c8:e909:251b]) by smtp.gmail.com with ESMTPSA id i14sm2255454wmq.40.2021.08.24.05.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Aug 2021 05:46:52 -0700 (PDT) From: Luka Kovacic To: linux-doc@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, geert+renesas@glider.be, Max.Merchel@tq-group.com, linux@rempel-privat.de, daniel@0x0f.com, shawnguo@kernel.org, sam@ravnborg.org, arnd@arndb.de, krzysztof.kozlowski@canonical.com, pavo.banicevic@sartura.hr, corbet@lwn.net, lee.jones@linaro.org, pavel@ucw.cz, robh+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, goran.medic@sartura.hr, luka.perkov@sartura.hr, robert.marko@sartura.hr Cc: Luka Kovacic Subject: [PATCH v9 6/7] Documentation/hwmon: Add iei-wt61p803-puzzle hwmon driver documentation Date: Tue, 24 Aug 2021 14:44:37 +0200 Message-Id: <20210824124438.14519-7-luka.kovacic@sartura.hr> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824124438.14519-1-luka.kovacic@sartura.hr> References: <20210824124438.14519-1-luka.kovacic@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Add the iei-wt61p803-puzzle driver hwmon driver interface documentation. Signed-off-by: Luka Kovacic Signed-off-by: Pavo Banicevic Cc: Luka Perkov Cc: Robert Marko Acked-by: Guenter Roeck --- .../hwmon/iei-wt61p803-puzzle-hwmon.rst | 43 +++++++++++++++++++ Documentation/hwmon/index.rst | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst diff --git a/Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst b/Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst new file mode 100644 index 000000000000..bbbe97645965 --- /dev/null +++ b/Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst @@ -0,0 +1,43 @@ +.. SPDX-License-Identifier: GPL-2.0-only + +Kernel driver iei-wt61p803-puzzle-hwmon +======================================= + +Supported chips: + * IEI WT61P803 PUZZLE for IEI Puzzle M801 + + Prefix: 'iei-wt61p803-puzzle-hwmon' + +Author: Luka Kovacic + + +Description +----------- + +This driver adds fan and temperature sensor reading for some IEI Puzzle +series boards. + +Sysfs attributes +---------------- + +The following attributes are supported: + +- IEI WT61P803 PUZZLE for IEI Puzzle M801 + +/sys files in hwmon subsystem +----------------------------- + +================= == ===================================================== +fan[1-5]_input RO files for fan speed (in RPM) +pwm[1-2] RW files for fan[1-2] target duty cycle (0..255) +temp[1-2]_input RO files for temperature sensors, in millidegree Celsius +================= == ===================================================== + +/sys files in thermal subsystem +------------------------------- + +================= == ===================================================== +cur_state RW file for current cooling state of the cooling device + (0..max_state) +max_state RO file for maximum cooling state of the cooling device +================= == ===================================================== diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index bc01601ea81a..4a050a5bc1f8 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -73,6 +73,7 @@ Hardware Monitoring Kernel Drivers ibmaem ibm-cffps ibmpowernv + iei-wt61p803-puzzle-hwmon ina209 ina2xx ina3221