All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: add three more board models
@ 2026-11-15 14:25 Eugene Shalygin
  2026-11-15 14:25 ` [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A Eugene Shalygin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eugene Shalygin @ 2026-11-15 14:25 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Guenter Roeck, Jonathan Corbet, Shuah Khan, Randy Dunlap,
	linux-hwmon, linux-doc, linux-kernel

Add three boars, submitted by users via GitHub repo.

Eugene Shalygin (1):
  hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO

John Roden (1):
  hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI

Kostiantyn Korn (1):
  hwmon: (asus-ec-sensors) Add support for PRIME Z590-A

 Documentation/hwmon/asus_ec_sensors.rst |  3 +++
 drivers/hwmon/asus-ec-sensors.c         | 34 +++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A
  2026-11-15 14:25 [PATCH 0/3] hwmon: add three more board models Eugene Shalygin
@ 2026-11-15 14:25 ` Eugene Shalygin
  2026-11-15 14:42   ` sashiko-bot
  2026-11-15 14:25 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO Eugene Shalygin
  2026-11-15 14:25 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI Eugene Shalygin
  2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2026-11-15 14:25 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Kostiantyn Korn, Guenter Roeck, Jonathan Corbet, Shuah Khan,
	Randy Dunlap, linux-hwmon, linux-doc, linux-kernel

From: Kostiantyn Korn <korn@korn.im>

Add support for the PRIME Z590-A board.

Signed-off-by: Kostiantyn Korn <korn@korn.im>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 6d1fa99acefc..b22bd5c8f491 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -10,6 +10,7 @@ Supported boards:
  * PRIME X570-PRO
  * PRIME X670E-PRO WIFI
  * PRIME Z270-A
+ * PRIME Z590-A
  * Pro WS TRX50-SAGE WIFI
  * Pro WS TRX50-SAGE WIFI A
  * Pro WS X570-ACE
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index e3d7c293b8a3..6c4565b0ce2f 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -234,6 +234,7 @@ enum board_family {
 	family_intel_200_series,
 	family_intel_300_series,
 	family_intel_400_series,
+	family_intel_500_series,
 	family_intel_600_series,
 	family_intel_700_series
 };
@@ -433,6 +434,15 @@ static const struct ec_sensor_info sensors_family_intel_400[] = {
 	[ec_sensor_fan_vrm_hs] = EC_SENSOR("VRM HS", hwmon_fan, 2, 0x00, 0xb2),
 };
 
+static const struct ec_sensor_info sensors_family_intel_500[] = {
+	[ec_sensor_temp_mb] =
+		EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x3c),
+	[ec_sensor_temp_t_sensor] =
+		EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x3d),
+	[ec_sensor_temp_vrm] = EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x3e),
+	[ec_sensor_curr_cpu] = EC_SENSOR("CPU_Current", hwmon_curr, 1, 0x00, 0xf4),
+};
+
 static const struct ec_sensor_info sensors_family_intel_600[] = {
 	[ec_sensor_temp_t_sensor] =
 		EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x3d),
@@ -636,6 +646,13 @@ static const struct ec_board_info board_info_prime_z270_a = {
 	.family = family_intel_200_series,
 };
 
+static const struct ec_board_info board_info_prime_z590_a = {
+	.sensors = SENSOR_TEMP_MB | SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+		SENSOR_CURR_CPU,
+	.mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
+	.family = family_intel_500_series,
+};
+
 static const struct ec_board_info board_info_pro_art_b550_creator = {
 	.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
 		SENSOR_TEMP_T_SENSOR |
@@ -938,6 +955,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_prime_x670e_pro_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME Z270-A",
 					&board_info_prime_z270_a),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME Z590-A",
+					&board_info_prime_z590_a),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt B550-CREATOR",
 					&board_info_pro_art_b550_creator),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X570-CREATOR WIFI",
@@ -1586,6 +1605,9 @@ static int asus_ec_probe(struct platform_device *pdev)
 	case family_intel_400_series:
 		ec_data->sensors_info = sensors_family_intel_400;
 		break;
+	case family_intel_500_series:
+		ec_data->sensors_info = sensors_family_intel_500;
+		break;
 	case family_intel_600_series:
 		ec_data->sensors_info = sensors_family_intel_600;
 		break;
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO
  2026-11-15 14:25 [PATCH 0/3] hwmon: add three more board models Eugene Shalygin
  2026-11-15 14:25 ` [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A Eugene Shalygin
@ 2026-11-15 14:25 ` Eugene Shalygin
  2026-11-15 14:41   ` sashiko-bot
  2026-11-15 14:25 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI Eugene Shalygin
  2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2026-11-15 14:25 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Guenter Roeck, Jonathan Corbet, Shuah Khan, Randy Dunlap,
	linux-hwmon, linux-doc, linux-kernel

Add ROG CROSSHAIR X870E DARK HERO board, which provides the same sensors
as the non-DARK version.

Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst | 1 +
 drivers/hwmon/asus-ec-sensors.c         | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index b22bd5c8f491..b3a061bd10db 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -28,6 +28,7 @@ Supported boards:
  * ROG CROSSHAIR X670E EXTREME
  * ROG CROSSHAIR X670E HERO
  * ROG CROSSHAIR X670E GENE
+ * ROG CROSSHAIR X870E DARK HERO
  * ROG CROSSHAIR X870E HERO
  * ROG MAXIMUS X HERO
  * ROG MAXIMUS XI HERO
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 6c4565b0ce2f..d86f3614d557 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -991,6 +991,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_crosshair_x670e_gene),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR X670E HERO",
 					&board_info_crosshair_x670e_hero),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR X870E DARK HERO",
