Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3796458pxu; Wed, 9 Dec 2020 00:14:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB9cwTzaJ7U6gjKseDqDxSFpw9pJ9k/jtrXoXcT6HvGpwlYGxhK03Fvzogph1O0ck1Fgc9 X-Received: by 2002:a17:906:6a8a:: with SMTP id p10mr1036123ejr.169.1607501681703; Wed, 09 Dec 2020 00:14:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607501681; cv=none; d=google.com; s=arc-20160816; b=dgLrOkEVUFpIEygXWTII4DbpDX6vCuW+J8C9nXQNlh/D3p85HIr3x3NfzqyuICpzv4 OCe3cIWBCX6kYCp5Qmpj5m80IfzKZjNtBPWgOlt8Vd1vEw9JGjJl+BOdzIHf5NMj/Fd/ TVfw4H/yHfgZV5TC8hzrj4/GOH5meT1UKtwe8lpEozk8WFFk62DrjwiuUEixEVZSPsOl IkXXvo2DRlvlYxLKuClnJddFsblvmuLO54Uch4i4BXP7JslZXOuIoJRuZNdCZPazLivy 3dRjHTpKiYWmCDJqi61N4/MiGIqswMM9GsoPxnYf3OeHLwCFcAPXTrzDR9kmLhcQ9KiL ktgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=DCtM+ze07dO70/IwcoYcFRTdZkfjMYNhcoW7hI5nN2U=; b=nRrMANBMbsHfGimSdVizlhckg44A5oNsWO6rapUsFpOCsI1zfV5LKAWYqq8uKs1bII yEaY/Zhb85E6ZDCRbvuGjhwki6DeSfLAgn8Lq816fmWhhtSgSvecBl2HUnQCYEWKy3lb yQ9eVAsq7lw8/xvAaJ1f11+nZuz4bEq+Ou4WAZhwH3PzZeH88pEQfd21JjwbfgdnhYbc rc3LKe/PJCAbsf/hAbzeveVjc2MTuZ57U2dL+TcxDlS7NZcjGS6xrzQK18Hh/fp/tYiq wWX31PD0Bg9cemQFn4chl8S6VRrH35gpzlIskBuUOT/R+G/xQR+4j+KC3gCf/USXt+Ho 1toQ== 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 m64si472315ede.159.2020.12.09.00.14.19; Wed, 09 Dec 2020 00:14:41 -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 S1728435AbgLIIKE (ORCPT + 99 others); Wed, 9 Dec 2020 03:10:04 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:46456 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728436AbgLIICa (ORCPT ); Wed, 9 Dec 2020 03:02:30 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 0B97uYUO009083; Wed, 9 Dec 2020 15:56:34 +0800 (GMT-8) (envelope-from troy_lee@aspeedtech.com) Received: from TroyLee-PC.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Dec 2020 15:59:30 +0800 From: Troy Lee To: , Jean Delvare , "Guenter Roeck" , Rob Herring , Joel Stanley , Andrew Jeffery , Jonathan Corbet , Philipp Zabel , "open list:HARDWARE MONITORING" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list , "open list:DOCUMENTATION" CC: , , , , Subject: [PATCH 3/4] hwmon: Add Aspeed AST2600 support Date: Wed, 9 Dec 2020 15:59:19 +0800 Message-ID: <20201209075921.26689-4-troy_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201209075921.26689-1-troy_lee@aspeedtech.com> References: <20201209075921.26689-1-troy_lee@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain 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 0B97uYUO009083 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Updating index.rst and adding aspeed_pwm_tachometer.rst to address the driver. Signed-off-by: Troy Lee --- Documentation/hwmon/aspeed_pwm_tachometer.rst | 24 +++++++++++++++++++ Documentation/hwmon/index.rst | 1 + 2 files changed, 25 insertions(+) create mode 100644 Documentation/hwmon/aspeed_pwm_tachometer.rst diff --git a/Documentation/hwmon/aspeed_pwm_tachometer.rst b/Documentation/hwmon/aspeed_pwm_tachometer.rst new file mode 100644 index 000000000000..301448002e6e --- /dev/null +++ b/Documentation/hwmon/aspeed_pwm_tachometer.rst @@ -0,0 +1,24 @@ +Kernel driver aspeed_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 89e1a824021f..26d277c1d211 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -43,6 +43,7 @@ Hardware Monitoring Kernel Drivers asb100 asc7621 aspeed-pwm-tacho + aspeed_pwm_tachometer bcm54140 bel-pfe bt1-pvt -- 2.17.1