xref: /OK3568_Linux_fs/kernel/Documentation/hwmon/w83773g.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKernel driver w83773g
2*4882a593Smuzhiyun=====================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSupported chips:
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun  * Nuvoton W83773G
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun    Prefix: 'w83773g'
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun    Addresses scanned: I2C 0x4c and 0x4d
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun    Datasheet: https://www.nuvoton.com/resource-files/W83773G_SG_DatasheetV1_2.pdf
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunAuthors:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	Lei YU <mine260309@gmail.com>
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDescription
19*4882a593Smuzhiyun-----------
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunThis driver implements support for Nuvoton W83773G temperature sensor
22*4882a593Smuzhiyunchip. This chip implements one local and two remote sensors.
23*4882a593SmuzhiyunThe chip also features offsets for the two remote sensors which get added to
24*4882a593Smuzhiyunthe input readings. The chip does all the scaling by itself and the driver
25*4882a593Smuzhiyuntherefore reports true temperatures that don't need any user-space adjustments.
26*4882a593SmuzhiyunTemperature is measured in degrees Celsius.
27*4882a593SmuzhiyunThe chip is wired over I2C/SMBus and specified over a temperature
28*4882a593Smuzhiyunrange of -40 to +125 degrees Celsius (for local sensor) and -40 to +127
29*4882a593Smuzhiyundegrees Celsius (for remote sensors).
30*4882a593SmuzhiyunResolution for both the local and remote channels is 0.125 degree C.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunThe chip supports only temperature measurement. The driver exports
33*4882a593Smuzhiyunthe temperature values via the following sysfs files:
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun**temp[1-3]_input, temp[2-3]_fault, temp[2-3]_offset, update_interval**
36