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 nct7904
^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 chip:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)   * Nuvoton NCT7904D
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: nct7904
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Addresses: I2C 0x2d, 0x2e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)     Datasheet: Publicly available at Nuvoton website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	http://www.nuvoton.com/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Author: Vadim V. Vlasov <vvlasov@dev.rtsoft.ru>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The NCT7904D is a hardware monitor supporting up to 20 voltage sensors,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) internal temperature sensor, Intel PECI and AMD SB-TSI CPU temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) interface, up to 12 fan tachometer inputs, up to 4 fan control channels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) with SmartFan.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Sysfs entries
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Currently, the driver supports only the following features:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) in[1-20]_input		Input voltage measurements (mV)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) fan[1-12]_input		Fan tachometer measurements (rpm)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) temp1_input		Local temperature (1/1000 degree,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 			0.125 degree resolution)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) temp[2-9]_input		CPU temperatures (1/1000 degree,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 			0.125 degree resolution)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) pwm[1-4]_enable		R/W, 1/2 for manual or SmartFan mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 			Setting SmartFan mode is supported only if it has been
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 			previously configured by BIOS (or configuration EEPROM)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) pwm[1-4]		R/O in SmartFan mode, R/W in manual control mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) The driver checks sensor control registers and does not export the sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) that are not enabled. Anyway, a sensor that is enabled may actually be not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) connected and thus provide zero readings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Limitations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) The following features are not supported in current version:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)  - SmartFan control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)  - Watchdog
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)  - GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)  - external temperature sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)  - SMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)  - min/max values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)  - many other...