[PATCH net-next v7 2/5] net: phy: mediatek: Move LED and read/write page helper functions into mtk phy lib
Jakub Kicinski
kuba at kernel.org
Tue Jun 18 08:21:11 PDT 2024
On Thu, 13 Jun 2024 18:40:20 +0800 Sky Huang wrote:
> This patch moves mtk-ge-soc.c's LED code into mtk phy lib. We
> can use those helper functions in mtk-ge.c as well. That is to
> say, we have almost the same HW LED controller design in
> mt7530/mt7531/mt7981/mt7988's Giga ethernet phy.
>
> Also integrate read/write pages into one helper function. They
> are basically the same.
Could you please split this into multiple patches? maybe:
- change the line wrapping
- integrate read/write pages into one helper
- create mtk-phy-lib.c and mtk.h (pure code move)
- add support for LEDs to the other SoC
More information about the linux-arm-kernel
mailing list