* [PATCH 0/3] asus-ec-sensors: add 3 board models
@ 2025-07-28 20:49 Eugene Shalygin
2025-07-28 20:49 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI Eugene Shalygin
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Eugene Shalygin @ 2025-07-28 20:49 UTC (permalink / raw)
To: eugene.shalygin
Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon,
linux-doc, linux-kernel
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(-)
--
2.50.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI
2025-07-28 20:49 [PATCH 0/3] asus-ec-sensors: add 3 board models Eugene Shalygin
@ 2025-07-28 20:49 ` Eugene Shalygin
2025-07-31 23:44 ` Guenter Roeck
2025-07-28 20:49 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I Eugene Shalygin
2025-07-28 20:49 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II Eugene Shalygin
2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2025-07-28 20:49 UTC (permalink / raw)
To: eugene.shalygin
Cc: Lucas Yunkyu Lee, Jean Delvare, Guenter Roeck, Jonathan Corbet,
linux-hwmon, linux-doc, linux-kernel
From: Lucas Yunkyu Lee <lucas@yklcs.com>
Adds support for the STRIX B850-I GAMING WIFI
Signed-off-by: Lucas Yunkyu Lee <lucas@yklcs.com>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
Documentation/hwmon/asus_ec_sensors.rst | 1 +
drivers/hwmon/asus-ec-sensors.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index de2f2985f06f..558755f9fdd5 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -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
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 4ac554731e98..4d8b887b8a55 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -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",
--
2.50.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I
2025-07-28 20:49 [PATCH 0/3] asus-ec-sensors: add 3 board models Eugene Shalygin
2025-07-28 20:49 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI Eugene Shalygin
@ 2025-07-28 20:49 ` Eugene Shalygin
2025-07-31 23:45 ` Guenter Roeck
2025-07-28 20:49 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II Eugene Shalygin
2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2025-07-28 20:49 UTC (permalink / raw)
To: eugene.shalygin
Cc: Dylan Tackoor, Jean Delvare, Guenter Roeck, Jonathan Corbet,
linux-hwmon, linux-doc, linux-kernel
From: Dylan Tackoor <mynameisdylantackoor@gmail.com>
Adds support for the B650E-I board
Signed-off-by: Dylan Tackoor <mynameisdylantackoor@gmail.com>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
Documentation/hwmon/asus_ec_sensors.rst | 1 +
drivers/hwmon/asus-ec-sensors.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 558755f9fdd5..1e8274dba35f 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -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
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 4d8b887b8a55..0b19d148f65d 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -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",
--
2.50.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II
2025-07-28 20:49 [PATCH 0/3] asus-ec-sensors: add 3 board models Eugene Shalygin
2025-07-28 20:49 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI Eugene Shalygin
2025-07-28 20:49 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I Eugene Shalygin
@ 2025-07-28 20:49 ` Eugene Shalygin
2025-07-31 23:46 ` Guenter Roeck
2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2025-07-28 20:49 UTC (permalink / raw)
To: eugene.shalygin
Cc: Nicholas Flintham, Jean Delvare, Guenter Roeck, Jonathan Corbet,
linux-hwmon, linux-doc, linux-kernel
From: Nicholas Flintham <nick@flinny.org>
Adds support for the ROG STRIX Z790E GAMING WIFI II board
Signed-off-by: Nicholas Flintham <nick@flinny.org>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
Documentation/hwmon/asus_ec_sensors.rst | 1 +
drivers/hwmon/asus-ec-sensors.c | 25 ++++++++++++++++++++++++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 1e8274dba35f..da9a00111d1c 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -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
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 0b19d148f65d..b9543eda2522 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -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);
--
2.50.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI
2025-07-28 20:49 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI Eugene Shalygin
@ 2025-07-31 23:44 ` Guenter Roeck
0 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2025-07-31 23:44 UTC (permalink / raw)
To: Eugene Shalygin
Cc: Lucas Yunkyu Lee, Jean Delvare, Jonathan Corbet, linux-hwmon,
linux-doc, linux-kernel
On Mon, Jul 28, 2025 at 10:49:08PM +0200, Eugene Shalygin wrote:
> From: Lucas Yunkyu Lee <lucas@yklcs.com>
>
> Adds support for the STRIX B850-I GAMING WIFI
>
> Signed-off-by: Lucas Yunkyu Lee <lucas@yklcs.com>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Applied.
Guenter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I
2025-07-28 20:49 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I Eugene Shalygin
@ 2025-07-31 23:45 ` Guenter Roeck
0 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2025-07-31 23:45 UTC (permalink / raw)
To: Eugene Shalygin
Cc: Dylan Tackoor, Jean Delvare, Jonathan Corbet, linux-hwmon,
linux-doc, linux-kernel
On Mon, Jul 28, 2025 at 10:49:09PM +0200, Eugene Shalygin wrote:
> From: Dylan Tackoor <mynameisdylantackoor@gmail.com>
>
> Adds support for the B650E-I board
For the future: s/Adds/Add/
I fixed that up, just a note.
>
> Signed-off-by: Dylan Tackoor <mynameisdylantackoor@gmail.com>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II
2025-07-28 20:49 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II Eugene Shalygin
@ 2025-07-31 23:46 ` Guenter Roeck
0 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2025-07-31 23:46 UTC (permalink / raw)
To: Eugene Shalygin
Cc: Nicholas Flintham, Jean Delvare, Jonathan Corbet, linux-hwmon,
linux-doc, linux-kernel
On Mon, Jul 28, 2025 at 10:49:10PM +0200, Eugene Shalygin wrote:
> From: Nicholas Flintham <nick@flinny.org>
>
> Adds support for the ROG STRIX Z790E GAMING WIFI II board
>
> Signed-off-by: Nicholas Flintham <nick@flinny.org>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-07-31 23:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 20:49 [PATCH 0/3] asus-ec-sensors: add 3 board models Eugene Shalygin
2025-07-28 20:49 ` [PATCH 1/3] hwmon: (asus-ec-sensors) add STRIX B850-I GAMING WIFI Eugene Shalygin
2025-07-31 23:44 ` Guenter Roeck
2025-07-28 20:49 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add B650E-I Eugene Shalygin
2025-07-31 23:45 ` Guenter Roeck
2025-07-28 20:49 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX Z790E GAMING WIFI II Eugene Shalygin
2025-07-31 23:46 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).