[net-next RFC PATCH v2 00/11] net: phy: Support DT PHY package
Christian Marangi
ansuelsmth at gmail.com
Sat Nov 25 05:50:01 PST 2023
On Sat, Nov 25, 2023 at 06:28:06PM +0100, Andrew Lunn wrote:
> > One example is this:
> >
> > ethernet-phy-package at 0 {
> > #address-cells = <1>;
> > #size-cells = <0>;
>
> Please extend this example with a compatible, and include a property
> which is global.
>
Hi, don't know if you notice the changelog, I now check with the node
name prefix instead of using compatible ethernet-phy-package. (some
requested and didn't like using it) (easy to reintroduce, was just a
small proposal/idea)
Also in theory the compatible for specific PHY package can also be
skipped. (we can use the select way and match for PHY id. Can also be
introduced easily but shouldn't that be checked in some way? Or it's ok
to have a compatible that will only be used for documentation?)
> > (For Andrew, we are looking intro making this in at803x PHY driver and see
> > what functions can be reused, idea is to move the driver to a dedicated
> > directory and create something like at803x-common.c as the at803x PHY
> > driver is too bloated and splitting it it's a better approach)
>
> This sounds good.
>
Thanks, also for Russell, I forgot to include the PHY mode in the
qca807x commit, will include that once I will move the code to the
shared implementation with at803x. (sorry)
--
Ansuel
More information about the Linux-mediatek
mailing list