mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: acer-wmi: Add support for Acer Predator PH16-72
@ 2025-01-07 17:56 Armin Wolf
  2025-01-08 11:36 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Wolf @ 2025-01-07 17:56 UTC (permalink / raw)
  To: jlee, ejohnsten
  Cc: hdegoede, ilpo.jarvinen, platform-driver-x86, linux-kernel

Add the Acer Predator PT16-72 to acer_quirks to provide support
for the turbo button and predator_v4 interfaces.

Tested-by: Eric Johnsten <ejohnsten@gmail.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
---
 drivers/platform/x86/acer-wmi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index b3043d78a7b3..57d6b680f5b9 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -406,6 +406,13 @@ static struct quirk_entry quirk_acer_predator_ph315_53 = {
 	.gpu_fans = 1,
 };

+static struct quirk_entry quirk_acer_predator_ph16_72 = {
+	.turbo = 1,
+	.cpu_fans = 1,
+	.gpu_fans = 1,
+	.predator_v4 = 1,
+};
+
 static struct quirk_entry quirk_acer_predator_pt14_51 = {
 	.turbo = 1,
 	.cpu_fans = 1,
@@ -611,6 +618,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_predator_v4,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Predator PH16-72",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH16-72"),
+		},
+		.driver_data = &quirk_acer_predator_ph16_72,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH18-71",
--
2.39.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform/x86: acer-wmi: Add support for Acer Predator PH16-72
  2025-01-07 17:56 [PATCH] platform/x86: acer-wmi: Add support for Acer Predator PH16-72 Armin Wolf
@ 2025-01-08 11:36 ` Ilpo Järvinen
  0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-01-08 11:36 UTC (permalink / raw)
  To: jlee, ejohnsten, Armin Wolf; +Cc: hdegoede, platform-driver-x86, linux-kernel

On Tue, 07 Jan 2025 18:56:52 +0100, Armin Wolf wrote:

> Add the Acer Predator PT16-72 to acer_quirks to provide support
> for the turbo button and predator_v4 interfaces.
> 
> 


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: acer-wmi: Add support for Acer Predator PH16-72
      commit: 12016dc8659d041b6237977b9e3ef78ecbdf1495

--
 i.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-08 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-07 17:56 [PATCH] platform/x86: acer-wmi: Add support for Acer Predator PH16-72 Armin Wolf
2025-01-08 11:36 ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®