[PATCH] hwmon: (nct6775) add ASUS Pro B550M-C/PRIME B550M-A

From: Denis Pauk
Date: Wed Jan 12 2022 - 16:50:30 EST


ASUS Pro B550M-C/PRIME B550M-A boards have got an nct6775 chip, but
by default there's no use of it because of resource conflict with WMI
method.

This commit adds "Pro B550M-C" and "PRIME B550M-A" to
the list of boards that can be monitored using ASUS WMI.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204807
Signed-off-by: Denis Pauk <pauk.denis@xxxxxxxxx>
Tested-by: Gregory P. Smith <greg@xxxxxxxxxx>
Tested-by: Joel Wirāmu <jwp@xxxxxxxxxx>
Tested-by: Jonathan Farrugia <jonfarr87@xxxxxxxxx>
---
drivers/hwmon/nct6775.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c
index fd3f91cb01c6..bb62236f395f 100644
--- a/drivers/hwmon/nct6775.c
+++ b/drivers/hwmon/nct6775.c
@@ -4985,9 +4985,12 @@ static struct platform_device *pdev[2];

static const char * const asus_wmi_boards[] = {
"ProArt X570-CREATOR WIFI",
+ "Pro B550M-C",
"Pro WS X570-ACE",
"PRIME B360-PLUS",
"PRIME B460-PLUS",
+ "PRIME B550M-A",
+ "PRIME B550M-A (WI-FI)",
"PRIME X570-PRO",
"ROG CROSSHAIR VIII DARK HERO",
"ROG CROSSHAIR VIII FORMULA",

base-commit: 00f5117c5f785b95b13663e52dcdcf684a47d4e3
--
2.34.1