Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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