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: 502583 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=unavailable 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 F251AC432BE for ; Tue, 24 Aug 2021 12:47:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D41546127B for ; Tue, 24 Aug 2021 12:47:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237453AbhHXMrn (ORCPT ); Tue, 24 Aug 2021 08:47:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237416AbhHXMri (ORCPT ); Tue, 24 Aug 2021 08:47:38 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708C3C0617AF for ; Tue, 24 Aug 2021 05:46:54 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id d22-20020a1c1d16000000b002e7777970f0so1786103wmd.3 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=UfZ6PV1V9tAUGEvz4YWkFlzllJFEDgkJAeM43r/kFdDSWlkE+nA9YYKEisGfboCR+A ehuokSlFev00+n+w5FSBgyTuM5cQ2YDcldPwf/uqY1/EWiIgXj8+MON/ygFb+VRSkWWL a0MyC1F9gJDmXHIp9XQ4FfhepPxPenn7NuJgPFwBXfS9ekJPzfVJaWdvfCdlXpYg0t5p X2NAStxlYrOw+LFbZrv3cLNbBgNG1dds+oV0Fyn5YfX2Hoxt04j3/p3EaC/codl4dRlN K666C8fv392L8awgFq27fpKhKIr7vrjHpiph5TXwA70iBQUT1t7fmz2kHG6q2+rWT035 idrg== X-Gm-Message-State: AOAM530hrV93Lp/J3E6as14Q4MUBA0wzglXt4bO6kXNnyt3W9sE8aHMx iHpKh5N5w/dxnx4uKmxSmXy5tA== 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-leds@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 --- .../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