[U-Boot] [PATCH v3] net: phy: marvell: Add functions to read PHY's extended registers

York Sun york.sun at nxp.com
Mon Oct 30 22:16:26 UTC 2017


On 10/30/2017 02:58 PM, Lukasz Majewski wrote:
> This commit allows extended Marvell registers to be read with:
> 
> foo > mdio rx FEC 3.10
> Reading from bus FEC
> PHY at address 0:
> 3.16 - 0x1063
> foo > mdio wx FEC 3.10 0x1011
> 
> The above code changes the way ETH connector LEDs blink.
> 
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
> 
> ---
> 
> Changes in v3:
>     - Enable extended registers access only for 88E151x family of PHYs
> 
> Changes in v2:
>     - Provide the readext and writeext callbacks to other marvell ETH PHY
>     devices
> 

Reviewed-by: York Sun <york.sun at nxp.com>


More information about the U-Boot mailing list