mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 20:07:13 +07:00
cf583b4275
The dual tachometer feature is implemented in hardware with a TACHSEL input to indicate the rotor under measurement, and exposed on the device by extending the READ_FAN_SPEED_1 word with two extra bytes*. The need to read the non-standard four-byte response leads to a cut-down implementation of i2c_smbus_xfer_emulated() included in the driver. Further, to expose the second rotor tachometer value to userspace the values are exposed through virtual pages. We re-route accesses to FAN_CONFIG_1_2 and READ_FAN_SPEED_1 on pages 23-28 (not defined by the hardware) to the same registers on pages 0-5, and with the latter command we extract the value from the second word of the four-byte response. * The documentation recommends the slower rotor be associated with TACHSEL=0, which corresponds to the first word of the response. The TACHSEL=0 measurement is used by the controller's closed-loop fan management to judge target fan rate. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Guenter Roeck <linux@roeck-us.net> |
||
---|---|---|
.. | ||
ab8500 | ||
abituguru | ||
abituguru3 | ||
abituguru-datasheet | ||
abx500 | ||
acpi_power_meter | ||
ad7314 | ||
adc128d818 | ||
adm1021 | ||
adm1025 | ||
adm1026 | ||
adm1031 | ||
adm1275 | ||
adm9240 | ||
ads1015 | ||
ads7828 | ||
adt7410 | ||
adt7411 | ||
adt7462 | ||
adt7470 | ||
adt7475 | ||
amc6821 | ||
asb100 | ||
asc7621 | ||
aspeed-pwm-tacho | ||
coretemp | ||
da9052 | ||
da9055 | ||
dme1737 | ||
ds620 | ||
ds1621 | ||
emc6w201 | ||
emc1403 | ||
emc2103 | ||
f71805f | ||
f71882fg | ||
fam15h_power | ||
ftsteutates | ||
g760a | ||
g762 | ||
gl518sm | ||
hih6130 | ||
hwmon-kernel-api.txt | ||
ibm-cffps | ||
ibmaem | ||
ibmpowernv | ||
ina2xx | ||
ina209 | ||
ina3221 | ||
ir35221 | ||
it87 | ||
jc42 | ||
k8temp | ||
k10temp | ||
lineage-pem | ||
lm63 | ||
lm70 | ||
lm73 | ||
lm75 | ||
lm77 | ||
lm78 | ||
lm80 | ||
lm83 | ||
lm85 | ||
lm87 | ||
lm90 | ||
lm92 | ||
lm93 | ||
lm25066 | ||
lm95234 | ||
lm95245 | ||
ltc2945 | ||
ltc2978 | ||
ltc2990 | ||
ltc3815 | ||
ltc4151 | ||
ltc4215 | ||
ltc4245 | ||
ltc4260 | ||
ltc4261 | ||
max197 | ||
max1619 | ||
max1668 | ||
max6639 | ||
max6642 | ||
max6650 | ||
max6697 | ||
max8688 | ||
max16064 | ||
max16065 | ||
max20751 | ||
max31722 | ||
max31785 | ||
max31790 | ||
max34440 | ||
mc13783-adc | ||
mcp3021 | ||
menf21bmc | ||
nct6683 | ||
nct6775 | ||
nct7802 | ||
nct7904 | ||
nsa320 | ||
ntc_thermistor | ||
pc87360 | ||
pc87427 | ||
pcf8591 | ||
pmbus | ||
pmbus-core | ||
powr1220 | ||
pwm-fan | ||
sch5627 | ||
sch5636 | ||
scpi-hwmon | ||
sht3x | ||
sht15 | ||
sht21 | ||
shtc1 | ||
sis5595 | ||
smm665 | ||
smsc47b397 | ||
smsc47m1 | ||
smsc47m192 | ||
submitting-patches | ||
sysfs-interface | ||
tc74 | ||
tc654 | ||
thmc50 | ||
tmp102 | ||
tmp103 | ||
tmp108 | ||
tmp401 | ||
tmp421 | ||
tps40422 | ||
twl4030-madc-hwmon | ||
ucd9000 | ||
ucd9200 | ||
userspace-tools | ||
vexpress | ||
via686a | ||
vt1211 | ||
w83l785ts | ||
w83l786ng | ||
w83627ehf | ||
w83627hf | ||
w83773g | ||
w83781d | ||
w83791d | ||
w83792d | ||
w83793 | ||
w83795 | ||
wm831x | ||
wm8350 | ||
xgene-hwmon | ||
zl6100 |