[PATCH 1/2] realtek/rtl839x: respect phy-is-integrated property

2024-04-26 Thread stijn
Respect the phy-is-integrated property on ethernet-phy nodes. There are RTL8393M switches where the PHYs at address 48 and 49 are provided by an external RTL8214FC. Hardcoding them to use the internal SerDes makes it impossible to use the ports connected to such an external PHY. Respect the phy-is

[PATCH 2/2] realtek: add RTL821X_CHIP_ID

2024-04-26 Thread stijn
According to the Realtek SDK code, the RTL8214FC, RTL8218B and RTL8218FB all have the same chip ID 0x6276. Let's add a constant for it, as we're using it in more than one location. Signed-off-by: Stijn Tintel --- .../linux/realtek/files-5.15/drivers/net/phy/rtl83xx-phy.c | 6 -- 1 file chan

Re: [PATCH 1/2] realtek/rtl839x: respect phy-is-integrated property

2024-04-26 Thread Daniel Golle
Hi Stijn, On Sat, Apr 27, 2024 at 01:40:07AM +0300, st...@linux-ipv6.be wrote: > Respect the phy-is-integrated property on ethernet-phy nodes. > > There are RTL8393M switches where the PHYs at address 48 and 49 are > provided by an external RTL8214FC. Hardcoding them to use the internal > SerDes