Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / hwmon / w83l786ng.rst
1 Kernel driver w83l786ng
2 =======================
3
4 Supported chips:
5
6   * Winbond W83L786NG/W83L786NR
7
8     Prefix: 'w83l786ng'
9
10     Addresses scanned: I2C 0x2e - 0x2f
11
12     Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L786NRNG09.pdf
13
14 Author: Kevin Lo <kevlo@kevlo.org>
15
16
17 Module Parameters
18 -----------------
19
20 * reset boolean
21     (default 0)
22
23     Use 'reset=1' to reset the chip (via index 0x40, bit 7). The default
24     behavior is no chip reset to preserve BIOS settings
25
26
27 Description
28 -----------
29
30 This driver implements support for Winbond W83L786NG/W83L786NR chips.
31
32 The driver implements two temperature sensors, two fan rotation speed
33 sensors, and three voltage sensors.
34
35 Temperatures are measured in degrees Celsius and measurement resolution is 1
36 degC for temp1 and temp2.
37
38 Fan rotation speeds are reported in RPM (rotations per minute). Fan readings
39 readings can be divided by a programmable divider (1, 2, 4, 8, 16, 32, 64
40 or 128 for fan 1/2) to give the readings more range or accuracy.
41
42 Voltage sensors (also known as IN sensors) report their values in millivolts.
43 An alarm is triggered if the voltage has crossed a programmable minimum
44 or maximum limit.
45
46 /sys files
47 ----------
48
49 pwm[1-2]
50             - this file stores PWM duty cycle or DC value (fan speed) in range:
51
52               0 (stop) to 255 (full)
53 pwm[1-2]_enable
54             - this file controls mode of fan/temperature control:
55
56             * 0 Manual Mode
57             * 1 Thermal Cruise
58             * 2 Smart Fan II
59             * 4 FAN_SET
60 pwm[1-2]_mode
61             - Select PWM of DC mode
62
63             * 0 DC
64             * 1 PWM
65 tolerance[1-2]
66             - Value in degrees of Celsius (degC) for +- T