public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] hwmon: (gpd-fan) Add GPD Win 5
@ 2026-02-20 16:16 Antheas Kapenekakis
  2026-02-20 20:28 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Antheas Kapenekakis @ 2026-02-20 16:16 UTC (permalink / raw)
  To: Cryolitia PukNgae
  Cc: Guenter Roeck, linux-hwmon, linux-kernel, Antheas Kapenekakis

The GPD Win 5 is a new device by GPD with an AMD AI MAX 385/395 chip.
It uses the same fan control registers as the GPD Win Duo. This
information was provided by GPD.

Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
---
The GPD Win 5 has dual fans, as noted in [1], there is potential that
they might be able to be controlled independently (duo writes on two
registers).

However, for my application I do not need independent controls so for
me this is good to merge.

If a follow-up patch separates the fans, I will not treat it as a
breaking ABI change and will just update my userspace, so it will be
fine to merge by me. Just, please cc when posting.

I verified the functionality of this patch.

[1] https://github.com/Cryolitia/gpd-fan-driver/pull/21
---
 drivers/hwmon/gpd-fan.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/hwmon/gpd-fan.c b/drivers/hwmon/gpd-fan.c
index 237f496c4862..4c5e24b890c8 100644
--- a/drivers/hwmon/gpd-fan.c
+++ b/drivers/hwmon/gpd-fan.c
@@ -196,6 +196,14 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = &gpd_duo_drvdata,
 	},
+	{
+		// GPD Win 5 with AMD AI MAX 395
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "G1618-05"),
+		},
+		.driver_data = &gpd_duo_drvdata,
+	},
 	{
 		// GPD Pocket 4
 		.matches = {

base-commit: 598cf272195d27d2a45462baa051959dc53690e5
-- 
2.52.0



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

end of thread, other threads:[~2026-02-20 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-20 16:16 [PATCH v1] hwmon: (gpd-fan) Add GPD Win 5 Antheas Kapenekakis
2026-02-20 20:28 ` Guenter Roeck

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