[PATCH v3 5/5] phy: apple: atc: Split generation-specific code

Janne Grunau j at jannau.net
Wed Nov 25 17:12:49 PST 2026


On Wed, Nov 25, 2026 at 02:11:49PM +0100, Sasha Finkelstein wrote:
> atc.c is getting pretty big, split out the hardware generation-specific
> code into separate files.
> 
> Reviewed-by: Sven Peter <sven at kernel.org>
> Signed-off-by: Sasha Finkelstein <k at chaosmail.tech>
> ---
>  drivers/phy/apple/Makefile    |    2 +-
>  drivers/phy/apple/atc-t8103.c |  273 +++++++++
>  drivers/phy/apple/atc-t8122.c |  713 +++++++++++++++++++++++
>  drivers/phy/apple/atc.c       | 1286 +----------------------------------------
>  drivers/phy/apple/atc.h       |  340 +++++++++++
>  5 files changed, 1333 insertions(+), 1281 deletions(-)

from a code history and code churn point of view it would have been nice
if the split happened before or while adding t8122 support. Not sure if
it is worth the effort now that t8122 support already exists.

Janne



More information about the linux-phy mailing list