Re: [PATCH 04/16] net: phy: adin: add {write,read}_mmd hooks

2019-08-06 Thread Ardelean, Alexandru
On Mon, 2019-08-05 at 16:25 +0200, Andrew Lunn wrote: > [External] > > > diff --git a/drivers/net/phy/adin.c b/drivers/net/phy/adin.c > > index b75c723bda79..3dd9fe50f4c8 100644 > > --- a/drivers/net/phy/adin.c > > +++ b/drivers/net/phy/adin.c > > @@ -14,6 +14,9 @@ > > #define PHY_ID_ADIN1200

Re: [PATCH 04/16] net: phy: adin: add {write,read}_mmd hooks

2019-08-05 Thread Andrew Lunn
> diff --git a/drivers/net/phy/adin.c b/drivers/net/phy/adin.c > index b75c723bda79..3dd9fe50f4c8 100644 > --- a/drivers/net/phy/adin.c > +++ b/drivers/net/phy/adin.c > @@ -14,6 +14,9 @@ > #define PHY_ID_ADIN1200 0x0283bc20 > #define PHY_ID_ADIN1300

[PATCH 04/16] net: phy: adin: add {write,read}_mmd hooks

2019-08-05 Thread Alexandru Ardelean
Both ADIN1200 & ADIN1300 support Clause 45 access. The Extended Management Interface (EMI) registers are accessible via both Clause 45 (at register MDIO_MMD_VEND1) and using Clause 22. However, the Clause 22 MMD access operations differ from the implementation in the kernel, in the sense that it