]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: macsmc: Add "apple,t8103-smc" compatible
authorJanne Grunau <j@jannau.net>
Thu, 28 Aug 2025 14:01:37 +0000 (16:01 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:38 +0000 (10:28 +0100)
After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,smc" anymore [1]. Use
"apple,t8103-smc" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250828-dt-apple-t6020-v1-18-507ba4c4b98e@jannau.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/macsmc.c

index c8575c9c9f4be8f715124badc9ff1ba66a0f5be2..e6cdae221f1d4e5776887353e8f0c40e1600028c 100644 (file)
@@ -478,6 +478,7 @@ static int apple_smc_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_smc_of_match[] = {
+       { .compatible = "apple,t8103-smc" },
        { .compatible = "apple,smc" },
        {},
 };