Skip to content

Commit e918fb1

Browse files
Matthew Architectzeule
authored andcommitted
Add VRM temperature sensors for Pro WS WRX90E-SAGE SE
Add VRM_E (0x33) and VRM_W (0x34) temperature sensor definitions to sensors_family_amd_wrx_90 and enable them in the board config. Tested on Pro WS WRX90E-SAGE SE with kernel 6.12. Signed-off-by: Jai Kith <kithfx@gmail.com>
1 parent 0e73cd1 commit e918fb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

asus-ec-sensors.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ static const struct ec_sensor_info sensors_family_amd_trx_50[] = {
322322
static const struct ec_sensor_info sensors_family_amd_wrx_90[] = {
323323
[ec_sensor_temp_cpu_package] =
324324
EC_SENSOR("CPU Package", hwmon_temp, 1, 0x00, 0x31),
325+
[ec_sensor_temp_vrme] = EC_SENSOR("VRM_E", hwmon_temp, 1, 0x00, 0x33),
326+
[ec_sensor_temp_vrmw] = EC_SENSOR("VRM_W", hwmon_temp, 1, 0x00, 0x34),
325327
[ec_sensor_fan_cpu_opt] =
326328
EC_SENSOR("CPU_Opt", hwmon_fan, 2, 0x00, 0xb0),
327329
[ec_sensor_fan_vrmw_hs] =
@@ -579,7 +581,8 @@ static const struct ec_board_info board_info_pro_ws_wrx90e_sage_se = {
579581
/* Board also has a nct6798 with 7 more fans and temperatures */
580582
.sensors = SENSOR_TEMP_CPU_PACKAGE | SENSOR_TEMP_T_SENSOR |
581583
SENSOR_FAN_CPU_OPT | SENSOR_FAN_USB4 | SENSOR_FAN_M2 |
582-
SENSOR_FAN_VRME_HS | SENSOR_FAN_VRMW_HS,
584+
SENSOR_FAN_VRME_HS | SENSOR_FAN_VRMW_HS |
585+
SENSOR_TEMP_VRME | SENSOR_TEMP_VRMW,
583586
.mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
584587
.family = family_amd_wrx_90,
585588
};

0 commit comments

Comments
 (0)