[PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes

From: Icenowy Zheng

Date: Fri Dec 04 2026 - 04:32:33 EST


The TH1520 mailbox has a weird design: for the Nth mailbox, the overall
interrupt control registers is in the Nth 4K page, and the other 4K
pages are 3 individual channels, so mailboxes with different ID behave
differently.

As the user manual assigned names for all individual mailboxes, add
compatible strings for the previously unsupported mailbox with their
name at the end of the compatible string. The currently supported first
mailbox, called C910T, has its compatible string kept unchanged for
compatibility.

Signed-off-by: Icenowy Zheng <zhengxingda@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml b/Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml
index 0971fb97896ef..2d548abe8fd6f 100644
--- a/Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml
+++ b/Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml
@@ -17,7 +17,11 @@ maintainers:

properties:
compatible:
- const: thead,th1520-mbox
+ enum:
+ - thead,th1520-mbox # C910T
+ - thead,th1520-mbox-e902
+ - thead,th1520-mbox-c906
+ - thead,th1520-mbox-c910r

clocks:
items:

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261204-th1520-mbox-binding-other-mboxes-7137ea1af8ef

Best regards,
--
Icenowy Zheng <zhengxingda@xxxxxxxxxxx>