Skip to content

Commit 3a31e09

Browse files
zeulegroeck
authored andcommitted
hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING
The definition comes from a LHM PR [1], and the mutex path from the ACPI dump, kindly provided by the PR author [2] [1] LibreHardwareMonitor/LibreHardwareMonitor#1031 [2] zeule/asus-ec-sensors#36 Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com> Link: https://lore.kernel.org/r/20230405224339.358675-3-eugene.shalygin@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent c7ba3e2 commit 3a31e09

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
@@ -22,6 +22,7 @@ Supported boards:
2222
* ROG STRIX X570-E GAMING WIFI II
2323
* ROG STRIX X570-F GAMING
2424
* ROG STRIX X570-I GAMING
25+
* ROG STRIX Z390-F GAMING
2526
* ROG STRIX Z690-A GAMING WIFI D4
2627
* ROG ZENITH II EXTREME
2728
* ROG ZENITH II EXTREME ALPHA

drivers/hwmon/asus-ec-sensors.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,14 @@ static const struct ec_board_info board_info_strix_x570_i_gaming = {
408408
.family = family_amd_500_series,
409409
};
410410

411+
static const struct ec_board_info board_info_strix_z390_f_gaming = {
412+
.sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
413+
SENSOR_TEMP_T_SENSOR |
414+
SENSOR_FAN_CPU_OPT,
415+
.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
416+
.family = family_intel_300_series,
417+
};
418+
411419
static const struct ec_board_info board_info_strix_z690_a_gaming_wifi_d4 = {
412420
.sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
413421
.mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
@@ -473,6 +481,8 @@ static const struct dmi_system_id dmi_table[] = {
473481
&board_info_strix_x570_f_gaming),
474482
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
475483
&board_info_strix_x570_i_gaming),
484+
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z390-F GAMING",
485+
&board_info_strix_z390_f_gaming),
476486
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z690-A GAMING WIFI D4",
477487
&board_info_strix_z690_a_gaming_wifi_d4),
478488
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME",

0 commit comments

Comments
 (0)