summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/asus-ec-sensors.c
diff options
context:
space:
mode:
authorEugene Shalygin <eugene.shalygin@gmail.com>2022-07-10 10:55:38 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-07-13 17:39:42 +0200
commit1c4e4f4a0e8d9ebe8be1c838fec4fb7053a989d9 (patch)
tree33a1854d5e8f693bf970540d8675d82dc26f904b /drivers/hwmon/asus-ec-sensors.c
parenthwmon: (drivetemp) Add module alias (diff)
downloadlinux-1c4e4f4a0e8d9ebe8be1c838fec4fb7053a989d9.tar.xz
linux-1c4e4f4a0e8d9ebe8be1c838fec4fb7053a989d9.zip
hwmon: (asus-ec-sensors) add missing sensors for X570-I GAMING
VRM and chipset temperature for ROG STRIX X570-I GAMING were missing according to a user contribution to the LHM project [1]. [1] https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/767 Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com> Link: https://lore.kernel.org/r/20220710085539.1682869-1-eugene.shalygin@gmail.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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 625c2baa35ec..0749cd023a32 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -366,9 +366,10 @@ static const struct ec_board_info board_info[] = {
},
{
.board_names = {"ROG STRIX X570-I GAMING"},
- .sensors = SENSOR_TEMP_T_SENSOR | SENSOR_FAN_VRM_HS |
- SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
+ .sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
+ SENSOR_TEMP_T_SENSOR |
+ SENSOR_FAN_VRM_HS | SENSOR_FAN_CHIPSET |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
.family = family_amd_500_series,
},