linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cryolitia PukNgae via B4 Relay <devnull+cryolitia.uniontech.com@kernel.org>
To: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	 Jonathan Corbet <corbet@lwn.net>,
	 Cryolitia PukNgae <cryolitia@uniontech.com>
Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-doc@vger.kernel.org,
	"Celeste Liu" <CoelacanthusHex@gmail.com>,
	"Yao Zi" <ziyao@disroot.org>,
	"Derek John Clark" <derekjohn.clark@gmail.com>,
	WangYuli <wangyuli@uniontech.com>,
	"Jun Zhan" <zhanjun@uniontech.com>,
	niecheng1@uniontech.com, guanwentao@uniontech.com,
	"Marcin Strągowski" <marcin@stragowski.com>,
	someone5678 <someone5678.dev@gmail.com>,
	"Justin Weiss" <justin@justinweiss.com>,
	"Antheas Kapenekakis" <lkml@antheas.dev>,
	command_block <mtf@ik.me>, derjohn <himself@derjohn.de>,
	Crashdummyy <crashdummy1337@proton.me>
Subject: [PATCH RESEND v7 0/2] hwmon: add GPD devices sensor driver
Date: Wed, 20 Aug 2025 17:50:37 +0800	[thread overview]
Message-ID: <20250820-gpd_fan-v7-0-10c8058f4dba@uniontech.com> (raw)

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>
Tested-by: derjohn <himself@derjohn.de>
Tested-by: Crashdummyy <crashdummy1337@proton.me>

Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>

---
Additional explanation: Based on the concerns in the previous version
of the discussion about placing the driver in the x86 subsystem or the
hwmon subsystem, I currently do not see any intention from GPD to
integrate battery management into EC, and would prefer to keep the
driver in the hwmon subsystem until the hardware manufacturers actually
make something practical.

---
Changes in v7:
- Add support for GPD Duo
- Change email from cryolitia@gmail.com to cryolitia@uniontech.com
- Link to v6: https://lore.kernel.org/r/CAGwozwG13swYjCB6_Wm2h8a2CdHxam+2y=g1m42pynkKqqdDLg@mail.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-608f4255f0e1@gmail.com

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-116e5431a9fe@gmail.com

Changes in v4:
- Apply suggest by Krzysztof Kozlowski, thanks!
- Link to v3: https://lore.kernel.org/r/20240717-gpd_fan-v3-0-8d7efb1263b7@gmail.com

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-f7b7e6b9f21b@gmail.com

Changes in v2:
- Improved documentation, thanks to Randy Dunlap!
- Link to v1: https://lore.kernel.org/r/20240716-gpd_fan-v1-0-34051dd71a06@gmail.com

---
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         | 753 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 843 insertions(+)
---
base-commit: b19a97d57c15643494ac8bfaaa35e3ee472d41da
change-id: 20240716-gpd_fan-57f30923c884

Best regards,
-- 
Cryolitia PukNgae <cryolitia@uniontech.com>



             reply	other threads:[~2025-08-20  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-20  9:50 Cryolitia PukNgae via B4 Relay [this message]
2025-08-20  9:50 ` [PATCH RESEND v7 1/2] hwmon: add GPD devices sensor driver Cryolitia PukNgae via B4 Relay
2025-09-02 15:38   ` Guenter Roeck
2025-09-03  8:33     ` Cryolitia PukNgae
2025-09-03 13:37       ` Guenter Roeck
2025-08-20  9:50 ` [PATCH RESEND v7 2/2] hwmon: document: add gpd-fan Cryolitia PukNgae via B4 Relay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250820-gpd_fan-v7-0-10c8058f4dba@uniontech.com \
    --to=devnull+cryolitia.uniontech.com@kernel.org \
    --cc=CoelacanthusHex@gmail.com \
    --cc=corbet@lwn.net \
    --cc=crashdummy1337@proton.me \
    --cc=cryolitia@uniontech.com \
    --cc=derekjohn.clark@gmail.com \
    --cc=guanwentao@uniontech.com \
    --cc=himself@derjohn.de \
    --cc=jdelvare@suse.com \
    --cc=justin@justinweiss.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lkml@antheas.dev \
    --cc=marcin@stragowski.com \
    --cc=mtf@ik.me \
    --cc=niecheng1@uniontech.com \
    --cc=someone5678.dev@gmail.com \
    --cc=wangyuli@uniontech.com \
    --cc=zhanjun@uniontech.com \
    --cc=ziyao@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).