From: Huazhong Tan <hidden> Date: 2020-05-13 08:27:17
From: Yufeng Mo <redacted>
PHY loopback is already supported by genphy driver. This patch
adds the set_loopback interface to RTL8211F PHY driver, so the PHY
selftest can run properly on it.
Signed-off-by: Yufeng Mo <redacted>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <redacted>
---
drivers/net/phy/realtek.c | 1 +
1 file changed, 1 insertion(+)
From: Andrew Lunn <andrew@lunn.ch> Date: 2020-05-13 13:12:38
On Wed, May 13, 2020 at 04:25:44PM +0800, Huazhong Tan wrote:
From: Yufeng Mo <redacted>
PHY loopback is already supported by genphy driver. This patch
adds the set_loopback interface to RTL8211F PHY driver, so the PHY
selftest can run properly on it.
Signed-off-by: Yufeng Mo <redacted>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <redacted>
Do you have access to the data sheets? Can you check if the other PHYs
supported by this driver also support loopback in the standard way?
They probably do.
Andrew
On Wed, May 13, 2020 at 04:25:44PM +0800, Huazhong Tan wrote:
quoted
From: Yufeng Mo <redacted>
PHY loopback is already supported by genphy driver. This patch
adds the set_loopback interface to RTL8211F PHY driver, so the PHY
selftest can run properly on it.
Signed-off-by: Yufeng Mo <redacted>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <redacted>
It took three people to write a 1 line patch?
Yufeng Mo is the author of this patch, since he has not right to send mail
so I just help him to do than。 If necessary, Jian Shen could be deleted.
Do you have access to the data sheets? Can you check if the other PHYs
supported by this driver also support loopback in the standard way?
They probably do.
Andrew
We have checked the data sheet. Since we only have rtl8211f phy on our
hand, so only support loopback on this phy.
Thanks:)
On Wed, May 13, 2020 at 04:25:44PM +0800, Huazhong Tan wrote:
quoted
From: Yufeng Mo <redacted>
PHY loopback is already supported by genphy driver. This patch
adds the set_loopback interface to RTL8211F PHY driver, so the PHY
selftest can run properly on it.
Signed-off-by: Yufeng Mo <redacted>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <redacted>
Do you have access to the data sheets? Can you check if the other PHYs
supported by this driver also support loopback in the standard way?
They probably do.
Andrew
Hi, Andrew.
There are two type of phys we are using, rtl8211f and "Marvell 88E1512".
"Marvell 88E1512" has already supported loopback
(f0f9b4ed2338 ("net: phy: Add phy loopback support in net phy framework")).
So now we adds loopback support to the rtl8211f.
From the data sheet other phys should support this loopback as well, but
we have no way to verify it. What's your suggestion?
Thanks:)
From: Andrew Lunn <andrew@lunn.ch> Date: 2020-05-18 14:50:56
Hi, Andrew.
There are two type of phys we are using, rtl8211f and "Marvell 88E1512".
"Marvell 88E1512" has already supported loopback
(f0f9b4ed2338 ("net: phy: Add phy loopback support in net phy framework")).
So now we adds loopback support to the rtl8211f.
From the data sheet other phys should support this loopback as well, but
we have no way to verify it. What's your suggestion?
So you checked the datasheets for the RTL8201CP, RTL8201F, RTL8208,
RTL8211B, RTL8211DN, etc?
For all those you have datasheets for, please also add loopback
support. I'm just trying to avoid one PHY from twelve in that driver
having loopback support, when they all probably can.
Andrew