[U-Boot] [PATCH u-boot] net: phy: realtek: Add functions to read PHY's extended registers

Joe Hershberger joe.hershberger at ni.com
Tue Jan 22 22:17:36 UTC 2019


On Wed, Jan 16, 2019 at 8:07 AM Carlo Caione <ccaione at baylibre.com> wrote:
>
> According to the datasheet to access the extended registers we have to:
>
> 1. Write Register 31 Data = 0x0XYZ (Page 0xXYZ)
> 2. Read/Write the target Register Data
> 3. Write Register 31 Data = 0x0000 or 0xa42 (switch back to IEEE
>    Standard Registers)
>
> Hook the missing functions so that we can use the `mdio rx/wx` command to
> easily access the extended registers.
>
> Signed-off-by: Carlo Caione <ccaione at baylibre.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list