]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (asus-ec-sensors) add ROG MAXIMUS X HERO
authorReis Holmes <reisholmes@pm.me>
Sat, 13 Dec 2025 20:03:42 +0000 (21:03 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 31 Jan 2026 15:38:30 +0000 (07:38 -0800)
Add support for ROG MAXIMUS X HERO. The support is incomplete because
the second EC, which provides part of the data, is inaccessible via the
kernel ec module.

Signed-off-by: Reis Holmes <reisholmes@pm.me>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20251213200531.259435-3-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/asus_ec_sensors.rst
drivers/hwmon/asus-ec-sensors.c

index 232885f24430d0fdbac74bb59f1a32c1a10b5d54..fb32acfec0f5f8f1ca7240575ea4ff989c7d267a 100644 (file)
@@ -23,6 +23,7 @@ Supported boards:
  * ROG CROSSHAIR VIII IMPACT
  * ROG CROSSHAIR X670E HERO
  * ROG CROSSHAIR X670E GENE
+ * ROG MAXIMUS X HERO
  * ROG MAXIMUS XI HERO
  * ROG MAXIMUS XI HERO (WI-FI)
  * ROG MAXIMUS Z690 FORMULA
index 61b18b88ee8ffca5485996a02c909db59849d5e0..ef4561ae38f97dfe124786c67e158ddfe0c21bb6 100644 (file)
@@ -474,6 +474,14 @@ static const struct ec_board_info board_info_maximus_vi_hero = {
        .family = family_intel_300_series,
 };
 
+static const struct ec_board_info board_info_maximus_x_hero = {
+       .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+               SENSOR_TEMP_T_SENSOR |
+               SENSOR_TEMP_VRM | SENSOR_FAN_CPU_OPT,
+       .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_LPCB_SIO1_MUT0,
+       .family = family_intel_300_series,
+};
+
 static const struct ec_board_info board_info_maximus_xi_hero = {
        .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
                SENSOR_TEMP_T_SENSOR |
@@ -815,6 +823,8 @@ static const struct dmi_system_id dmi_table[] = {
                                        &board_info_maximus_xi_hero),
        DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO (WI-FI)",
                                        &board_info_maximus_xi_hero),
+       DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS X HERO",
+                                       &board_info_maximus_x_hero),
        DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS Z690 FORMULA",
                                        &board_info_maximus_z690_formula),
        DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B550-E GAMING",