summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-01-17 07:04:01 +0300
committerJoel Stanley <joel@jms.id.au>2018-01-17 23:55:01 +0300
commitebea2d6b11098df870dee0c515880528f7a997c4 (patch)
tree882c383faf200a8970e3b1a08303ccc6c52671f7
parent5f1ff9d19755178078817c291eb11a8b09a05340 (diff)
downloadlinux-ebea2d6b11098df870dee0c515880528f7a997c4.tar.xz
hwmon: (w83773g) Add documentation
Add documentation for the w83773g driver. OpenBMC-Staging-Count: 1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--Documentation/hwmon/w83773g33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/hwmon/w83773g b/Documentation/hwmon/w83773g
new file mode 100644
index 000000000000..4cc6c0b8257f
--- /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 <mine260309@gmail.com>
+
+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