Thread (28 messages) 28 messages, 5 authors, 2026-01-30

Re: [PATCH 2/4] phy: s32g: Add serdes subsystem phy

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2026-01-29 13:51:50
Also in: linux-arm-kernel, linux-devicetree, linux-phy, lkml

On Thu, Jan 29, 2026 at 02:36:01PM +0100, Vincent Guittot wrote:
On Thu, 29 Jan 2026 at 14:23, Russell King (Oracle)
[off-list ref] wrote:
quoted
On Thu, Jan 29, 2026 at 02:01:13PM +0100, Vincent Guittot wrote:
quoted
yes, the usual pattern is :
- phy_set_mode_ext()
- then phy_power_on()
but I can add an additional check
Please read Documentation/driver-api/phy/phy.rst section "Order of API
calls" which suggests phy_set_mode_ext() after phy_power_on().
Fair enough.
That being said, all pcie drivers  that use phy_set_mode_ext(), call
it before phy_power_on()
It looks like many ethernet drivers do the same, so I think maybe the
generic PHY documentation is incorrect or misleading, or is expressing
a preference that almost no one follows. Something for the generic PHY
maintainers to look at and/or comment on.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help