Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mailbox: apple: Bind to generic compatibles

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>

authored by

Hector Martin and committed by
Jassi Brar
1fa68a35 b29d644b

+2 -2
+2 -2
drivers/mailbox/apple-mailbox.c
··· 364 364 }; 365 365 366 366 static const struct of_device_id apple_mbox_of_match[] = { 367 - { .compatible = "apple,t8103-asc-mailbox", .data = &apple_mbox_asc_hw }, 368 - { .compatible = "apple,t8103-m3-mailbox", .data = &apple_mbox_m3_hw }, 367 + { .compatible = "apple,asc-mailbox-v4", .data = &apple_mbox_asc_hw }, 368 + { .compatible = "apple,m3-mailbox-v2", .data = &apple_mbox_m3_hw }, 369 369 {} 370 370 }; 371 371 MODULE_DEVICE_TABLE(of, apple_mbox_of_match);