[PATCH net-next v2] net: phy: realtek: Add support for RTL8221B-CG series

2020-11-01 Thread Willy Liu
feature This patch adds the minimal drivers to manage these transceivers. Signed-off-by: Willy Liu Reviewed-by: Andrew Lunn --- drivers/net/phy/realtek.c | 40 1 file changed, 40 insertions(+) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy

[PATCH net-next] net: phy: realtek: Add support for RTL8221B-CG series

2020-10-29 Thread Willy Liu
feature This patch adds the minimal drivers to manage these transceivers. Signed-off-by: Willy Liu --- drivers/net/phy/realtek.c | 40 1 file changed, 40 insertions(+) mode change 100644 => 100755 drivers/net/phy/realtek.c diff --git a/drivers/net/

RE: [PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG

2020-10-29 Thread Willy Liu
On Thu, Oct 29, 2020 21:49, Heiner Hallweit wrote: > On 29.10.2020 14:37, Andrew Lunn wrote: > > On Thu, Oct 29, 2020 at 08:07:57PM +0800, Willy Liu wrote: > >> Realtek single-port 2.5Gbps Ethernet PHY ids as below: > >> RTL8226-CG: 0x001cc800(ES)/0x001cc838(MP) &

[PATCH net-next 2/2] net: phy: realtek: Add support for RTL8221B-VB-CG/RTL8221B-VM-CG

2020-10-29 Thread Willy Liu
RTL8221B-VB-CG is the third generation 2.5Gbps single port PHY from Realtek, and RTL8221B-VM-CG is 2.5Gbps single port PHY with MACsec feature. This patch adds the minimal driver to manage these two transceivers. Signed-off-by: Willy Liu --- drivers/net/phy/realtek.c | 20

[PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG

2020-10-29 Thread Willy Liu
: Willy Liu --- drivers/net/phy/realtek.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) mode change 100644 => 100755 drivers/net/phy/realtek.c diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c old mode 100644 new mode 100755 index fb1db71..988f

[PATCH net v1] net: phy: realtek: Modify 2.5G PHY name to RTL8226

2020-09-29 Thread Willy Liu
version. PHY ID for RTL8226 is 0x001cc800 and RTL8226B/RTL8221B is 0x001cc840. RTL8125 is not a single PHY solution, it integrates PHY/MAC/PCIE bus controller and embedded memory. Signed-off-by: Willy Liu --- drivers/net/phy/realtek.c | 38 +++--- 1 file changed

[PATCH net v4] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-28 Thread Willy Liu
bit12 bit11 12 = Tx Delay 11 = Rx Delay 10:0 = Test && debug settings reserved by realtek Test && debug settings are not recommend to modify by default. Fixes: f81dadbcf7fd ("net: phy: realtek: Add rtl8211e rx/tx delays config") Signed-off-by: Willy Liu --- driv

[PATCH net v3] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-27 Thread Willy Liu
bit12 bit11 12 = Tx Delay 11 = Rx Delay 10:0 = Test && debug settings reserved by realtek Test && debug settings are not recommend to modify by default. Fixes: f81dadbcf7fd ("net: phy: realtek: Add rtl8211e rx/tx delays config") Signed-off-by: Willy Liu --- driv

[PATCH net] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-25 Thread Willy Liu
bit12 bit11 12 = Tx Delay 11 = Rx Delay 10:0 = Test && debug settings reserved by realtek Test && debug settings are not recommend to modify by default. Fixes: f81dadbcf7fd ("net: phy: realtek: Add rtl8211e rx/tx delays config") Signed-off-by: Willy Liu --- driv

[PATCH] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-16 Thread Willy Liu
t;) Signed-off-by: Willy Liu --- drivers/net/phy/realtek.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) mode change 100644 => 100755 drivers/net/phy/realtek.c diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c old mode 100644 new mode 100755

[PATCH] net: phy: realtek: Replace 2.5Gbps name from RTL8125 to RTL8226

2020-09-16 Thread Willy Liu
According to PHY ID, 0x001cc800 should be named "RTL8226 2.5Gbps PHY" and 0x001cc840 should be named "RTL8226B_RTL8221B 2.5Gbps PHY". RTL8125 is not a single PHY solution, it integrates PHY/MAC/PCIE bus controller and embedded memory. Signed-off-by: Willy Liu --- drivers/ne