diff mbox series

hwmon: (asus-ec-sensors) add ProArt X570 Creator WIFI board

Message ID 20220422111737.1352610-1-eugene.shalygin@gmail.com (mailing list archive)
State Accepted
Headers show
Series hwmon: (asus-ec-sensors) add ProArt X570 Creator WIFI board | expand

Commit Message

Eugene Shalygin April 22, 2022, 11:17 a.m. UTC
Basing on information and testing provided by users [1] add support for
another board, ASUS ProArt X570 Creator WiFi.

[1] https://github.com/zeule/asus-ec-sensors/issues/17

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

Comments

Guenter Roeck April 23, 2022, 7:17 p.m. UTC | #1
On Fri, Apr 22, 2022 at 01:17:37PM +0200, Eugene Shalygin wrote:
> Basing on information and testing provided by users [1] add support for
> another board, ASUS ProArt X570 Creator WiFi.
> 
> [1] https://github.com/zeule/asus-ec-sensors/issues/17
> 
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Applied.

Thanks,
Guenter
Eugene Shalygin April 23, 2022, 7:23 p.m. UTC | #2
Thank you!

On Sat, 23 Apr 2022 at 21:17, Guenter Roeck <linux@roeck-us.net> wrote:
>
> On Fri, Apr 22, 2022 at 01:17:37PM +0200, Eugene Shalygin wrote:
> > Basing on information and testing provided by users [1] add support for
> > another board, ASUS ProArt X570 Creator WiFi.
> >
> > [1] https://github.com/zeule/asus-ec-sensors/issues/17
> >
> > Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
>
> Applied.
>
> Thanks,
> Guenter
diff mbox series

Patch

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index e7e8f1640f45..b3469851ab9a 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -6,6 +6,7 @@  Kernel driver asus_ec_sensors
 Supported boards:
  * PRIME X570-PRO,
  * Pro WS X570-ACE,
+ * ProArt X570-CREATOR WIFI
  * ROG CROSSHAIR VIII DARK HERO,
  * ROG CROSSHAIR VIII HERO (WI-FI)
  * ROG CROSSHAIR VIII FORMULA,
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 3ad8eadea68f..e3d794fb0534 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -176,6 +176,11 @@  static const struct dmi_system_id asus_ec_dmi_table[] __initconst = {
 	DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "PRIME X570-PRO",
 		SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
 		SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET),
+	DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE,
+			      "ProArt X570-CREATOR WIFI",
+		SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
+		SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT |
+		SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE),
 	DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "Pro WS X570-ACE",
 		SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
 		SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |