Skip to contentSkip to conversation

hwmon: (gpd-fan) Add GPD Win 5

PATCH Applied Antheas Kapenekakis 2 participants 2 messages Feb 20

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (gpd-fan) Add GPD Win 5

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.

---
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(+)
drivers/hwmon/gpd-fan.c +8 -0
index 237f496c4862..4c5e24b890c8 100644
@@ -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

Signature · 1 line
2.52.0
maintainer Applied
#1 lore raw
Quoted 6 lines · 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.

---

Applied.

Thanks,
Guenter