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

From: Janne Grunau

Date: Wed Nov 25 2026 - 20:13:24 EST


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@xxxxxxxxxx>
> Signed-off-by: Sasha Finkelstein <k@xxxxxxxxxxxxxx>
> ---
> 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