hwmon: (gpd-fan) Add GPD Win 5
Subsystems (2)
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
@@ -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
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.
Signed-off-by Antheas Kapenekakis <[email protected]>---
Applied.
Thanks,
Guenter