Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2321842pxb; Mon, 18 Jan 2021 14:49:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwl4Y/gj77aptCBWFfRDC/pUFMaAQNHJOj1AFkG4Z4MnC9E5RLkPOtCrvrv3p46wVeDp5eK X-Received: by 2002:a17:906:d8ac:: with SMTP id qc12mr1187158ejb.501.1611010184883; Mon, 18 Jan 2021 14:49:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611010184; cv=none; d=google.com; s=arc-20160816; b=apaY0/FZ1WwxFpSUYA5Pt2bi19G3KYaGwTT8OSPVzYbIRPpO/qkFNlwzgDBecBLRB2 gKqZLbvSdjEnRQJd8yU+GQ88WCzf+9mPuxBaMBvz7h31Ed5jqeRf5ZeZGVZR35ymVyU4 ujiuDxQ31EME6SaKwzXAXgqqMcNCciEvr9BA52tUJZKhS/JvphaNooQJR0X0wUGjGLfA OVhry58/LK6btciraB1e2PR2mRuhDxTOlKUtOzRUX/8QQQZqJz244LCM5FeRkx3JwzSo KyHCZrOBdAcDGqFufEYbLKyPh3U7uolGUAupYr5Ld/z6EIKLSlGfyj5XfGK2pMYFwbH2 2YOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NGvtl69/VJ+GMHwcdpxyapA2Fo6sac7DNy4hjBXiM4s=; b=HU0PU+kmJ96r16kBVTZAnnm7GnhkJquE3RCEYbqmMSuOEw0jlmBmD1Kj/s2SPNaSzT iwRv326o0FXFkbRMtRezGOdFKakWqDib2LrA3RV+4mftZhqypwSwHVjlLXZzqy5U3AvV V1ANHzSqBvzJnXwmDoOf3OcAOka8YzDojq+VnI1rGG/dhEUaj2w650HrCT0m9JpTRZmX HvIw2SR6f1F700oQLvS1ABSQTPCAzIZLR70jskm46+r57TofacN1u31GFbMSDOcYXlO1 91va44sUmM4nsrUYm1ZfNBvgyhWB0uVe7Jt67aKHOFICdKTMhk2LgosQ+qOtadr280RW 0kNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si2865010edn.225.2021.01.18.14.49.22; Mon, 18 Jan 2021 14:49:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732802AbhARGwM (ORCPT + 99 others); Mon, 18 Jan 2021 01:52:12 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:32518 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732733AbhARGwJ (ORCPT ); Mon, 18 Jan 2021 01:52:09 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 10I6jxbE030933; Mon, 18 Jan 2021 14:45:59 +0800 (GMT-8) (envelope-from troy_lee@aspeedtech.com) Received: from localhost.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 18 Jan 2021 14:51:16 +0800 From: Troy Lee To: , Joel Stanley , Andrew Jeffery , Philipp Zabel , open list , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" CC: , , , Subject: [PATCH v3 2/4] hwmon: Add Aspeed AST2600 support Date: Mon, 18 Jan 2021 06:50:50 +0000 Message-ID: <20210118065059.2478078-3-troy_lee@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118065059.2478078-1-troy_lee@aspeedtech.com> References: <20210118065059.2478078-1-troy_lee@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 10I6jxbE030933 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Updating index.rst and adding aspeed2600-pwm-tachometer.rst to address the driver. Changes since v1: - rename to aspeed2600-pwm-tachometer.rst - add license identifier Signed-off-by: Troy Lee --- .../hwmon/aspeed2600-pwm-tachometer.rst | 27 +++++++++++++++++++ Documentation/hwmon/index.rst | 1 + 2 files changed, 28 insertions(+) create mode 100644 Documentation/hwmon/aspeed2600-pwm-tachometer.rst diff --git a/Documentation/hwmon/aspeed2600-pwm-tachometer.rst b/Documentation/hwmon/aspeed2600-pwm-tachometer.rst new file mode 100644 index 000000000000..cf0d31a19597 --- /dev/null +++ b/Documentation/hwmon/aspeed2600-pwm-tachometer.rst @@ -0,0 +1,27 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +Kernel driver aspeed2600-pwm-tachometer +=================================== + +Supported chips: + ASPEED AST2600 + +Authors: + Ryan Chen + +Description: +------------ +This driver implements support for ASPEED AST2600 PWM and Fan Tacho +controller. The PWM controller supports upto 16 PWM outputs. The Fan tacho +controller supports up to 16 tachometer inputs. + +The driver provides the following sensor accesses in sysfs: + +=============== ======= ===================================================== +fanX_input ro provide current fan rotation value in RPM as reported + by the fan to the device. + +pwmX rw get or set PWM fan control value. This is an integer + value between 0(off) and 255(full speed). +=============== ======= ===================================================== diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index fcb870ce6286..02020c282549 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -44,6 +44,7 @@ Hardware Monitoring Kernel Drivers asb100 asc7621 aspeed-pwm-tacho + aspeed2600-pwm-tachometer bcm54140 bel-pfe bt1-pvt -- 2.25.1