Skip to content

Commit e044475

Browse files
Headcrabedgroeck
authored andcommitted
hwmon: (asus-ec-sensors) add PRIME X670E-PRO WIFI
Add support for PRIME X670E-PRO WIFI. Signed-off-by: Shengyu Qu <wiagn233@outlook.com> Link: https://lore.kernel.org/r/TYCPR01MB84377BEADF97E8E7554EF0CF98C32@TYCPR01MB8437.jpnprd01.prod.outlook.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 9fd33bb commit e044475

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Documentation/hwmon/asus_ec_sensors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Kernel driver asus_ec_sensors
66
Supported boards:
77
* PRIME X470-PRO
88
* PRIME X570-PRO
9+
* PRIME X670E-PRO WIFI
910
* Pro WS X570-ACE
1011
* ProArt X570-CREATOR WIFI
1112
* ProArt X670E-CREATOR WIFI

drivers/hwmon/asus-ec-sensors.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,14 @@ static const struct ec_board_info board_info_prime_x570_pro = {
316316
.family = family_amd_500_series,
317317
};
318318

319+
static const struct ec_board_info board_info_prime_x670e_pro_wifi = {
320+
.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
321+
SENSOR_TEMP_MB | SENSOR_TEMP_VRM |
322+
SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT,
323+
.mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH,
324+
.family = family_amd_600_series,
325+
};
326+
319327
static const struct ec_board_info board_info_pro_art_x570_creator_wifi = {
320328
.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
321329
SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT |
@@ -503,6 +511,8 @@ static const struct dmi_system_id dmi_table[] = {
503511
&board_info_prime_x470_pro),
504512
DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME X570-PRO",
505513
&board_info_prime_x570_pro),
514+
DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME X670E-PRO WIFI",
515+
&board_info_prime_x670e_pro_wifi),
506516
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X570-CREATOR WIFI",
507517
&board_info_pro_art_x570_creator_wifi),
508518
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X670E-CREATOR WIFI",

0 commit comments

Comments
 (0)