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) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) Kernel driver asc7621
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7)     Andigilog aSC7621 and aSC7621a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9)     Prefix: 'asc7621'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11)     Addresses scanned: I2C 0x2c, 0x2d, 0x2e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13)     Datasheet: http://www.fairview5.com/linux/asc7621/asc7621.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 		George Joseph
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) Description provided by Dave Pivin @ Andigilog:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) added PECI and a 4th thermal zone. The Andigilog aSC7611 is the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) volume production, shipping to Intel and their subs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) We have enhanced both parts relative to the governing Intel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) specification. First enhancement is temperature reading resolution. We
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) have used registers below 20h for vendor-specific functions in addition
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) to those in the Intel-specified vendor range.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) Our conversion process produces a result that is reported as two bytes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) The fan speed control uses this finer value to produce a "step-less" fan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) PWM output. These two bytes are "read-locked" to guarantee that once a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) high or low byte is read, the other byte is locked-in until after the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) next read of any register. So to get an atomic reading, read high or low
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) byte, then the very next read should be the opposite byte. Our data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) sheet says 10-bits of resolution, although you may find the lower bits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) are active, they are not necessarily reliable or useful externally. We
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) chose not to mask them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) We employ significant filtering that is user tunable as described in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) data sheet. Our temperature reports and fan PWM outputs are very smooth
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) when compared to the competition, in addition to the higher resolution
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) temperature reports. The smoother PWM output does not require user
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) intervention.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) We offer GPIO features on the former VID pins. These are open-drain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) outputs or inputs and may be used as general purpose I/O or as alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) outputs that are based on temperature limits. These are in 19h and 1Ah.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) We offer flexible mapping of temperature readings to thermal zones. Any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) temperature may be mapped to any zone, which has a default assignment
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) that follows Intel's specs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) Since there is a fan to zone assignment that allows for the "hotter" of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) a set of zones to control the PWM of an individual fan, but there is no
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) indication to the user, we have added an indicator that shows which zone
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) is currently controlling the PWM for a given fan. This is in register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 00h.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) Both remote diode temperature readings may be given an offset value such
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) that the reported reading as well as the temperature used to determine
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) PWM may be offset for system calibration purposes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) PECI Extended configuration allows for having more than two domains per
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) PECI address and also provides an enabling function for each PECI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) address. One could use our flexible zone assignment to have a zone
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) assigned to up to 4 PECI addresses. This is not possible in the default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) Intel configuration. This would be useful in multi-CPU systems with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) individual fans on each that would benefit from individual fan control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) This is in register 0Eh.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) The tachometer measurement system is flexible and able to adapt to many
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) fan types. We can also support pulse-stretched PWM so that 3-wire fans
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) may be used. These characteristics are in registers 04h to 07h.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) Finally, we have added a tach disable function that turns off the tach
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) measurement system for individual tachs in order to save power. That is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) in register 75h.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) --------------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) aSC7621 Product Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) ===========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) The aSC7621 has a two wire digital interface compatible with SMBus 2.0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) Using a 10-bit ADC, the aSC7621 measures the temperature of two remote diode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) connected transistors as well as its own die. Support for Platform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) Environmental Control Interface (PECI) is included.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) Using temperature information from these four zones, an automatic fan speed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) control algorithm is employed to minimize acoustic impact while achieving
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) recommended CPU temperature under varying operational loads.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) To set fan speed, the aSC7621 has three independent pulse width modulation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) (PWM) outputs that are controlled by one, or a combination of three,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) temperature zones. Both high- and low-frequency PWM ranges are supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) The aSC7621 also includes a digital filter that can be invoked to smooth
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) temperature readings for better control of fan speed and minimum acoustic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) impact.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) The aSC7621 has tachometer inputs to measure fan speed on up to four fans.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Limit and status registers for all measured values are included to alert
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) the system host that any measurements are outside of programmed limits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) via status registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) System voltages of VCCP, 2.5V, 3.3V, 5.0V, and 12V motherboard power are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) monitored efficiently with internal scaling resistors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) --------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) - Supports PECI interface and monitors internal and remote thermal diodes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) - 2-wire, SMBus 2.0 compliant, serial interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) - 10-bit ADC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) - Monitors VCCP, 2.5V, 3.3V, 5.0V, and 12V motherboard/processor supplies
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) - Programmable autonomous fan control based on temperature readings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) - Noise filtering of temperature reading for fan speed control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) - 0.25C digital temperature sensor resolution
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) - 3 PWM fan speed control outputs for 2-, 3- or 4-wire fans and up to 4 fan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122)   tachometer inputs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) - Enhanced measured temperature to Temperature Zone assignment.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) - Provides high and low PWM frequency ranges
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) - 3 GPIO pins for custom use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) - 24-Lead QSOP package
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) Configuration Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) Except where noted below, the sysfs entries created by this driver follow
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) the standards defined in "sysfs-interface".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) temp1_source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	0 	(default) peci_legacy = 0, Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 		peci_legacy = 1, PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 	1 	Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	2 	Remote 2 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	3 	Internal Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	4 	PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	5 	PECI Processor Temperature 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	6 	PECI Processor Temperature 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	7	PECI Processor Temperature 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) temp2_source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 	0 	(default) Internal Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 	1 	Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	2 	Remote 2 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	3 	Internal Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	4 	PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	5 	PECI Processor Temperature 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 	6 	PECI Processor Temperature 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	7 	PECI Processor Temperature 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) temp3_source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 	0 	(default) Remote 2 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 	1 	Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	2 	Remote 2 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	3 	Internal Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	4 	PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	5 	PECI Processor Temperature 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	6 	PECI Processor Temperature 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	7 	PECI Processor Temperature 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) temp4_source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	0 	(default) peci_legacy = 0, PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 		peci_legacy = 1, Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 	1 	Remote 1 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	2 	Remote 2 Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	3 	Internal Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	4 	PECI Processor Temperature 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	5 	PECI Processor Temperature 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	6 	PECI Processor Temperature 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	7 	PECI Processor Temperature 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) temp[1-4]_smoothing_enable / temp[1-4]_smoothing_time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	Smooths spikes in temp readings caused by noise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	Valid values in milliseconds are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	* 35000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	* 17600
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	* 11800
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 	*  7000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 	*  4400
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	*  3000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	*  1600
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	*   800
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) temp[1-4]_crit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	When the corresponding zone temperature reaches this value,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	ALL pwm outputs will got to 100%.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) temp[5-8]_input / temp[5-8]_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 	The aSC7621 can also read temperatures provided by the processor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	via the PECI bus.  Usually these are "core" temps and are relative
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	to the point where the automatic thermal control circuit starts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	throttling.  This means that these are usually negative numbers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) pwm[1-3]_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 	=============== ========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 	0		Fan off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 	1		Fan on manual control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 	2		Fan on automatic control and will run at the minimum pwm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 			if the temperature for the zone is below the minimum.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 	3		Fan on automatic control but will be off if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 			temperature for the zone is below the minimum.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 	4-254		Ignored.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 	255		Fan on full.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 	=============== ========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) pwm[1-3]_auto_channels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 	Bitmap as described in sysctl-interface with the following
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 	exceptions...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 	Only the following combination of zones (and their corresponding masks)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 	are valid:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 	* 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 	* 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	* 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 	* 2,3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 	* 1,2,3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	* 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 	* 1,2,3,4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 	* Special values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 	  ==		======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 	  0		Disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 	  16		Fan on manual control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 	  31		Fan on full.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 	  ==		======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) pwm[1-3]_invert
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) 	When set, inverts the meaning of pwm[1-3].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	i.e.  when pwm = 0, the fan will be on full and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 	when pwm = 255 the fan will be off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) pwm[1-3]_freq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) 	PWM frequency in Hz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 	Valid values in Hz are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) 	* 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) 	* 15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 	* 23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) 	* 30  (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) 	* 38
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) 	* 47
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) 	* 62
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) 	* 94
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) 	* 23000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) 	* 24000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) 	* 25000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) 	* 26000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) 	* 27000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) 	* 28000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) 	* 29000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) 	* 30000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) 	Setting any other value will be ignored.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) peci_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) 	Enables or disables PECI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) peci_avg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) 	Input filter average time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) 	* 0 	0 Sec. (no Smoothing) (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) 	* 1 	0.25 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) 	* 2 	0.5 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) 	* 3 	1.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) 	* 4 	2.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) 	* 5 	4.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) 	* 6 	8.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) 	* 7 	0.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) peci_legacy
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) 	=	============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) 	0	Standard Mode (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) 		Remote Diode 1 reading is associated with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) 		Temperature Zone 1, PECI is associated with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) 		Zone 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) 	1	Legacy Mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) 		PECI is associated with Temperature Zone 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) 		Remote Diode 1 is associated with Zone 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) 	=	============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) peci_diode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) 	Diode filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) 	=	====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) 	0	0.25 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) 	1 	1.1 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) 	2 	2.4 Sec.  (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) 	3 	3.4 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) 	4 	5.0 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) 	5 	6.8 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) 	6 	10.2 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) 	7 	16.4 Sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) 	=	====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) peci_4domain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) 	Four domain enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) 	0 	1 or 2 Domains for enabled processors (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) 	1 	3 or 4 Domains for enabled processors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) 	=	===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) peci_domain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) 	Domain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) 	=	==================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) 	0 	Processor contains a single domain (0) 	 (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) 	1 	Processor contains two domains (0,1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) 	=	==================================================