From 500548a12949d5c5b068ba137b15bfe6d655ddd7 Mon Sep 17 00:00:00 2001 From: Hisham Alkhudrawi Date: Thu, 29 Oct 2026 22:32:03 -0400 Subject: [PATCH] kboot_atc: copy the atc-phy tunables on t8142 t8142's atc-phy nodes carry the same tunable layout as t8122/t8132, so list the compatible in the fuse table (reverse-chronological, ahead of t8132) and select the t8122 tunable set for it. Assisted-By: LLM Signed-off-by: Hisham Alkhudrawi (cherry picked from commit 1e5b7f078126ee8b284f153b2c3ef91b84a7fcca) --- src/kboot_atc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kboot_atc.c b/src/kboot_atc.c index 3cc2165a..b27b8eb8 100644 --- a/src/kboot_atc.c +++ b/src/kboot_atc.c @@ -162,6 +162,7 @@ static const struct atc_fuse_info atc_fuses_t8112_port1[] = { // Order "atc-phy" compatibles in reverse chronologically order to deal with mutliple compatible // strings in ADT atc-phy nodes. static const struct atc_fuse_hw atc_fuses[] = { + {"atc-phy,t8142", -1, NULL, 0}, {"atc-phy,t8132", -1, NULL, 0}, {"atc-phy,t8122", -1, NULL, 0}, {"atc-phy,t6020", -1, NULL, 0}, @@ -301,7 +302,8 @@ static void dt_copy_atc_tunables(void *dt, const char *adt_path, const char *dt_ } if (adt_is_compatible_at(adt, adt_node, "atc-phy,t8132", 0) || - adt_is_compatible_at(adt, adt_node, "atc-phy,t8122", 0)) { + adt_is_compatible_at(adt, adt_node, "atc-phy,t8122", 0) || + adt_is_compatible_at(adt, adt_node, "atc-phy,t8142", 0)) { tunables = &atc_tunables_t8122[0]; tunable_count = atc_tunables_t8122_count; } else {