[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8bhzex/k05i9NCQ@shell.armlinux.org.uk>
Date: Tue, 17 Jan 2023 17:58:37 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Marcin Wojtas <mw@...ihalf.com>
Cc: Landen.Chao@...iatek.com, Samer.El-Haj-Mahmoud@....com,
andrew@...n.ch, andriy.shevchenko@...ux.intel.com,
davem@...emloft.net, edumazet@...gle.com, f.fainelli@...il.com,
hkallweit1@...il.com, jaz@...ihalf.com, kuba@...nel.org,
linus.walleij@...aro.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
olteanv@...il.com, pabeni@...hat.com, rafael@...nel.org,
sean.wang@...iatek.com, tn@...ihalf.com, vivien.didelot@...il.com
Subject: Re: [net-next: PATCH v4 2/8] net: mdio: switch fixed-link PHYs API
to fwnode_
Hi Marcin,
On Tue, Jan 17, 2023 at 05:20:01PM +0100, Marcin Wojtas wrote:
> Hi Russell,
>
>
> pon., 16 sty 2023 o 18:50 Russell King (Oracle) <linux@...linux.org.uk>
> napisaĆ(a):
> >
> > On Mon, Jan 16, 2023 at 06:34:14PM +0100, Marcin Wojtas wrote:
> > > fixed-link PHYs API is used by DSA and a number of drivers
> > > and was depending on of_. Switch to fwnode_ so to make it
> > > hardware description agnostic and allow to be used in ACPI
> > > world as well.
> >
> > Would it be better to let the fixed-link PHY die, and have everyone use
> > the more flexible fixed link implementation in phylink?
> >
> ,
> This patchset did not intend to introduce any functional change, simply
> switch to a more generic HW description abstraction. Killing
> of/fwnode_phy_(de)register_fixed_link entirely seems to be a challenge, as
> there are a lot of users beyond the DSA. Otoh I see a value in having
> of_/fwnode_phy_is_fixed_link check, afaik there is no equivalent in
> phylink...
Phylink provides a much improved implementation of fixed-link that is
way more flexible than the phylib approach - it can implement speeds
in excess of 1G. DSA already supports phylink with modern updated
drivers that do not use the "adjust_link" implementation.
What I'm proposing is that we don't bring the baggage of the phylib
based fixed link forwards into fwnode, and leave this to be DT-only.
I think this is what Andrew and Vladimir have also said.
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists