Received: by 10.223.164.202 with SMTP id h10csp573503wrb; Wed, 8 Nov 2017 23:10:42 -0800 (PST) X-Google-Smtp-Source: ABhQp+TvDDXXfP646UE5mRH7xSKkXSHs+A5n41lV+zmQZFvcInu2rsucASJQOeckP1b1FmKRrxBY X-Received: by 10.84.244.129 with SMTP id h1mr2604537pll.255.1510211441984; Wed, 08 Nov 2017 23:10:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510211441; cv=none; d=google.com; s=arc-20160816; b=MQc6jDi7bGcXZcVTuwWTyJAXA2cBPidcbqi6XMqKsVsoR0Xlow12vGqXd9l/LEnth7 9Wr9NWh+xU8p9B9u5Olzavs1+xiqPapPynJzWSsIteAblLZjQTunh8UMOp6SfcMp4DW2 fVlytIYCeaGVFl7kNn7dsafWzKAVYEha6HmcyROBcTI/UzZ/HCpaB05itSeUxmxSqmyI bV+OjIx3ossuYuBNG0eElDGWH+3UGu/ctuLpDo8NPxIZi4k5/QzRAjqtY3V7b+/ueZMb ko6ByU1Lj+tOpzqUhsXyeF/nVN1tA5AkxvzqQqVML16GJtij1JTFkvHJ5WmkMUHpWEVz zs7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=18AlShNiSEGMmqAcg8O4Ix9icrzWgYjumd2DtR3bPVo=; b=ThHj8wpq6o26v1mv/hCkOEpspi8ayk8uUHQ/atwk4IMpDx+fZLNqJoA4npb75LEfyG LXgLs0dMFVnA2zrGmPU2E/08smc/6pNwriUbJvwd/7uSrjeNTAAOo01Y/gjH/tlXF/iw 69WDCcKQ7KQoc5Q6LwLfHDjzTYrNVPfd7AvoyTkUrGA6f5oyC9G9wIZgjdxjI07p95sg IdOlMv7SFhXZYZByhVQ1YbTo+RCAxRKQr/y2rGas5OBu80vxXcMDpdIlELnEZLJEaca8 kl32GfmKajXOBZM6nvn4dcO5N48W/9zSj3T+pWW7CjjV7K2o6j92V0FTgbwEa9twTPpl ckgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o/ImG5w1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o28si5432786pgc.521.2017.11.08.23.10.30; Wed, 08 Nov 2017 23:10:41 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=o/ImG5w1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752739AbdKIHJv (ORCPT + 82 others); Thu, 9 Nov 2017 02:09:51 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:51149 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbdKIHJs (ORCPT ); Thu, 9 Nov 2017 02:09:48 -0500 Received: by mail-pg0-f67.google.com with SMTP id y5so3996232pgq.7; Wed, 08 Nov 2017 23:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=18AlShNiSEGMmqAcg8O4Ix9icrzWgYjumd2DtR3bPVo=; b=o/ImG5w1y1XAtBrjK1B49r/kKSpXgEGFQ6PZ60eIZLxB8h1nBEpVigxb5WjEEhx5yM DZ07XUUD8zryxZ5Cy6Fk6iu1jL2nEJoHLVfnCcgJNdks8AH83C2raQKPAyL9KQevz1sr PMebwpix5o0Nl/zGIXvueytLsb63CYXbSqJ610Vo9kP+mHLfH5Jvw8TtV3bC5vbkgSS8 N6MlKH4bptzoS/6ZdfFq+ErMKLVE5oaIP0bmkhutniwFcaBY2u5kyBbk1jypSre7cpSJ mk9Ve+oan/JE0TNDWny2xSPziOLi/CSiEIdJVi/Vh9vZjMGkbBhhCVKxn8PPLvGisPyG 9JlQ== 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; bh=18AlShNiSEGMmqAcg8O4Ix9icrzWgYjumd2DtR3bPVo=; b=FJHIAN26NDfqkKNqOEOTFC6m5JEPczIeX7z1IQbdJK7ax7xJ5GXI/x4Nj8kyOtjI+G KgnNko5SVVegag6ZcT5hrg/F3riBmi/bTLHyvlcewEwkDqGtJGKC0cbU9cSMRQ+maPro ihZEC7WbonRUsvrRgJJzUAf6tUJACdlg4MDiI2CHiBbeV3A/p9qbxc/O6p6IkDNUd+8O RrsjZYGf8WBESbFy13YcueMJtUukQ4X44HjrSUsVqhNDYDcLZwLIJxQ7KYOgA1yUsbgo 3hM8EuJjXy7Gu+xNWRQIwGNk66UZf/YNTQwbxHuaHUOi8cW4KmMcr/WtThUrclKL/1ji 3+HQ== X-Gm-Message-State: AJaThX7I75uSk0B1Fcr/iGWfH9NzqcIlvbIldCLER+WFTPv/+ktp3ATX 906Xhl8gpJ8EUhy6T/m0lbo= X-Received: by 10.99.55.77 with SMTP id g13mr2983924pgn.209.1510211387559; Wed, 08 Nov 2017 23:09:47 -0800 (PST) Received: from localhost ([159.203.222.251]) by smtp.gmail.com with ESMTPSA id h186sm10640895pfe.66.2017.11.08.23.09.46 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 08 Nov 2017 23:09:46 -0800 (PST) From: Lei YU To: Mark Rutland , Jean Delvare , Guenter Roeck , Jonathan Corbet , Jiri Kosina Cc: Lei YU , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Joel Stanley , Andrew Jeffery Subject: [PATCH v3 3/3] hwmon: (w83773g) Add documentation Date: Thu, 9 Nov 2017 15:09:01 +0800 Message-Id: <1510211341-17415-4-git-send-email-mine260309@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1510211341-17415-1-git-send-email-mine260309@gmail.com> References: <1510211341-17415-1-git-send-email-mine260309@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for the w83773g driver. Signed-off-by: Lei YU --- v2: - Add notes for offset and update_interval --- Documentation/hwmon/w83773g | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/hwmon/w83773g diff --git a/Documentation/hwmon/w83773g b/Documentation/hwmon/w83773g new file mode 100644 index 0000000..4cc6c0b --- /dev/null +++ b/Documentation/hwmon/w83773g @@ -0,0 +1,33 @@ +Kernel driver w83773g +==================== + +Supported chips: + * Nuvoton W83773G + Prefix: 'w83773g' + Addresses scanned: I2C 0x4c and 0x4d + Datasheet: https://www.nuvoton.com/resource-files/W83773G_SG_DatasheetV1_2.pdf + +Authors: + Lei YU + +Description +----------- + +This driver implements support for Nuvoton W83773G temperature sensor +chip. This chip implements one local and two remote sensors. +The chip also features offsets for the two remote sensors which get added to +the input readings. The chip does all the scaling by itself and the driver +therefore reports true temperatures that don't need any user-space adjustments. +Temperature is measured in degrees Celsius. +The chip is wired over I2C/SMBus and specified over a temperature +range of -40 to +125 degrees Celsius (for local sensor) and -40 to +127 +degrees Celsius (for remote sensors). +Resolution for both the local and remote channels is 0.125 degree C. + +The chip supports only temperature measurement. The driver exports +the temperature values via the following sysfs files: + +temp[1-3]_input +temp[2-3]_fault +temp[2-3]_offset +update_interval -- 1.9.1 From 1583555086131619872@xxx Thu Nov 09 02:50:14 +0000 2017 X-GM-THRID: 1583555086131619872 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread