mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes
@ 2026-12-04  9:32 Icenowy Zheng
  2026-12-04 11:59 ` Kanak Shilledar
  0 siblings, 1 reply; 4+ messages in thread
From: Icenowy Zheng @ 2026-12-04  9:32 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Jassi Brar, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Michal Wilczynski
  Cc: linux-riscv, linux-kernel, devicetree, Icenowy Zheng, Han Gao,
	Icenowy Zheng

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@iscas.ac.cn>
---
 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@iscas.ac.cn>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-04 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04  9:32 [PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes Icenowy Zheng
2026-12-04 11:59 ` Kanak Shilledar
2026-12-04 12:19   ` Icenowy Zheng
2026-12-04 13:52     ` Kanak Shilledar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®