]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mailbox: apple: Bind to generic compatibles
authorHector Martin <marcan@marcan.st>
Wed, 15 Dec 2021 15:55:27 +0000 (00:55 +0900)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 12 Jan 2022 05:47:32 +0000 (23:47 -0600)
As with other blocks, we intend to have drivers bind to generic
compatibles as long as there are no SoC-specific quirks. This allows
forward-compatibility with future SoCs.

No upstream DTs instantiate this yet, so it's still safe to make this
breaking change.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/apple-mailbox.c

index 72942002a54abe7605ba3aca9a5177dd643bd607..496c4951ccb13735535ee1eb8493c55c8848c569 100644 (file)
@@ -364,8 +364,8 @@ static const struct apple_mbox_hw apple_mbox_m3_hw = {
 };
 
 static const struct of_device_id apple_mbox_of_match[] = {
-       { .compatible = "apple,t8103-asc-mailbox", .data = &apple_mbox_asc_hw },
-       { .compatible = "apple,t8103-m3-mailbox", .data = &apple_mbox_m3_hw },
+       { .compatible = "apple,asc-mailbox-v4", .data = &apple_mbox_asc_hw },
+       { .compatible = "apple,m3-mailbox-v2", .data = &apple_mbox_m3_hw },
        {}
 };
 MODULE_DEVICE_TABLE(of, apple_mbox_of_match);