| From: |
| Cryolitia PukNgae via B4 Relay <devnull+Cryolitia.gmail.com-AT-kernel.org> |
| To: |
| Jean Delvare <jdelvare-AT-suse.com>, Guenter Roeck <linux-AT-roeck-us.net>, Cryolitia PukNgae <Cryolitia-AT-gmail.com>, Jonathan Corbet <corbet-AT-lwn.net> |
| Subject: |
| [PATCH v6 0/2] hwmon: add GPD devices sensor driver |
| Date: |
| Fri, 14 Mar 2025 04:10:29 +0800 |
| Message-ID: |
| <20250314-gpd_fan-v6-0-1dc992050e42@gmail.com> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, linux-hwmon-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org, Celeste Liu <CoelacanthusHex-AT-gmail.com>, Yao Zi <ziyao-AT-disroot.org>, Derek John Clark <derekjohn.clark-AT-gmail.com>, Marcin StrÄ…gowski <marcin-AT-stragowski.com>, someone5678 <someone5678.dev-AT-gmail.com>, Justin Weiss <justin-AT-justinweiss.com>, Antheas Kapenekakis <lkml-AT-antheas.dev>, command_block <mtf-AT-ik.me> |
| Archive-link: |
| Article |
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.
Tested-by: Marcin StrÄ…gowski <marcin@stragowski.com>
Tested-by: someone5678 <someone5678.dev@gmail.com>
Tested-by: Justin Weiss <justin@justinweiss.com>
Tested-by: Antheas Kapenekakis <lkml@antheas.dev>
Tested-by: command_block <mtf@ik.me>
Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
---
Changes in v6:
- fix: nullptr and label followed by a declaration
- cleanup: clean up code and rename some function
- format code
- dmi: add 2025 new GPD devices
- Link to v5: https://lore.kernel.org/r/20250211-gpd_fan-v5-0-608f4255f...
Changes in v5:
- Rebase on kernel 6.13
- Remove all value-cache related code
- Clean up code
- Link to v4: https://lore.kernel.org/r/20240718-gpd_fan-v4-0-116e5431a...
Changes in v4:
- Apply suggest by Krzysztof Kozlowski, thanks!
- Link to v3: https://lore.kernel.org/r/20240717-gpd_fan-v3-0-8d7efb126...
Changes in v3:
- Re-arrange code, thanks to Krzysztof Kozlowski, Guenter Roeck, Yao Zi!
- Link to v2: https://lore.kernel.org/r/20240717-gpd_fan-v2-0-f7b7e6b9f...
Changes in v2:
- Improved documentation, thanks to Randy Dunlap!
- Link to v1: https://lore.kernel.org/r/20240716-gpd_fan-v1-0-34051dd71...
---
Cryolitia PukNgae (2):
hwmon: add GPD devices sensor driver
hwmon: document: add gpd-fan
Documentation/hwmon/gpd-fan.rst | 71 +++++
Documentation/hwmon/index.rst | 1 +
MAINTAINERS | 7 +
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/gpd-fan.c | 681 ++++++++++++++++++++++++++++++++++++++++
6 files changed, 771 insertions(+)
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20240716-gpd_fan-57f30923c884
Best regards,
--
Cryolitia PukNgae <Cryolitia@gmail.com>