Skip to content

Commit 887b1d1

Browse files
dangowrtkuba-moo
authored andcommitted
net: ethernet: mtk_eth_soc: drop clocks unused by Ethernet driver
Clocks for SerDes and PHY are going to be handled by standalone drivers for each of those hardware components. Drop them from the Ethernet driver. The clocks which are being removed for this patch are responsible for the for the SerDes PCS and PHYs used for the 2nd and 3rd MAC which are anyway not yet supported. Hence backwards compatibility is not an issue. Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://patch.msgid.link/b5faaf69b5c6e3e155c64af03706c3c423c6a1c9.1722335682.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 501c300 commit 887b1d1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,8 @@ enum mtk_clks_map {
724724
MTK_CLK_ETHWARP_WOCPU2,
725725
MTK_CLK_ETHWARP_WOCPU1,
726726
MTK_CLK_ETHWARP_WOCPU0,
727-
MTK_CLK_TOP_USXGMII_SBUS_0_SEL,
728-
MTK_CLK_TOP_USXGMII_SBUS_1_SEL,
729727
MTK_CLK_TOP_SGM_0_SEL,
730728
MTK_CLK_TOP_SGM_1_SEL,
731-
MTK_CLK_TOP_XFI_PHY_0_XTAL_SEL,
732-
MTK_CLK_TOP_XFI_PHY_1_XTAL_SEL,
733729
MTK_CLK_TOP_ETH_GMII_SEL,
734730
MTK_CLK_TOP_ETH_REFCK_50M_SEL,
735731
MTK_CLK_TOP_ETH_SYS_200M_SEL,
@@ -800,19 +796,9 @@ enum mtk_clks_map {
800796
BIT_ULL(MTK_CLK_GP3) | BIT_ULL(MTK_CLK_XGP1) | \
801797
BIT_ULL(MTK_CLK_XGP2) | BIT_ULL(MTK_CLK_XGP3) | \
802798
BIT_ULL(MTK_CLK_CRYPTO) | \
803-
BIT_ULL(MTK_CLK_SGMII_TX_250M) | \
804-
BIT_ULL(MTK_CLK_SGMII_RX_250M) | \
805-
BIT_ULL(MTK_CLK_SGMII2_TX_250M) | \
806-
BIT_ULL(MTK_CLK_SGMII2_RX_250M) | \
807799
BIT_ULL(MTK_CLK_ETHWARP_WOCPU2) | \
808800
BIT_ULL(MTK_CLK_ETHWARP_WOCPU1) | \
809801
BIT_ULL(MTK_CLK_ETHWARP_WOCPU0) | \
810-
BIT_ULL(MTK_CLK_TOP_USXGMII_SBUS_0_SEL) | \
811-
BIT_ULL(MTK_CLK_TOP_USXGMII_SBUS_1_SEL) | \
812-
BIT_ULL(MTK_CLK_TOP_SGM_0_SEL) | \
813-
BIT_ULL(MTK_CLK_TOP_SGM_1_SEL) | \
814-
BIT_ULL(MTK_CLK_TOP_XFI_PHY_0_XTAL_SEL) | \
815-
BIT_ULL(MTK_CLK_TOP_XFI_PHY_1_XTAL_SEL) | \
816802
BIT_ULL(MTK_CLK_TOP_ETH_GMII_SEL) | \
817803
BIT_ULL(MTK_CLK_TOP_ETH_REFCK_50M_SEL) | \
818804
BIT_ULL(MTK_CLK_TOP_ETH_SYS_200M_SEL) | \

0 commit comments

Comments
 (0)