diff options
author | Wei Shuyu <wsy@dogben.com> | 2022-03-26 18:24:05 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-17 05:52:59 -0700 |
commit | ab9ac6df22527b22fcceb6a16f5035ee778c9688 (patch) | |
tree | 46cd1a75bcf1f34a9eedaf9dc0b3c4da66241ee1 /drivers/hwmon/asus-ec-sensors.c | |
parent | 032c1623c9de51705d0a1c577ffdae746967e88d (diff) | |
download | linux-ab9ac6df22527b22fcceb6a16f5035ee778c9688.tar.gz linux-ab9ac6df22527b22fcceb6a16f5035ee778c9688.tar.bz2 linux-ab9ac6df22527b22fcceb6a16f5035ee778c9688.zip |
hwmon: (asus-ec-sensors) Add T_Sensor for ASUS WS X570-ACE
WS X570-ACE has a T_Sensor header on board according to manual[1].
I'm using a 10kΩ B=3435K thermsistor attached to the header of WS X570-ACE.
EC byte at 0x3d matches readings from BIOS sensor page and environment temperature.
[1]https://www.asus.com/Motherboards-Components/Motherboards/All-series/Pro-WS-X570-ACE/HelpDesk_Manual/
Signed-off-by: Wei Shuyu <wsy@dogben.com>
Link: https://lore.kernel.org/r/E1nY43Q-000rAm-9a@dogben.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/asus-ec-sensors.c')
-rw-r--r-- | drivers/hwmon/asus-ec-sensors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c index b5cf0136360c..3ad8eadea68f 100644 --- a/drivers/hwmon/asus-ec-sensors.c +++ b/drivers/hwmon/asus-ec-sensors.c @@ -178,7 +178,8 @@ static const struct dmi_system_id asus_ec_dmi_table[] __initconst = { SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET), DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "Pro WS X570-ACE", SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM | - SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE), + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET | + SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE), DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG CROSSHAIR VIII DARK HERO", SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR | |