Skip to contentSkip to conversation

hwmon: (asus-ec-sensors) add definitions for ROG ZENITH II EXTREME ALPHA

PATCH In review Matthew Dawson 2 participants 2 messages Nov 18, 2022 – Nov 20, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hwmon: (asus-ec-sensors) add definitions for ROG ZENITH II EXTREME ALPHA

Add support for the Zenith II Extreme Alpha. It is basically the same board as the Zenith II Extreme, and has a similar sensor suite. The DSDT is basically the same except for some address, so use the same board information as the non-Alpha board.

---
v2: Add missing Documentation change

 Documentation/hwmon/asus_ec_sensors.rst | 1 +
 drivers/hwmon/asus-ec-sensors.c         | 2 ++
 2 files changed, 3 insertions(+)
Documentation/hwmon/ renamed from Documentation/hwmon/asus_ec_sensors.rst +0 -0

asus_ec_sensors.rst
index 02f4ad314a1e..a4039f2f9ca4 100644

Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -23,6 +23,7 @@ Supported boards:
  * ROG STRIX X570-I GAMING
  * ROG STRIX Z690-A GAMING WIFI D4
  * ROG ZENITH II EXTREME
+ * ROG ZENITH II EXTREME ALPHA
 
 Authors:
     - Eugene Shalygin <[email protected]>
drivers/hwmon/asus-ec-sensors.c +2 -0
index 81e688975c6a..ac0459be04c7 100644
@@ -466,6 +466,8 @@ static const struct dmi_system_id dmi_table[] = {
                                        &board_info_strix_z690_a_gaming_wifi_d4),
        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",
+                                       &board_info_zenith_ii_extreme),
        {},
 };
 
Signature · 1 line
2.37.4
maintainer
#1 lore raw
Quoted 16 lines · Matthew Dawson

Add support for the Zenith II Extreme Alpha. It is basically the same board as the Zenith II Extreme, and has a similar sensor suite. The DSDT is basically the same except for some address, so use the same board information as the non-Alpha board.

---
v2: Add missing Documentation change

 Documentation/hwmon/asus_ec_sensors.rst | 1 +
 drivers/hwmon/asus-ec-sensors.c         | 2 ++
 2 files changed, 3 insertions(+)
Documentation/hwmon/ renamed from Documentation/hwmon/asus_ec_sensors.rst +0 -0
Quoted 1 line

asus_ec_sensors.rst

Your patch is corrupted. The line above is split. If I try to fix that, I get

error: patch failed: drivers/hwmon/asus-ec-sensors.c:466
error: drivers/hwmon/asus-ec-sensors.c: patch does not apply
error: Did you hand edit your patch?

It looks like tabs were raplaced with spaces. Please fix and resubmit.

Thanks,
Guenter

Quoted 24 lines

index 02f4ad314a1e..a4039f2f9ca4 100644

Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -23,6 +23,7 @@ Supported boards:
  * ROG STRIX X570-I GAMING
  * ROG STRIX Z690-A GAMING WIFI D4
  * ROG ZENITH II EXTREME
+ * ROG ZENITH II EXTREME ALPHA
 
 Authors:
     - Eugene Shalygin <[email protected]>
drivers/hwmon/asus-ec-sensors.c +2 -0
index 81e688975c6a..ac0459be04c7 100644
@@ -466,6 +466,8 @@ static const struct dmi_system_id dmi_table[] = {
                                        &board_info_strix_z690_a_gaming_wifi_d4),
        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",
+                                       &board_info_zenith_ii_extreme),
        {},
 };