Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hwmon: (asus-ec-sensors) add ProArt X870E-CREATOR WIFI

Adds support for the ProArt X870E-CREATOR WIFI board.

Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20250607102626.9051-1-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Eugene Shalygin and committed by
Guenter Roeck
3e538b52 e923acf1

+29
+1
Documentation/hwmon/asus_ec_sensors.rst
··· 11 11 * Pro WS X570-ACE 12 12 * ProArt X570-CREATOR WIFI 13 13 * ProArt X670E-CREATOR WIFI 14 + * ProArt X870E-CREATOR WIFI 14 15 * ProArt B550-CREATOR 15 16 * ROG CROSSHAIR VIII DARK HERO 16 17 * ROG CROSSHAIR VIII HERO (WI-FI)
+28
drivers/hwmon/asus-ec-sensors.c
··· 165 165 family_amd_400_series, 166 166 family_amd_500_series, 167 167 family_amd_600_series, 168 + family_amd_800_series, 168 169 family_intel_300_series, 169 170 family_intel_400_series, 170 171 family_intel_600_series ··· 259 258 EC_SENSOR("Water_In", hwmon_temp, 1, 0x01, 0x00), 260 259 [ec_sensor_temp_water_out] = 261 260 EC_SENSOR("Water_Out", hwmon_temp, 1, 0x01, 0x01), 261 + }; 262 + 263 + static const struct ec_sensor_info sensors_family_amd_800[] = { 264 + [ec_sensor_temp_cpu] = EC_SENSOR("CPU", hwmon_temp, 1, 0x00, 0x30), 265 + [ec_sensor_temp_cpu_package] = 266 + EC_SENSOR("CPU Package", hwmon_temp, 1, 0x00, 0x31), 267 + [ec_sensor_temp_mb] = 268 + EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32), 269 + [ec_sensor_temp_vrm] = 270 + EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x33), 271 + [ec_sensor_temp_t_sensor] = 272 + EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x36), 273 + [ec_sensor_fan_cpu_opt] = 274 + EC_SENSOR("CPU_Opt", hwmon_fan, 2, 0x00, 0xb0), 262 275 }; 263 276 264 277 static const struct ec_sensor_info sensors_family_intel_300[] = { ··· 390 375 SENSOR_TEMP_T_SENSOR, 391 376 .mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH, 392 377 .family = family_amd_600_series, 378 + }; 379 + 380 + static const struct ec_board_info board_info_pro_art_x870E_creator_wifi = { 381 + .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE | 382 + SENSOR_TEMP_MB | SENSOR_TEMP_VRM | 383 + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT, 384 + .mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH, 385 + .family = family_amd_800_series, 393 386 }; 394 387 395 388 static const struct ec_board_info board_info_pro_art_b550_creator = { ··· 598 575 &board_info_pro_art_x570_creator_wifi), 599 576 DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X670E-CREATOR WIFI", 600 577 &board_info_pro_art_x670E_creator_wifi), 578 + DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X870E-CREATOR WIFI", 579 + &board_info_pro_art_x870E_creator_wifi), 601 580 DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt B550-CREATOR", 602 581 &board_info_pro_art_b550_creator), 603 582 DMI_EXACT_MATCH_ASUS_BOARD_NAME("Pro WS X570-ACE", ··· 1111 1086 break; 1112 1087 case family_amd_600_series: 1113 1088 ec_data->sensors_info = sensors_family_amd_600; 1089 + break; 1090 + case family_amd_800_series: 1091 + ec_data->sensors_info = sensors_family_amd_800; 1114 1092 break; 1115 1093 case family_intel_300_series: 1116 1094 ec_data->sensors_info = sensors_family_intel_300;