+					&board_info_crosshair_x870e_hero),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR X870E HERO",
 					&board_info_crosshair_x870e_hero),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO",
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI
  2026-11-15 14:25 [PATCH 0/3] hwmon: add three more board models Eugene Shalygin
  2026-11-15 14:25 ` [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A Eugene Shalygin
  2026-11-15 14:25 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO Eugene Shalygin
@ 2026-11-15 14:25 ` Eugene Shalygin
  2026-11-15 14:41   ` sashiko-bot
  2 siblings, 1 reply; 7+ messages in thread
From: Eugene Shalygin @ 2026-11-15 14:25 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: John Roden, Guenter Roeck, Jonathan Corbet, Shuah Khan,
	Randy Dunlap, linux-hwmon, linux-doc, linux-kernel

From: John Roden <jonathan.roden@gmail.com>

Add support for the ROG STRIX X670E-F GAMING WIFI model.

Signed-off-by: John Roden <jonathan.roden@gmail.com>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index b3a061bd10db..fb7704c46d8b 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -50,6 +50,7 @@ Supported boards:
  * ROG STRIX X570-I GAMING
  * ROG STRIX X670E-A GAMING WIFI
  * ROG STRIX X670E-E GAMING WIFI
+ * ROG STRIX X670E-F GAMING WIFI
  * ROG STRIX X670E-I GAMING WIFI
  * ROG STRIX X870-F GAMING WIFI
  * ROG STRIX X870-I GAMING WIFI
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index d86f3614d557..d0c01b825377 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -822,6 +822,14 @@ static const struct ec_board_info board_info_strix_x670e_e_gaming_wifi = {
 	.family = family_amd_600_series,
 };
 
+static const struct ec_board_info board_info_strix_x670e_f_gaming_wifi = {
+	.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
+		SENSOR_TEMP_MB | SENSOR_TEMP_VRM |
+		SENSOR_TEMP_T_SENSOR,
+	.mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
+	.family = family_amd_600_series,
+};
+
 static const struct ec_board_info board_info_strix_x670e_i_gaming_wifi = {
 	.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
 			SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
@@ -1035,6 +1043,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_strix_x670e_e_gaming_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-E GAMING WIFI",
 					&board_info_strix_x670e_e_gaming_wifi),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-F GAMING WIFI",
+					&board_info_strix_x670e_f_gaming_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-I GAMING WIFI",
 					&board_info_strix_x670e_i_gaming_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X870-F GAMING WIFI",
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO
  2026-11-15 14:25 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO Eugene Shalygin
@ 2026-11-15 14:41   ` sashiko-bot
  0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-11-15 14:41 UTC (permalink / raw)
  To: Eugene Shalygin; +Cc: linux-hwmon

> Add ROG CROSSHAIR X870E DARK HERO board, which provides the same sensors
> as the non-DARK version.
> 
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261115143708.492883-1-eugene.shalygin@gmail.com?part=2


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI
  2026-11-15 14:25 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI Eugene Shalygin
@ 2026-11-15 14:41   ` sashiko-bot
  0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-11-15 14:41 UTC (permalink / raw)
  To: Eugene Shalygin; +Cc: linux-hwmon

> From: John Roden <jonathan.roden@gmail.com>
> 
> Add support for the ROG STRIX X670E-F GAMING WIFI model.
> 
> Signed-off-by: John Roden <jonathan.roden@gmail.com>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261115143708.492883-1-eugene.shalygin@gmail.com?part=3


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A
  2026-11-15 14:25 ` [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A Eugene Shalygin
@ 2026-11-15 14:42   ` sashiko-bot
  0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-11-15 14:42 UTC (permalink / raw)
  To: Eugene Shalygin; +Cc: linux-hwmon

> From: Kostiantyn Korn <korn@korn.im>
> 
> Add support for the PRIME Z590-A board.
> 
> Signed-off-by: Kostiantyn Korn <korn@korn.im>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261115143708.492883-1-eugene.shalygin@gmail.com?part=1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-15 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 14:25 [PATCH 0/3] hwmon: add three more board models Eugene Shalygin
2026-11-15 14:25 ` [PATCH 1/3] hwmon: (asus-ec-sensors) Add support for PRIME Z590-A Eugene Shalygin
2026-11-15 14:42   ` sashiko-bot
2026-11-15 14:25 ` [PATCH 2/3] hwmon: (asus-ec-sensors) add ROG CROSSHAIR X870E DARK HERO Eugene Shalygin
2026-11-15 14:41   ` sashiko-bot
2026-11-15 14:25 ` [PATCH 3/3] hwmon: (asus-ec-sensors) add ROG STRIX X670E-F GAMING WIFI Eugene Shalygin
2026-11-15 14:41   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.