Thread (10 messages) 10 messages, 5 authors, 2021-06-04

Re: [PATCH net-next v2 1/4] net: phy: add MediaTek Gigabit Ethernet PHY driver

From: Landen Chao <hidden>
Date: 2021-05-20 07:22:20
Also in: linux-mediatek, linux-staging, lkml, netdev

On Thu, 2021-05-20 at 10:38 +0800, DENG Qingfang wrote:
On Thu, May 20, 2021 at 02:59:21AM +0200, Andrew Lunn wrote:
quoted
quoted
+static void mtk_gephy_config_init(struct phy_device *phydev)
+{
+	/* Disable EEE */
+	phy_write_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0);
Is EEE broken on this PHY? Or is this just to get it into a defined
state?
As I said in commit message, the initialization (including EEE) is
from the vendor driver.
I have also tested it with EEE enabled by default on one of my APs,
and got occasional link drops.
EEE of the 10-year-old MT7530 internal gephy has many IOT problems, so
it is recommended to disable its EEE.
EEE of the MT7531 internal gephy has been updated, but it is not yet
widely used.
Therefore, EEE is disabled in vendor driver.

Landen
quoted
Otherwise

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help