realtek: Add support for clause45 PHYs
authorBirger Koblitz <git@birger-koblitz.de>
Sat, 1 May 2021 07:18:48 +0000 (09:18 +0200)
committerPetr Štetiar <ynezz@true.cz>
Fri, 7 May 2021 05:05:16 +0000 (07:05 +0200)
commit408990464c77abdb341d18346d192c0c14c9461c
tree618ff9a42bc6bdd8f029403dff53143fd46324aa
parent515d9c85f22241b4ec08dbb3d63f6469ef412384
realtek: Add support for clause45 PHYs

This adds support for the MMD access registers the RTL-SoCs use to access clause 45
PHYs via mdio.
This new interface is used to add EEE-support for the RTL8226

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.4/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl931x.c
target/linux/realtek/files-5.4/drivers/net/phy/rtl83xx-phy.c