[PATCH net 0/2] Update MT7629 to support PHYLINK API

2019-10-01 Thread MarkLee
This patch target to update mt7629 eth driver and dts to support PHYLINK API MarkLee (2): net: ethernet: mediatek: Fix MT7629 missing GMII mode support arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding arch/arm/boot/dts/mt7629-rfb.dts| 13 - arch

[PATCH net 2/2] arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding

2019-10-01 Thread MarkLee
* Removes mediatek,physpeed property from dtsi that is useless in PHYLINK * Set gmac0 to fixed-link sgmii 2.5Gbit mode * Set gmac1 to gmii mode that connect to a internal gphy Signed-off-by: MarkLee --- arch/arm/boot/dts/mt7629-rfb.dts | 13 - arch/arm/boot/dts/mt7629.dtsi| 2

[PATCH net 1/2] net: ethernet: mediatek: Fix MT7629 missing GMII mode support

2019-10-01 Thread MarkLee
Add missing configuration for mt7629 gmii mode support Signed-off-by: MarkLee --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index c61069340f4f

[PATCH net,v2 1/2] net: ethernet: mediatek: Fix MT7629 missing GMII mode support

2019-10-07 Thread MarkLee
Add missing configuration for mt7629 gmii mode support Fixes: 7e538372694b ("net: ethernet: mediatek: Re-add support SGMII") Signed-off-by: MarkLee -- v1->v2: * no change --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH net,v2 2/2] arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding

2019-10-07 Thread MarkLee
* Removes mediatek,physpeed property from dtsi that is useless in PHYLINK * Use the fixed-link property speed = <2500> to set the phy in 2.5Gbit. * Set gmac1 to gmii mode that connect to a internal gphy Signed-off-by: MarkLee -- v1->v2: * SGMII port only support BASE-X at 2.5Gbit. ---

[PATCH net,v2 0/2] Update MT7629 to support PHYLINK API

2019-10-07 Thread MarkLee
This patch target to update mt7629 eth driver and dts to support PHYLINK MarkLee (2): net: ethernet: mediatek: Fix MT7629 missing GMII mode support arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding arch/arm/boot/dts/mt7629-rfb.dts| 13 - arch/arm

[PATCH net,v3 2/2] arm: dts: mediatek: Update mt7629 dts to reflect the latest dt-binding

2019-10-14 Thread MarkLee
* Removes mediatek,physpeed property from dtsi that is useless in PHYLINK * Use the fixed-link property speed = <2500> to set the phy in 2.5Gbit. * Set gmac1 to gmii mode that connect to a internal gphy Signed-off-by: MarkLee -- v2->v3: * no change v1->v2: * SGMII port only suppo

[PATCH net,v3 1/2] net: ethernet: mediatek: Fix MT7629 missing GMII mode support

2019-10-14 Thread MarkLee
=1 for GMII mode hence the final ETHSYS_SYSCFG0 setting will be incorrect for mt7629 GMII mode. This patch add the missing logic back to fix it. Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support") Signed-off-by: MarkLee -- v2->v3: * no

[PATCH net,v3 0/2] Update MT7629 to support PHYLINK API

2019-10-14 Thread MarkLee
This patch set has two goals : 1. Fix mt7629 GMII mode issue after apply mediatek PHYLINK support patch. 2. Update mt7629 dts to reflect the latest dt-binding with PHYLINK support. MarkLee (2): net: ethernet: mediatek: Fix MT7629 missing GMII mode support