From: Kory Maincent <kory.maincent@bootlin.com>
To: Guenter Roeck <linux@roeck-us.net>, Andrew Lunn <andrew@lunn.ch>
Cc: Roman Kuzmitskii <roman@damex.org>,
linux-hwmon@vger.kernel.org, netdev@vger.kernel.org,
robert.marko@sartura.hr, luka.perkov@sartura.hr,
o.rempel@pengutronix.de
Subject: Re: [RFC] hwmon: (tps23861) PSE-PD support, extend hwmon driver or move to pse-pd?
Date: Mon, 2 Nov 2026 16:05:31 +0100 [thread overview]
Message-ID: <1219dc2f-0f96-40db-8268-1a8eb009b152@bootlin.com> (raw)
In-Reply-To: <57516add-01bf-492b-9fd9-2bcb762e3041@roeck-us.net>
On 11/2/26 15:54, Guenter Roeck wrote:
> On 11/2/26 01:49, Kory Maincent wrote:
>>
>> On 11/1/26 20:57, Andrew Lunn wrote:
>>> On Sun, Nov 01, 2026 at 11:09:42AM -0800, Guenter Roeck wrote:
>>>> On 11/1/26 10:50, Roman Kuzmitskii wrote:
>>>>> On 11/2/26 1:38 AM, Guenter Roeck wrote:
>>>>>> On 11/1/26 10:02, Roman Kuzmitskii wrote:
>>>>>>> openwrt reviewers asked me to check with you first which way you
>>>>>>> prefer:
>>>>>>> 1. extend hwmon driver with PSE-PD (like it is done right now)
>>>>>>> 2. move driver to drivers/net/pse-pd and extend it with PSE-PD
>>>>>>> 3. something else
>>
>> I am currently working on this topic by extending the tps23881 driver.
>> Please don't do it yourself to avoid working in parallel on the same
>> topic. On the other hand, it would be nice if you can test it.
>> Roman I will add you in CC of my series.
>>
>>>>>>>
>>>>>> The hardware monitoring "enable" attribute is supposed to enable
>>>>>> monitoring,
>>>>>> not to enable some power delivery or network (or any other) port.
>>>>>> That "port
>>>>>> enable" feature using the hwmon ABI was sneaked in, and I am
>>>>>> inclined to just
>>>>>> remove the upstream driver for severe ABI violation.
>>
>> Do you think it would be possible to remove the current tps23861
>> driver and binding? This would break the backward compatibility.
>> I am currently using "tps23861-poe" compatible name binding.
>>
> ... and you probably also use the hwmon "enable" attribute
> to enable and disable ports on this chip. Again, that is an ABI abuse.
> I'll refrain from removing the driver for now, but I will likely
> remove the attribute if//when I find the time to do it.
I thinks you misread or I was no clear enough. I am working on expanding
the tps23881 PSE driver to support the tps23861 version.
I am not using at all the hwmon framework in that development.
But as the binding tps23861 is already reserved for hwmon I use a new
"tps23861-poe" compatible name binding.
To me, I agree to remove the hwmon driver but this will break backward
compatibility. I am not a hwmon maintainer so it's not my decision to take.
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-11-02 15:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 18:02 [RFC] hwmon: (tps23861) PSE-PD support, extend hwmon driver or move to pse-pd? Roman Kuzmitskii
2026-11-01 18:38 ` Guenter Roeck
2026-11-01 18:50 ` Roman Kuzmitskii
2026-11-01 19:09 ` Guenter Roeck
2026-11-01 19:57 ` Andrew Lunn
2026-11-02 9:49 ` Kory Maincent
2026-11-02 14:54 ` Guenter Roeck
2026-11-02 15:05 ` Kory Maincent [this message]
2026-11-02 16:36 ` Andrew Lunn
2026-11-02 16:57 ` Kory Maincent
2026-11-02 17:33 ` Andrew Lunn
2026-11-02 17:56 ` Kory Maincent
2026-11-01 20:57 ` Robert Marko
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=1219dc2f-0f96-40db-8268-1a8eb009b152@bootlin.com \
--to=kory.maincent@bootlin.com \
--cc=andrew@lunn.ch \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=luka.perkov@sartura.hr \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=robert.marko@sartura.hr \
--cc=roman@damex.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