net: phy: mediatek: Move LED helper functions into mtk phy lib
authorSkyLake.Huang <skylake.huang@mediatek.com>
Fri, 8 Nov 2024 16:34:52 +0000 (00:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2024 13:06:04 +0000 (13:06 +0000)
commit7f9c320c98dbca18934afa80306015eb71c05a6c
tree6e8ec5b4a05495099d36f2900e4739966c2185f3
parent4c452f7ea86212934ae896842847d1671e13a18b
net: phy: mediatek: Move LED helper functions into mtk phy lib

This patch creates mtk-phy-lib.c & mtk-phy.h and integrates mtk-ge-soc.c's
LED helper functions so that we can use those helper functions in other
MTK's ethernet phy driver.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/phy/mediatek/Kconfig
drivers/net/phy/mediatek/Makefile
drivers/net/phy/mediatek/mtk-ge-soc.c
drivers/net/phy/mediatek/mtk-phy-lib.c [new file with mode: 0644]
drivers/net/phy/mediatek/mtk.h [new file with mode: 0644]