Skip to content

Commit b29d644

Browse files
marcanJassiBrar
authored andcommitted
dt-bindings: mailbox: apple,mailbox: Add generic and t6000 compatibles
Much as we've done with other blocks, let's introduce generic compatibles so drivers can bind to those and still work with future SoCs, as long as the hardware remains the same. Also go ahead and add compatibles for the new t600x SoCs (we group those as t6000). Note that no DTs instantiate devices with this binding yet. Reviewed-by: Mark Kettenis <[email protected]> Signed-off-by: Hector Martin <[email protected]> Reviewed-by: Sven Peter <[email protected]> Reviewed-by: Sven Peter <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent c9e6606 commit b29d644

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,20 @@ properties:
2727
for example for the display controller, the system management
2828
controller and the NVMe coprocessor.
2929
items:
30-
- const: apple,t8103-asc-mailbox
30+
- enum:
31+
- apple,t8103-asc-mailbox
32+
- apple,t6000-asc-mailbox
33+
- const: apple,asc-mailbox-v4
3134

3235
- description:
3336
M3 mailboxes are an older variant with a slightly different MMIO
3437
interface still found on the M1. It is used for the Thunderbolt
3538
co-processors.
3639
items:
37-
- const: apple,t8103-m3-mailbox
40+
- enum:
41+
- apple,t8103-m3-mailbox
42+
- apple,t6000-m3-mailbox
43+
- const: apple,m3-mailbox-v2
3844

3945
reg:
4046
maxItems: 1
@@ -68,7 +74,7 @@ additionalProperties: false
6874
examples:
6975
- |
7076
mailbox@77408000 {
71-
compatible = "apple,t8103-asc-mailbox";
77+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
7278
reg = <0x77408000 0x4000>;
7379
interrupts = <1 583 4>, <1 584 4>, <1 585 4>, <1 586 4>;
7480
interrupt-names = "send-empty", "send-not-empty",

0 commit comments

Comments
 (0)