mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: pse-pd: si3474: two driver fixes
@ 2026-10-19 16:24 Piotr Kubik
  2026-10-19 16:24 ` [PATCH net 1/2] net: pse-pd: si3474: keep detection enabled on the other PIs Piotr Kubik
  2026-10-19 16:24 ` [PATCH net 2/2] net: pse-pd: si3474: validate the channels of a PI Piotr Kubik
  0 siblings, 2 replies; 5+ messages in thread
From: Piotr Kubik @ 2026-10-19 16:24 UTC (permalink / raw)
  To: netdev
  Cc: Oleksij Rempel, Kory Maincent, Andrew Lunn, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, linux-kernel,
	Carlo Szelinsky, Piotr Kubik

Two fixes for the Si3474 PSE driver, found while preparing 2-pair and
semi-auto support for it.

Patch 1 stops si3474_pi_enable() from clearing detection and
classification of the other PI in the same quad. Without it, a PD on
that PI gets no power after a later plug-in.

Patch 2 rejects a channel number of 8 and a 4-pair PI whose channels
are not one channel pair of a quad.

Both were tested on an SDG-9000 board (MediaTek MT7988A, two Si3474)
with a Linux 6.18 kernel that carries the same patches, and build-tested
on the net tree.

Carlo Szelinsky's "net: pse-pd" series [1] also touches si3474.c, in
si3474_i2c_probe(). The two series change different hunks, and his
patch 9 applies on top of this series.

[1] https://lore.kernel.org/all/20261018082314.48950-1-github@szelinsky.de/

Piotr Kubik (2):
  net: pse-pd: si3474: keep detection enabled on the other PIs
  net: pse-pd: si3474: validate the channels of a PI

 drivers/net/pse-pd/si3474.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-20  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 16:24 [PATCH net 0/2] net: pse-pd: si3474: two driver fixes Piotr Kubik
2026-10-19 16:24 ` [PATCH net 1/2] net: pse-pd: si3474: keep detection enabled on the other PIs Piotr Kubik
2026-10-20  9:15   ` Kory Maincent
2026-10-19 16:24 ` [PATCH net 2/2] net: pse-pd: si3474: validate the channels of a PI Piotr Kubik
2026-10-20  9:33   ` Kory Maincent

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®