asus-ec-sensors: add 3 board models
Subsystems (3)
Eugene Shalygin
maintainercover asus-ec-sensors: add 3 board models
This submits 3 Github contributions, each adds a new board model to the driver.
Dylan Tackoor (1):
hwmon: (asus-ec-sensors) add B650E-I
Lucas Yunkyu Lee (1):
hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI
Nicholas Flintham (1):
hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II
Documentation/hwmon/asus_ec_sensors.rst | 3 ++ drivers/hwmon/asus-ec-sensors.c | 43 ++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 1 deletion(-)
Signature · 1 line
2.50.1
Eugene Shalygin
maintainerPATCH 1/3 hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI
From: Lucas Yunkyu Lee <[email protected]>
Adds support for the STRIX B850-I GAMING WIFI
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 9 +++++++++ 2 files changed, 10 insertions(+)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -25,6 +25,7 @@ Supported boards: * ROG MAXIMUS Z690 FORMULA * ROG STRIX B550-E GAMING * ROG STRIX B550-I GAMING + * ROG STRIX B850-I GAMING WIFI * ROG STRIX X570-E GAMING * ROG STRIX X570-E GAMING WIFI II * ROG STRIX X570-F GAMING
drivers/hwmon/asus-ec-sensors.c +9 -0
@@ -495,6 +495,13 @@ static const struct ec_board_info board_info_strix_b550_i_gaming = { .family = family_amd_500_series, }; +static const struct ec_board_info board_info_strix_b850_i_gaming_wifi = { + .sensors =SENSOR_TEMP_CPU |SENSOR_TEMP_CPU_PACKAGE | +SENSOR_TEMP_MB |SENSOR_TEMP_VRM , + .mutex_path =ACPI_GLOBAL_LOCK_PSEUDO_PATH , + .family = family_amd_800_series, +}; +static const struct ec_board_info board_info_strix_x570_e_gaming = { .sensors =SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
@@ -628,6 +635,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_b550_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B550-I GAMING" , &board_info_strix_b550_i_gaming), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B850-I GAMING WIFI" , + &board_info_strix_b850_i_gaming_wifi),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX X570-E GAMING" , &board_info_strix_x570_e_gaming), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING WIFI II",
Signature · 1 line
2.50.1
Re: [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI
Quoted 6 lines · Eugene Shalygin
From: Lucas Yunkyu Lee <[email protected]>
Adds support for the STRIX B850-I GAMING WIFI
Signed-off-by Lucas Yunkyu Lee <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Applied.
Guenter
Eugene Shalygin
maintainerPATCH 2/3 hwmon: (asus-ec-sensors) add B650E-I
In reply to Eugene ShalyginFrom: Dylan Tackoor <[email protected]>
Adds support for the B650E-I board
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 9 +++++++++ 2 files changed, 10 insertions(+)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -25,6 +25,7 @@ Supported boards: * ROG MAXIMUS Z690 FORMULA * ROG STRIX B550-E GAMING * ROG STRIX B550-I GAMING + * ROG STRIX B650E-I GAMING WIFI * ROG STRIX B850-I GAMING WIFI * ROG STRIX X570-E GAMING * ROG STRIX X570-E GAMING WIFI II
drivers/hwmon/asus-ec-sensors.c +9 -0
@@ -495,6 +495,13 @@ static const struct ec_board_info board_info_strix_b550_i_gaming = { .family = family_amd_500_series, }; +static const struct ec_board_info board_info_strix_b650e_i_gaming = { + .sensors =SENSOR_TEMP_VRM |SENSOR_TEMP_T_SENSOR | +SENSOR_SET_TEMP_CHIPSET_CPU_MB |SENSOR_IN_CPU_CORE , + .mutex_path =ACPI_GLOBAL_LOCK_PSEUDO_PATH , + .family = family_amd_600_series, +}; +static const struct ec_board_info board_info_strix_b850_i_gaming_wifi = { .sensors =SENSOR_TEMP_CPU |SENSOR_TEMP_CPU_PACKAGE |SENSOR_TEMP_MB |SENSOR_TEMP_VRM ,
@@ -635,6 +642,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_b550_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B550-I GAMING" , &board_info_strix_b550_i_gaming), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B650E-I GAMING WIFI" , + &board_info_strix_b650e_i_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B850-I GAMING WIFI" , &board_info_strix_b850_i_gaming_wifi), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING",
Signature · 1 line
2.50.1
Re: [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I
Quoted 3 lines · Eugene Shalygin
From: Dylan Tackoor <[email protected]>
Adds support for the B650E-I board
For the future: s/Adds/Add/
I fixed that up, just a note.
Quoted 3 lines
Signed-off-by Dylan Tackoor <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Applied.
Thanks,
Guenter
Eugene Shalygin
maintainerPATCH 3/3 hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II
In reply to Eugene ShalyginFrom: Nicholas Flintham <[email protected]>
Adds support for the ROG STRIX Z790E GAMING WIFI II board
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 25 ++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -34,6 +34,7 @@ Supported boards: * ROG STRIX Z390-F GAMING * ROG STRIX Z490-F GAMING * ROG STRIX Z690-A GAMING WIFI D4 + * ROG STRIX Z790-E GAMING WIFI II * ROG ZENITH II EXTREME * ROG ZENITH II EXTREME ALPHA * TUF GAMING X670E PLUS
drivers/hwmon/asus-ec-sensors.c +24 -1
@@ -56,6 +56,8 @@ static char *mutex_path_override;#define ASUS_HW_ACCESS_MUTEX_RMTW_ASMX "\\RMTW.ASMX" +#define ASUS_HW_ACCESS_MUTEX_SB_PC00_LPCB_SIO1_MUT0 "\\_SB.PC00.LPCB.SIO1.MUT0" +#define ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0 "\\_SB_.PCI0.SBRG.SIO1.MUT0"#define MAX_IDENTICAL_BOARD_VARIATIONS 3
@@ -168,7 +170,8 @@ enum board_family { family_amd_800_series, family_intel_300_series, family_intel_400_series, - family_intel_600_series + family_intel_600_series, + family_intel_700_series };/*
@@ -323,6 +326,14 @@ static const struct ec_sensor_info sensors_family_intel_600[] = { EC_SENSOR("Water_Block_In", hwmon_temp, 1, 0x01, 0x02), }; +static const struct ec_sensor_info sensors_family_intel_700[] = { + [ec_sensor_temp_t_sensor] = +EC_SENSOR ("T_Sensor" , hwmon_temp,1 ,0x01 ,0x09 ), + [ec_sensor_temp_vrm] =EC_SENSOR ("VRM" , hwmon_temp,1 ,0x00 ,0x33 ), + [ec_sensor_fan_cpu_opt] = +EC_SENSOR ("CPU_Opt" , hwmon_fan,2 ,0x00 ,0xb0 ), +}; +/* Shortcuts for common combinations */ #define SENSOR_SET_TEMP_CHIPSET_CPU_MB \ (SENSOR_TEMP_CHIPSET | SENSOR_TEMP_CPU | SENSOR_TEMP_MB)
@@ -568,6 +579,13 @@ static const struct ec_board_info board_info_strix_z690_a_gaming_wifi_d4 = { .family = family_intel_600_series, }; +static const struct ec_board_info board_info_strix_z790_e_gaming_wifi_ii = { + .sensors =SENSOR_TEMP_T_SENSOR |SENSOR_TEMP_VRM | +SENSOR_FAN_CPU_OPT , + .mutex_path =ASUS_HW_ACCESS_MUTEX_SB_PC00_LPCB_SIO1_MUT0 , + .family = family_intel_700_series, +}; +static const struct ec_board_info board_info_zenith_ii_extreme = { .sensors =SENSOR_SET_TEMP_CHIPSET_CPU_MB |SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
@@ -660,6 +678,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_z490_f_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX Z690-A GAMING WIFI D4" , &board_info_strix_z690_a_gaming_wifi_d4), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX Z790-E GAMING WIFI II" , + &board_info_strix_z790_e_gaming_wifi_ii),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG ZENITH II EXTREME" , &board_info_zenith_ii_extreme), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME ALPHA",
@@ -1142,6 +1162,9 @@ static int asus_ec_probe(struct platform_device *pdev)case family_intel_600_series: ec_data->sensors_info = sensors_family_intel_600;break ; +case family_intel_700_series: + ec_data->sensors_info = sensors_family_intel_700; +break ;default :dev_err (dev,"Unknown board family: %d" , ec_data->board_info->family);
Signature · 1 line
2.50.1
Re: [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II
Quoted 6 lines · Eugene Shalygin
From: Nicholas Flintham <[email protected]>
Adds support for the ROG STRIX Z790E GAMING WIFI II board
Signed-off-by Nicholas Flintham <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Applied.
Thanks,
Guenter