diff mbox series

hwmon: (nct6775) add PRIME B550-PLUS motherboard to whitelist

Message ID 20220110024712.753492-1-dmitry.baryshkov@linaro.org (mailing list archive)
State Accepted
Headers show
Series hwmon: (nct6775) add PRIME B550-PLUS motherboard to whitelist | expand

Commit Message

Dmitry Baryshkov Jan. 10, 2022, 2:47 a.m. UTC
Asus PRIME B550-PLUS motherboards have got an nct6775 chip. Its resource
range is covered by the \AMW0.SHWM OpRegion, so the chip is unusable
when using SIO. However ASUS WMI access works.

Add PRIME B550-PLUS to the list of motherboards using ASUS WMI to read
data.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/hwmon/nct6775.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck Jan. 14, 2022, 4:50 p.m. UTC | #1
On Mon, Jan 10, 2022 at 05:47:12AM +0300, Dmitry Baryshkov wrote:
> Asus PRIME B550-PLUS motherboards have got an nct6775 chip. Its resource
> range is covered by the \AMW0.SHWM OpRegion, so the chip is unusable
> when using SIO. However ASUS WMI access works.
> 
> Add PRIME B550-PLUS to the list of motherboards using ASUS WMI to read
> data.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Applied to hwmon-next.

Thanks,
Guenter

> ---
>  drivers/hwmon/nct6775.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c
> index fd3f91cb01c6..616728598b57 100644
> --- a/drivers/hwmon/nct6775.c
> +++ b/drivers/hwmon/nct6775.c
> @@ -4988,6 +4988,7 @@ static const char * const asus_wmi_boards[] = {
>  	"Pro WS X570-ACE",
>  	"PRIME B360-PLUS",
>  	"PRIME B460-PLUS",
> +	"PRIME B550-PLUS",
>  	"PRIME X570-PRO",
>  	"ROG CROSSHAIR VIII DARK HERO",
>  	"ROG CROSSHAIR VIII FORMULA",
diff mbox series

Patch

diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c
index fd3f91cb01c6..616728598b57 100644
--- a/drivers/hwmon/nct6775.c
+++ b/drivers/hwmon/nct6775.c
@@ -4988,6 +4988,7 @@  static const char * const asus_wmi_boards[] = {
 	"Pro WS X570-ACE",
 	"PRIME B360-PLUS",
 	"PRIME B460-PLUS",
+	"PRIME B550-PLUS",
 	"PRIME X570-PRO",
 	"ROG CROSSHAIR VIII DARK HERO",
 	"ROG CROSSHAIR VIII FORMULA",