Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4758827yba; Wed, 10 Apr 2019 04:27:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvX/s/1tuDw9YaI2/tYIIHKuVhGd9weynSY6o+n+E6TpwTUF1SI7IvkrCRspq4Wf8DxL9O X-Received: by 2002:a65:4302:: with SMTP id j2mr38531521pgq.291.1554895677800; Wed, 10 Apr 2019 04:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554895677; cv=none; d=google.com; s=arc-20160816; b=OWZNSD2BKa1QA0tTcGuOq+wi1mHLlLxOpJWpuvYV1aLpNVZMbR6eMeJyFggkOkM20b TPV1aLnxfhWa3BbJ010f6NedjSY+dYPaEmDEBSoYFSmvmS8VumFMFcqYvKlX9WmEP+H8 u442OTW1aytoxmsyYBgf4g0/I0rlDqDv8J38eyq+vHrLouF10i7gqFK/3PbiU+LYjypQ da5MhyGRtvnobapEldmzn+PsNrDKctIeiisZ+3shiabki6nDnPY+pf/6/GvGrMxy/lOR IEBx0ARelQGqRbmf1D+cioCbpsr3wgld97NeMKfqriC9dE7AHarXXMVR/XSVn1f69Y8P Ka6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ez0sZsw0NBzlVZN3wsezYrVWYduvf6kqfB6JtA0kD9k=; b=MV1pHlzOmukEjd+sa+Wa90cjVXGyNuPJs0UNIarcpbkJPxDvltT7QD2wK5BdDjTxk4 B9Z4H7Qqhvu8BndImanRxrAbkL4vqp0qvsmTiTSvq1Nyw1LzwhtObiJMXJXOVf8/frW8 9i2q2saqZVmG2m6MCAgR2/Pp3J1HNi2jlmwN6CIA29Cn7E3/5iO+AQ5+g9G5xv5Bc+qf Wfip83V0Vf94WiNfv67sIz5IJvm+WFk+QC13+zxMPXQEUihreIeXjeo3+APtN15hs+eH qBtNO9hx2FXw4GgXx8stA5jyHQy6QP54j8UJxbwaGfSkAD8sXtmiOEyxCqSjZ2bFfP3w QA0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mH8zlm7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p61si3117058plb.428.2019.04.10.04.27.40; Wed, 10 Apr 2019 04:27:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mH8zlm7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731580AbfDJLOJ (ORCPT + 99 others); Wed, 10 Apr 2019 07:14:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44446 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731059AbfDJLMQ (ORCPT ); Wed, 10 Apr 2019 07:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ez0sZsw0NBzlVZN3wsezYrVWYduvf6kqfB6JtA0kD9k=; b=mH8zlm7pkZTcVfqs3LN4fR5BaV 1Nf2dA6deqCKOsC/iVIcrs4PhoiQJ2b0huFtuMhLIie2naYQ9NUNOPc5JpwLch28dlITgdoQxo1AK 87TJZO/nNOEXnsVYnAoQbh+CSsSel4frYjWEeMIGqaVuKMGhMYnvlYtB5qH3YZxHfTGnhFyCYBI21 krL/SlA7b6ZAoE8aWDqjzZYiw7kfHzGLsGLctq2d/sAO04ubFwRrC3RWdIIuWQFfa31ogMTZj5215 VHmRHWHyITRKCaFUEnQ9/7bHWCzfh/5iEHssm0KASSkea5Y7Pxco5wGmXTLUidbeKJM3ixzREmdX3 nbLFjY1A==; Received: from 177.41.129.23.dynamic.adsl.gvt.net.br ([177.41.129.23] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEB9L-0006mw-K3; Wed, 10 Apr 2019 11:12:15 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hEB9J-0007Sh-Bm; Wed, 10 Apr 2019 08:12:13 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org Subject: [PATCH 06/21] docs: hwmon: pc87360: convert to ReST format Date: Wed, 10 Apr 2019 08:11:56 -0300 Message-Id: <2f35108edc61184dfe117696e8e110c51477bc4e.1554893882.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert pc87360 to ReST format, in order to allow it to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/pc87360 | 38 +++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/Documentation/hwmon/pc87360 b/Documentation/hwmon/pc87360 index d5f5cf16ce59..4bad07bce54b 100644 --- a/Documentation/hwmon/pc87360 +++ b/Documentation/hwmon/pc87360 @@ -2,14 +2,19 @@ Kernel driver pc87360 ===================== Supported chips: + * National Semiconductor PC87360, PC87363, PC87364, PC87365 and PC87366 + Prefixes: 'pc87360', 'pc87363', 'pc87364', 'pc87365', 'pc87366' + Addresses scanned: none, address read from Super I/O config space + Datasheets: No longer available Authors: Jean Delvare Thanks to Sandeep Mehta, Tonko de Rooy and Daniel Ceregatti for testing. + Thanks to Rudolf Marek for helping me investigate conversion issues. @@ -17,11 +22,13 @@ Module Parameters ----------------- * init int - Chip initialization level: - 0: None - *1: Forcibly enable internal voltage and temperature channels, except in9 - 2: Forcibly enable all voltage and temperature channels, except in9 - 3: Forcibly enable all voltage and temperature channels, including in9 + Chip initialization level: + + - 0: None + - **1**: Forcibly enable internal voltage and temperature channels, + except in9 + - 2: Forcibly enable all voltage and temperature channels, except in9 + - 3: Forcibly enable all voltage and temperature channels, including in9 Note that this parameter has no effect for the PC87360, PC87363 and PC87364 chips. @@ -43,13 +50,15 @@ hardware monitoring chipsets, not only controlling and monitoring three fans, but also monitoring eleven voltage inputs and two (PC87365) or up to four (PC87366) temperatures. + =========== ======= ======= ======= ======= ===== Chip #vin #fan #pwm #temp devid - + =========== ======= ======= ======= ======= ===== PC87360 - 2 2 - 0xE1 PC87363 - 2 2 - 0xE8 PC87364 - 3 3 - 0xE4 PC87365 11 3 3 2 0xE5 PC87366 11 3 3 3-4 0xE9 + =========== ======= ======= ======= ======= ===== The driver assumes that no more than one chip is present, and one of the standard Super I/O addresses is used (0x2E/0x2F or 0x4E/0x4F) @@ -68,18 +77,23 @@ have to care no more. For reference, here are a few values about clock dividers: - slowest accuracy highest - measurable around 3000 accurate + =========== =============== =============== =========== + slowest accuracy highest + measurable around 3000 accurate divider speed (RPM) RPM (RPM) speed (RPM) - 1 1882 18 6928 - 2 941 37 4898 - 4 470 74 3464 - 8 235 150 2449 + =========== =============== =============== =========== + 1 1882 18 6928 + 2 941 37 4898 + 4 470 74 3464 + 8 235 150 2449 + =========== =============== =============== =========== For the curious, here is how the values above were computed: + * slowest measurable speed: clock/(255*divider) * accuracy around 3000 RPM: 3000^2/clock * highest accurate speed: sqrt(clock*100) + The clock speed for the PC87360 family is 480 kHz. I arbitrarily chose 100 RPM as the lowest acceptable accuracy. -- 2.20.1