From patchwork Mon Jul 5 13:49:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavo Banicevic X-Patchwork-Id: 470315 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.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 F0D77C11F7B for ; Mon, 5 Jul 2021 13:48:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E705C6144E for ; Mon, 5 Jul 2021 13:48:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231337AbhGENvF (ORCPT ); Mon, 5 Jul 2021 09:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbhGENuz (ORCPT ); Mon, 5 Jul 2021 09:50:55 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BD1AC061762 for ; Mon, 5 Jul 2021 06:48:17 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id s15so23721703edt.13 for ; Mon, 05 Jul 2021 06:48:17 -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=vcvOaG0J/hZEczmyOwGpCy0AJMuPctlmDRDv7xjG04M=; b=fPkN13W88SOfEr4WLra8q3YpaKyak9VFrZRiBPEtvbvFEnJS+VjSyssQo0U/dlBslM yZ4d4bzHiTahYxKdYteEHrFb8T9JQYyqpt66uhLLWNcFZk8fyFjSM1ssAM5+jAByS4KW sha+rTjwSnDIBR0hCwSbOlLZtzSnamuG2zMkeAG1353cmu1nQiTJBDo5giSzL4HMijQF 3R974UEVm5Bt+cWlgufd0wC1oIMRWNSlgISXMtsdwnPN7ApP1FzKC+4vLEWuQS6j3/KK CxEV8UzG3RbR0jq5mPn60WtyST6S26BG+yNteHl0XrUmFjO0BDooQ42QbSIIZBX7rapA gxYg== 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=vcvOaG0J/hZEczmyOwGpCy0AJMuPctlmDRDv7xjG04M=; b=INZgadklVzhoBIIxOP74Kul4sdErm1kEAQLZcThTa44z7x/arBNwONMIaE7wPvlrq9 x3rRho/u/v16xe+1WWBo0O+4Y/qvZIILyQPnJrW0ItyDGhp7T5CGm6zogWcdhjuc+0AJ 9WmyNeKOUF9BJf4OIYIJxOSwMK2SH28HtnRxLsHLTc5wqI5lVIzWurNzeeJGT5eU7ltW 7pDuinZFRiC5OvjG+es0ll0fMglyyldVzE5/n5dhHM8T3YcxKAP71Sh56zvy+svBZcPm 6hzW4Lpf6aSY5hn1tPu31+ry474FLAggvjAR+lvkdB+i58CFrtWsJeDfhVSJ5uScq+9B spdw== X-Gm-Message-State: AOAM5300+gvxJDuiA8NfLv84Vuwg0INNyuToI2bfIWUrmPfZHtPVtGgb qcHshKDmID5VaJ6P2wLfIBZMyg== X-Google-Smtp-Source: ABdhPJxyU7URfuIYdS/ISsgwZ/de5lyrioYlRyrVpglihitQVVbcdfHO5l4BdSPHFvNgggmVDjgUMA== X-Received: by 2002:a05:6402:1357:: with SMTP id y23mr14463677edw.244.1625492895897; Mon, 05 Jul 2021 06:48:15 -0700 (PDT) Received: from localhost.localdomain ([89.18.44.40]) by smtp.gmail.com with ESMTPSA id cf29sm1557637edb.14.2021.07.05.06.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 06:48:15 -0700 (PDT) From: Pavo Banicevic 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, luka.kovacic@sartura.hr Cc: Robert Marko Subject: [PATCH v8 6/7] Documentation/hwmon: Add iei-wt61p803-puzzle hwmon driver documentation Date: Mon, 5 Jul 2021 15:49:38 +0200 Message-Id: <20210705134939.28691-7-pavo.banicevic@sartura.hr> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210705134939.28691-1-pavo.banicevic@sartura.hr> References: <20210705134939.28691-1-pavo.banicevic@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org From: Luka Kovacic 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 | 42 +++++++++++++++++++ 1 file changed, 42 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..04b01e53760c --- /dev/null +++ b/Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst @@ -0,0 +1,42 @@ +.. 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) +================= == =================================================== + +/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 +================= == ====================================================