On 5/9/2020 3:37 PM, Michael Walle wrote: > Most modern broadcom PHYs support ECD (enhanced cable diagnostics). Add > support for it in the bcm-phy-lib so they can easily be used in the PHY > driver. > > There are two access methods for ECD: legacy by expansion registers and > via the new RDB registers which are exclusive. Provide functions in two > variants where the PHY driver can from. To keep things simple for now, > we just switch the register access to expansion registers in the RDB > variant for now. On the flipside, we have to keep a bus lock to prevent > any other non-legacy access on the PHY. > > Signed-off-by: Michael Walle <mich...@walle.cc> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Thanks for dealing with the legacy expansion vs. RDB access method, this looks really nice, now I just need to test it on a variety of devices :) -- Florian
- [PATCH net-next 4/4] net: phy: bcm54140: add cable diagn... Michael Walle
- Re: [PATCH net-next 4/4] net: phy: bcm54140: add ca... kbuild test robot
- Re: [PATCH net-next 4/4] net: phy: bcm54140: add ca... Florian Fainelli
- Re: [PATCH net-next 4/4] net: phy: bcm54140: add ca... kbuild test robot
- Re: [PATCH net-next 4/4] net: phy: bcm54140: add ca... Andrew Lunn
- [PATCH net-next 2/4] net: phy: broadcom: add bcm_phy_mod... Michael Walle
- Re: [PATCH net-next 2/4] net: phy: broadcom: add bc... Florian Fainelli
- Re: [PATCH net-next 2/4] net: phy: broadcom: add bc... Andrew Lunn
- [PATCH net-next 3/4] net: phy: broadcom: add cable test ... Michael Walle
- Re: [PATCH net-next 3/4] net: phy: broadcom: add ca... Florian Fainelli
- Re: [PATCH net-next 3/4] net: phy: broadcom: add ca... kbuild test robot
- Re: [PATCH net-next 3/4] net: phy: broadcom: add ca... Andrew Lunn
- Re: [PATCH net-next 3/4] net: phy: broadcom: ad... Michael Walle
- Re: [PATCH net-next 0/4] net: phy: broadcom: cable teste... Jakub Kicinski
- [PATCH net-next 0/4] net: phy: broadcom: cable tester su... Michael Walle
- [PATCH net-next v2 1/4] net: phy: broadcom: add exp... Michael Walle
- [PATCH net-next v2 4/4] net: phy: bcm54140: add cab... Michael Walle
- [PATCH net-next v2 2/4] net: phy: broadcom: add bcm... Michael Walle
- [PATCH net-next v2 3/4] net: phy: broadcom: add cab... Michael Walle
- Re: [PATCH net-next 0/4] net: phy: broadcom: cable ... David Miller