Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver w83l786ng
0002 =======================
0003 
0004 Supported chips:
0005 
0006   * Winbond W83L786NG/W83L786NR
0007 
0008     Prefix: 'w83l786ng'
0009 
0010     Addresses scanned: I2C 0x2e - 0x2f
0011 
0012     Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L786NRNG09.pdf
0013 
0014 Author: Kevin Lo <kevlo@kevlo.org>
0015 
0016 
0017 Module Parameters
0018 -----------------
0019 
0020 * reset boolean
0021     (default 0)
0022 
0023     Use 'reset=1' to reset the chip (via index 0x40, bit 7). The default
0024     behavior is no chip reset to preserve BIOS settings
0025 
0026 
0027 Description
0028 -----------
0029 
0030 This driver implements support for Winbond W83L786NG/W83L786NR chips.
0031 
0032 The driver implements two temperature sensors, two fan rotation speed
0033 sensors, and three voltage sensors.
0034 
0035 Temperatures are measured in degrees Celsius and measurement resolution is 1
0036 degC for temp1 and temp2.
0037 
0038 Fan rotation speeds are reported in RPM (rotations per minute). Fan readings
0039 can be divided by a programmable divider (1, 2, 4, 8, 16, 32, 64
0040 or 128 for fan 1/2) to give the readings more range or accuracy.
0041 
0042 Voltage sensors (also known as IN sensors) report their values in millivolts.
0043 An alarm is triggered if the voltage has crossed a programmable minimum
0044 or maximum limit.
0045 
0046 /sys files
0047 ----------
0048 
0049 pwm[1-2]
0050             - this file stores PWM duty cycle or DC value (fan speed) in range:
0051 
0052               0 (stop) to 255 (full)
0053 pwm[1-2]_enable
0054             - this file controls mode of fan/temperature control:
0055 
0056             * 0 Manual Mode
0057             * 1 Thermal Cruise
0058             * 2 Smart Fan II
0059             * 4 FAN_SET
0060 pwm[1-2]_mode
0061             - Select PWM of DC mode
0062 
0063             * 0 DC
0064             * 1 PWM
0065 tolerance[1-2]
0066             - Value in degrees of Celsius (degC) for +- T