Sensors driver for GPD Handhelds that expose fan reading and control via hwmon sysfs. Shenzhen GPD Technology Co., Ltd. manufactures a series of handheld devices. This driver implements these functions through x86 port-mapped IO. I have tested it on my device. Tested-by: Marcin Strągowski <marcin@xxxxxxxxxxxxxx> Signed-off-by: Cryolitia PukNgae <Cryolitia@xxxxxxxxx> --- Changes in v2: - Improved documentation, thanks to Randy Dunlap! - Link to v1: https://lore.kernel.org/r/20240716-gpd_fan-v1-0-34051dd71a06@xxxxxxxxx --- Cryolitia PukNgae (2): hwmon: add GPD devices sensor driver hwmon: document: add gpd-fan Documentation/hwmon/gpd-fan.rst | 69 ++++ Documentation/hwmon/index.rst | 1 + MAINTAINERS | 7 + drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/gpd-fan.c | 759 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 847 insertions(+) --- base-commit: d67978318827d06f1c0fa4c31343a279e9df6fde change-id: 20240716-gpd_fan-57f30923c884 Best regards, -- Cryolitia PukNgae <Cryolitia@xxxxxxxxx>