Received: by 10.223.164.202 with SMTP id h10csp2814540wrb; Sun, 12 Nov 2017 19:29:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ+utLqsAzb0/jYEC0O+Iukk+KEN2zEoaYcwvUe3MzqNabtnViaAUrhvrHsxxvNgNWNmrp+ X-Received: by 10.84.130.34 with SMTP id 31mr7470222plc.241.1510543765050; Sun, 12 Nov 2017 19:29:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510543765; cv=none; d=google.com; s=arc-20160816; b=kcNyv6IXTsgCFjuCxV5PPMU8vulB2O0Nvh72cx3FNICAl1SJsEhkXjclKxinEHcHiX iivVRiSIdtdiNbqsklMJKYRKlpyeHam95Znk9oco6dU/+zgZBLHfeb44BCasEtM88VPa rWcANtlEmz/4IriGbfRt3x/gbXdGFFUb+fy1JqF5Vd+C6mNH6YHpUkanOjXzpdd4ZOpx HOTyEgxcW3YjJX012MXAKhXGUlAt+RkclK/6fk7nkpgUcDCFV3ygFNP7OmKHxWWGG2l6 tpQshoM6Df5SI9nEO9JxRBMm492n01zPmUDEDaXQat9xBbuz/sz9XQRn2L2x12Ba1G4f ByVw== 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=xCXIshTDJTTjWGzb7hcbFAUFwh9zUq6Ptny1tsjgLg3iIKgJw8kYAXmqtled5AadlQ 8rU7CTfPZ3ewMXsz5MlE5SwagJioNqlGN5UNYrTn6TcVQ9e7GPkFZzQT9DfXBvo4rzHx jPrv5wCxlDT5HM7csxJxWOP2PLHKqyqm5d/dqdGClkWN4fl8JxAuSAMX5xsn2tZkLviS w8H9ZPHKGSSf0wz7HhS3NJM/L8VwBpBTPLXGUqWHFF94pOUuNHt4+O44ozsM1Hw6wb6O gqeqCOlKVhSrJ7SMZiilwb3Z6cjhe7t9z+uJCNNmCtJfG1UT1V5PtS8YjQyO1PrpwLLs AqpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Yky1VJWr; 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 a2si3402503plt.229.2017.11.12.19.29.13; Sun, 12 Nov 2017 19:29:25 -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=Yky1VJWr; 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 S1751859AbdKMD2c (ORCPT + 87 others); Sun, 12 Nov 2017 22:28:32 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:54906 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbdKMD20 (ORCPT ); Sun, 12 Nov 2017 22:28:26 -0500 Received: by mail-pf0-f193.google.com with SMTP id n89so10907497pfk.11; Sun, 12 Nov 2017 19:28:26 -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=Yky1VJWr0ild3BM8gBC+90yENqghfNnYeevZQaNMRaVS3RXX1FJgo0lnJh3LhCxtpw RG56eLuvODUcCgscD2L4jmrkC1n2/3eFtLNS4Lk07OEIMokdhgiJ+N3vxCg0Tc46tMzR MY+YCM3uxeKqBdb3ucXer1nun3dyJ1FaxtiOLabYe+mWkfIEOh895VH94UDcIpXty+TG s45zbzXDFBF2rxR1eiSw4UbHir0ZNxdcYJzttU6Jp2YO1cCQRZ+guGpXP589O0D55fm7 3xaDIsedkDMZSjtAz876/3QrrYYRDqY/bLe68asFCADWuTLw1ym0+Eobnt57GDJr+567 YNMA== 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=OIkw85Y969RWp7p2Rs2ccuoHBfl9IWR6mRY48/tLZMoSBOoRtcTsg5DKITF9wWoLP1 RZLsKiY2y/7g9weS8bsu07bFUQlHkqQPPSNcY+Ze6qEUCUhJBc+q/oeY2zA+2dCXoi9c Shf4O9Hld3Pk4OQtFDmDUy8iOWyw3f04ZsGH6tq2Qfbhg9kxk+U5u9tv/P8JU9MV/uet F698WSg/oK2/PMYSGZkiAhwKTj/4v9TgGdK3I08SqoEK7vZyaWuJhlMQxcHRwShO+fzH 1Uv48E1Wcy4N7Ij3hK3Q80r7d30qox+GW+eGWdyjBSAU4L5KUNFrSibujj9upkLxPK49 nbFg== X-Gm-Message-State: AJaThX7RAlf/oIO/jtqiLaWpnTWXLFDOOzYlvKNNrrD24q0ku5pduYRs 1m2eqk1cPO8pEi4MCtxFVIk= X-Received: by 10.99.8.194 with SMTP id 185mr7394368pgi.202.1510543705813; Sun, 12 Nov 2017 19:28:25 -0800 (PST) Received: from localhost ([159.203.222.251]) by smtp.gmail.com with ESMTPSA id b28sm34821520pfl.86.2017.11.12.19.28.24 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 12 Nov 2017 19:28:25 -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 v4 3/3] hwmon: (w83773g) Add documentation Date: Mon, 13 Nov 2017 11:27:34 +0800 Message-Id: <1510543655-27059-4-git-send-email-mine260309@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1510543655-27059-1-git-send-email-mine260309@gmail.com> References: <1510543655-27059-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 1584165437702081370@xxx Wed Nov 15 20:31:30 +0000 2017 X-GM-THRID: 1583618020578754488 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread