From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Guenter Roeck <linux@roeck-us.net>
Cc: gfuchedgi@gmail.com, Robert Marko <robert.marko@sartura.hr>,
Luka Perkov <luka.perkov@sartura.hr>,
Jean Delvare <jdelvare@suse.com>,
Jonathan Corbet <corbet@lwn.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Kory Maincent <kory.maincent@bootlin.com>,
Network Development <netdev@vger.kernel.org>
Subject: Re: [PATCH v3 0/2] hwmon: (tps23861) add class restrictions and semi-auto mode support
Date: Mon, 8 Sep 2025 06:51:36 +0200 [thread overview]
Message-ID: <aL5g2JtIpupAeoDz@pengutronix.de> (raw)
In-Reply-To: <4e7a2570-41ec-4179-96b2-f8550181afd9@roeck-us.net>
On Sun, Sep 07, 2025 at 09:06:25AM -0700, Guenter Roeck wrote:
> +Cc: pse-pd maintainers and netdev mailing list
>
> On 9/4/25 10:33, Gregory Fuchedgi via B4 Relay wrote:
> > This patch series introduces per-port device tree configuration with poe
> > class restrictions. Also adds optional reset/shutdown gpios.
> >
> > Tested with hw poe tester:
> > - Auto mode tested with no per-port DT settings as well as explicit port
> > DT ti,class=4. Tested that no IRQ is required in this case.
> > - Semi-Auto mode with class restricted to 0, 1, 2 or 3. IRQ required.
> > - Tested current cut-offs in Semi-Auto mode.
> > - On/off by default setting tested for both Auto and Semi-Auto modes.
> > - Tested fully disabling the ports in DT.
> > - Tested with both reset and ti,ports-shutdown gpios defined, as well as
> > with reset only, as well as with neither reset nor shutdown.
> >
> > Signed-off-by: Gregory Fuchedgi <gfuchedgi@gmail.com>
>
> This entire series makes me more and more unhappy. It is not the responsibility
> of the hardware monitoring subsystem to control power. The hardware monitoring
> subsystem is for monitoring, not for control.
>
> Please consider adding a driver for this chip to the pse-pd subsystem
> (drivers/net/pse-pd). As it turns out, that subsystem already supports
> tps23881. This is a similar chip which even has a similar register set.
>
> This driver could then be modified to be an auxiliary driver of that driver.
> Alternatively, we could drop this driver entirely since the pse-pd subsystem
> registers the chips it supports as regulator which has its own means to handle
> telemetry.
>
> Thanks,
> Guenter
Yes, Guenter is right. This driver belongs to the pse-pd framework.
Best Regards,
Oleksik
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-09-08 4:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 17:33 [PATCH v3 0/2] hwmon: (tps23861) add class restrictions and semi-auto mode support Gregory Fuchedgi via B4 Relay
2025-09-04 17:33 ` [PATCH v3 1/2] dt-bindings: hwmon: update TI TPS23861 with per-port schema Gregory Fuchedgi via B4 Relay
2025-09-05 8:10 ` Krzysztof Kozlowski
2025-09-05 17:22 ` Gregory Fuchedgi
2025-09-06 7:19 ` Krzysztof Kozlowski
2025-09-07 4:24 ` Gregory Fuchedgi
2025-09-04 17:33 ` [PATCH v3 2/2] hwmon: (tps23861) add class restrictions and semi-auto mode support Gregory Fuchedgi via B4 Relay
2025-09-04 18:34 ` Guenter Roeck
2025-09-05 8:01 ` [PATCH v3 0/2] " Krzysztof Kozlowski
2025-09-07 16:06 ` Guenter Roeck
2025-09-08 4:51 ` Oleksij Rempel [this message]
2025-09-08 16:39 ` Gregory Fuchedgi
2025-09-08 16:57 ` Kory Maincent
2025-09-08 18:02 ` Guenter Roeck
2025-09-10 19:11 ` Gregory Fuchedgi
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=aL5g2JtIpupAeoDz@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=gfuchedgi@gmail.com \
--cc=jdelvare@suse.com \
--cc=kory.maincent@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=luka.perkov@sartura.hr \
--cc=netdev@vger.kernel.org \
--cc=robert.marko@sartura.hr \
--cc=robh@kernel.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).