[PATCH] platform/x86: gigabyte-wmi: add support for B550M AORUS PRO-P

From: Alexey Klimov
Date: Wed Apr 21 2021 - 19:42:07 EST


From: Alexey Klimov <klimov.linux@xxxxxxxxx>

From: Alexey Klimov <klimov.linux@xxxxxxxxx>

Add the B550M AORUS PRO-P motherboard description to
gigabyte_wmi_known_working_platforms.

Signed-off-by: Alexey Klimov <klimov.linux@xxxxxxxxx>
---

The driver works fine on this motherboard with force_load=1 and
it seems that temperature values are correct.

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1: +30.0°C
temp2: +35.0°C
temp3: +30.0°C
temp4: +32.0°C
temp5: +28.0°C
temp6: +42.0°C

The patch is created against review-hans branch on platform-drivers-x86.git
I am available for further testing on this board if required, feel free
to reach me. Thanks.

drivers/platform/x86/gigabyte-wmi.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/platform/x86/gigabyte-wmi.c b/drivers/platform/x86/gigabyte-wmi.c
index e127a2077bbc..13d57434e60f 100644
--- a/drivers/platform/x86/gigabyte-wmi.c
+++ b/drivers/platform/x86/gigabyte-wmi.c
@@ -138,6 +138,10 @@ static const struct dmi_system_id gigabyte_wmi_known_working_platforms[] = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "B550 GAMING X V2"),
}},
+ { .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "B550M AORUS PRO-P"),
+ }},
{ .matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "B550M DS3H"),
--
2.31.1