All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Klimov <aklimov@redhat.com>
To: thomas@weissschuh.net
Cc: hdegoede@redhat.com, mgross@linux.intel.com,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] platform/x86: gigabyte-wmi: add support for B550M AORUS PRO-P
Date: Thu, 22 Apr 2021 00:41:56 +0100	[thread overview]
Message-ID: <20210421234156.3942343-1-aklimov@redhat.com> (raw)

From: Alexey Klimov <klimov.linux@gmail.com>

From: Alexey Klimov <klimov.linux@gmail.com>

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

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

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


             reply	other threads:[~2021-04-21 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21 23:41 Alexey Klimov [this message]
2021-04-22 18:15 ` [PATCH] platform/x86: gigabyte-wmi: add support for B550M AORUS PRO-P thomas
2021-04-23 17:20 ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210421234156.3942343-1-aklimov@redhat.com \
    --to=aklimov@redhat.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgross@linux.intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=thomas@weissschuh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.