cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

w83l786ng.rst (1615B)


      1Kernel driver w83l786ng
      2=======================
      3
      4Supported 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
     14Author: Kevin Lo <kevlo@kevlo.org>
     15
     16
     17Module 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
     27Description
     28-----------
     29
     30This driver implements support for Winbond W83L786NG/W83L786NR chips.
     31
     32The driver implements two temperature sensors, two fan rotation speed
     33sensors, and three voltage sensors.
     34
     35Temperatures are measured in degrees Celsius and measurement resolution is 1
     36degC for temp1 and temp2.
     37
     38Fan rotation speeds are reported in RPM (rotations per minute). Fan readings
     39can be divided by a programmable divider (1, 2, 4, 8, 16, 32, 64
     40or 128 for fan 1/2) to give the readings more range or accuracy.
     41
     42Voltage sensors (also known as IN sensors) report their values in millivolts.
     43An alarm is triggered if the voltage has crossed a programmable minimum
     44or maximum limit.
     45
     46/sys files
     47----------
     48
     49pwm[1-2]
     50	    - this file stores PWM duty cycle or DC value (fan speed) in range:
     51
     52	      0 (stop) to 255 (full)
     53pwm[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
     60pwm[1-2]_mode
     61	    - Select PWM of DC mode
     62
     63	    * 0 DC
     64	    * 1 PWM
     65tolerance[1-2]
     66	    - Value in degrees of Celsius (degC) for +- T