mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Cryolitia <liziyao@uniontech.com>
To: Antheas Kapenekakis <lkml@antheas.dev>,
	Guenter Roeck <linux@roeck-us.net>
Cc: Cryolitia@gmail.com, "Jean Delvare" <jdelvare@suse.com>,
	"Jonathan Corbet" <corbet@lwn.net>,
	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>,
	"Marcin Strągowski" <marcin@stragowski.com>,
	someone5678 <someone5678.dev@gmail.com>,
	"Justin Weiss" <justin@justinweiss.com>,
	command_block <mtf@ik.me>
Subject: Re: [PATCH v6 1/2] hwmon: add GPD devices sensor driver
Date: Wed, 30 Jul 2025 17:24:29 +0800	[thread overview]
Message-ID: <B751D49737DD10DC+00a0ff95-476a-4d0a-9bc6-40e77012a554@uniontech.com> (raw)
In-Reply-To: <CAGwozwGdZ5tzHg7_TF5d_AWVDmypP987XS-x_GWqrSF81PiG2Q@mail.gmail.com>

Thank you for raising this valid concern. We've closely monitored GPD's
development plans and currently see no indication of EC functionality
expansion beyond thermal sensors in the foreseeable future. Given this
observation, we believe placing the driver in hwmon remains appropriate
for now.

That said, we fully respect your maintainer perspective on
future-proofing. If you feel strongly that platform/x86 would be a safer
long-term home despite the current scope, we're happy to move the driver
there immediately. We're committed to finding the most sustainable
solution for upstream.

------
Apologies for mistakenly replying to Antheas Kapenekakis instead of the 
mailing list.

I am Cryolitia <cryolitia@gmail.com> that previously sending the patch. 
Due to work, I changed my email address. GPG can verify it's the same 
person: 
https://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0x84dd0c0130a54df7
------

在 2025/7/19 00:38, Antheas Kapenekakis 写道:
> On Thu, 17 Jul 2025 at 04:32, Guenter Roeck <linux@roeck-us.net> wrote:
>>
>> On 3/13/25 13:58, Antheas Kapenekakis wrote:
>>> On Thu, 13 Mar 2025 at 21:10, Cryolitia PukNgae via B4 Relay
>>> <devnull+Cryolitia.gmail.com@kernel.org> wrote:
>>>>
>>>> From: Cryolitia PukNgae <Cryolitia@gmail.com>
>>>>
>>>> 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.
>>>>
>>>> Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
>>>> ---
>>>>    MAINTAINERS             |   6 +
>>>>    drivers/hwmon/Kconfig   |  10 +
>>>>    drivers/hwmon/Makefile  |   1 +
>>>>    drivers/hwmon/gpd-fan.c | 681 ++++++++++++++++++++++++++++++++++++++++++++++++
>>>>    4 files changed, 698 insertions(+)
>>>>
>>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>>> index 0fa7c5728f1e64d031f4a47b6fce1db484ce0fc2..777ba74ccb07ccc0840c3cd34e7b4d98d726f964 100644
>>>> --- a/MAINTAINERS
>>>> +++ b/MAINTAINERS
>>>> @@ -9762,6 +9762,12 @@ F:       drivers/phy/samsung/phy-gs101-ufs.c
>>>>    F:     include/dt-bindings/clock/google,gs101.h
>>>>    K:     [gG]oogle.?[tT]ensor
>>>>
>>>> +GPD FAN DRIVER
>>>> +M:     Cryolitia PukNgae <Cryolitia@gmail.com>
>>>> +L:     linux-hwmon@vger.kernel.org
>>>> +S:     Maintained
>>>> +F:     drivers/hwmon/gpd-fan.c
>>>
>>> A problem we had with oxp sensors is that once OneXPlayer expanded
>>> their EC to include e.g., battery capacity limits, it was no longer
>>> appropriate for it to reside in hwmon. I expect GPD to do the same
>>> sometime in the near future. If that is the case, should we
>>> futureproof the driver by moving it to platform-x86 right away?
>>>
>>
>> My problem with platform drivers, especially with x86 platform drivers,
>> including the OneXPlayer driver, is that the developers responsible for
>> those drivers refrain from implementing the client drivers as auxiliary
>> drivers but instead like to bundle everything into a non-subsystem
>> directory. I have always wondered why that is the case. My best guess
>> is that it is to limit and/or avoid subsystem maintainer oversight.
>> Does that work out for you ?
> 
> Particularly for simple ECs such as OneXPlayer and GPD boards I think
> keeping all the addresses in the same file makes sense. E.g., I just
> sent a Fixes for the OneXPlayer G1 AMD variant and it was one commit
> instead of 2 or 3. At least for me it was practical, I did not
> consider having a lesser oversight as a benefit when making that
> choice.
> 
> But I do understand the concern.
> 
> Antheas
> 
>> Not objecting, I am just curious.
>>
>> Guenter
>>
>>
> 


  reply	other threads:[~2025-07-30  9:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-13 20:10 [PATCH v6 0/2] " Cryolitia PukNgae via B4 Relay
2025-03-13 20:10 ` [PATCH v6 1/2] " Cryolitia PukNgae via B4 Relay
2025-03-13 20:58   ` Antheas Kapenekakis
2025-07-17  2:32     ` Guenter Roeck
2025-07-18 16:38       ` Antheas Kapenekakis
2025-07-30  9:24         ` Cryolitia [this message]
2025-07-30 17:26           ` Guenter Roeck
2025-07-31  3:30             ` Cryolitia PukNgae
2025-07-31  8:13               ` Antheas Kapenekakis
2025-07-31 12:53                 ` Guenter Roeck
2025-08-12  3:18                 ` Cryolitia PukNgae
2025-03-13 20:10 ` [PATCH v6 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=B751D49737DD10DC+00a0ff95-476a-4d0a-9bc6-40e77012a554@uniontech.com \
    --to=liziyao@uniontech.com \
    --cc=CoelacanthusHex@gmail.com \
    --cc=Cryolitia@gmail.com \
    --cc=corbet@lwn.net \
    --cc=derekjohn.clark@gmail.com \
    --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=someone5678.dev@gmail.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

all inboxes | Powered by JetHome®