Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp146243pxb; Tue, 12 Jan 2021 23:13:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7+Rt2ivh+zVxpFJTdtH+jCIUny/aNjs1uWY1twdKw+9m8mC4cVxq0Ojpj9HJmwUZTBlaW X-Received: by 2002:a05:6402:a5b:: with SMTP id bt27mr690349edb.222.1610522021305; Tue, 12 Jan 2021 23:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610522021; cv=none; d=google.com; s=arc-20160816; b=kUA1szvNP+pz24sZ2Grkt4MgmQDBmFfzmnDVcfQ1XgxT+7ONuKKC5EheIP6RhF8piN PQy/VfhmB8EFayGvZOHM3rcQRGr0ore8hK4FN0a64ocHHeeKdFXvpJLuSPh6xiwPkOyE xE3nb01ADcfH6hpuaI571JpBlCR+RjT+Vpo6/2ZK85JlHkfu31dNIZTmSJmcYqGZ2r6u lfSlw2JxsfxItuJJjDIvasxIoq42y1zbhNIoBrs+yo19somrryzYrv0oSmBci94I9UXG d1b23sWMJiP0cec2fvjoXmeRHzlT9Tk7/SRXCUA8aBwlpb1JGefTDTJXP88cQ6gLgWT6 3KDA== 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=VrGjnBgZKlmIqN9BLx0+Ycx36O3ZobihTuBKQYYUFQY=; b=FuqOP2vjx1blaH/5f0hGb6J+0m3aD+q+s8hke9CBP0m4XwZRusU11igwdJE6GqMCYv XQ5sg1YUja3rlBrT3PzoxlfQaRbePCc8UBC7D+DqZfS/wyI8dTzcq3t940iLig/5v7sb 9IqSrT4pgA/lb7jgIvc+ABsDyfmeb7u5cRe2SUl7oSSI4oD8ixJIdsZUIevhAygxGZ/m mH/+7BOoGgIL/y+H65G2JbYpxFKWh6YVhWOS2mgRlhFXUQOKrPCru8IayLbEZl8r648n enIHCF+9HwKAfSLifRFdeEOb92Ac3OPTwVyDzWSJBEgmGwZrjuCzzB4YTbdlhkuq9GbC 7aqQ== 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 v1si547621edy.108.2021.01.12.23.13.17; Tue, 12 Jan 2021 23:13: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 S1726594AbhAMHLp (ORCPT + 99 others); Wed, 13 Jan 2021 02:11:45 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:52880 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbhAMHLo (ORCPT ); Wed, 13 Jan 2021 02:11:44 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 10D73x3g005383; Wed, 13 Jan 2021 15:03: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; Wed, 13 Jan 2021 15:08:59 +0800 From: Troy Lee To: , Jean Delvare , "Guenter Roeck" , Rob Herring , Joel Stanley , Andrew Jeffery , Jonathan Corbet , Philipp Zabel , Ryan Chen , "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 v2 2/4] hwmon: Add Aspeed AST2600 support Date: Wed, 13 Jan 2021 07:08:46 +0000 Message-ID: <20210113070850.1184506-3-troy_lee@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113070850.1184506-1-troy_lee@aspeedtech.com> References: <20210113070850.1184506-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 10D73x3g005383 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