]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spi: apple: Add "apple,t8103-spi" compatible
authorJanne Grunau <j@jannau.net>
Thu, 30 Apr 2026 21:33:25 +0000 (23:33 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 12 May 2026 18:08:01 +0000 (12:08 -0600)
After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,spi" anymore [1]. Use
"apple,t8103-spi" as base compatible as it is the SoC driver and
bindings were originally written for.
The t602x (M2 Pro/Max/Ultra) devicetrees submitted in [2] use this
compatible as fallback instead of "apple,spi".

Link: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
Link: https://lore.kernel.org/asahi/20250828-dt-apple-t6020-v1-0-507ba4c4b98e@jannau.net/
Signed-off-by: Janne Grunau <j@jannau.net>
Acked-by: Mark Kettenis <kettenis@openbsd.org>
drivers/spi/apple_spi.c

index 5f94e9f7a74db914d8cb33eb6493c682c6ce6a6d..088d02e3b907b30c66fe6b81a8032c2036a2d3f8 100644 (file)
@@ -270,6 +270,7 @@ static int apple_spi_probe(struct udevice *dev)
 }
 
 static const struct udevice_id apple_spi_of_match[] = {
+       { .compatible = "apple,t8103-spi" },
        { .compatible = "apple,spi" },
        { /* sentinel */ }
 };