[PATCH v1] hwmon: (gpd-fan) Add GPD Win 5

Antheas Kapenekakis posted 1 patch 1 month, 1 week ago
drivers/hwmon/gpd-fan.c | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH v1] hwmon: (gpd-fan) Add GPD Win 5
Posted by Antheas Kapenekakis 1 month, 1 week ago
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
Re: [PATCH v1] hwmon: (gpd-fan) Add GPD Win 5
Posted by Guenter Roeck 1 month, 1 week ago
On Fri, Feb 20, 2026 at 05:16:01PM +0100, Antheas Kapenekakis wrote:
> 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>
> ---

Applied.

Thanks,
Guenter