* [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* Re: [PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes
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
0 siblings, 1 reply; 4+ messages in thread
From: Kanak Shilledar @ 2026-12-04 11:59 UTC (permalink / raw)
To: Icenowy Zheng
Cc: Drew Fustini, Guo Ren, Fu Wei, Jassi Brar, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Michal Wilczynski,
linux-riscv, linux-kernel, devicetree, Icenowy Zheng, Han Gao
Hi,
Thanks for the patch!
> 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.
I think it will be a good idea to provide a link to the user manual if
it is publicly accessible.
Thanks and Regards,
Kanak Shilledar
--
Kanak Shilledar <kanak.shilledar@axis.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes
2026-12-04 11:59 ` Kanak Shilledar
@ 2026-12-04 12:19 ` Icenowy Zheng
2026-12-04 13:52 ` Kanak Shilledar
0 siblings, 1 reply; 4+ messages in thread
From: Icenowy Zheng @ 2026-12-04 12:19 UTC (permalink / raw)
To: Kanak Shilledar
Cc: Drew Fustini, Guo Ren, Fu Wei, Jassi Brar, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Michal Wilczynski,
linux-riscv, linux-kernel, devicetree, Han Gao
在 2026-12-04五的 12:59 +0100,Kanak Shilledar写道:
> Hi,
> Thanks for the patch!
>
> > 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.
>
> I think it will be a good idea to provide a link to the user manual if
> it is publicly accessible.
Well it's available at [1].
Should I add this to the commit message in the next revision?
Thanks,
Icenowy
[1]
https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/raw/main/docs/TH1520%20System%20User%20Manual.pdf
>
> Thanks and Regards,
> Kanak Shilledar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mailbox: th1520: add compatibles for other mboxes
2026-12-04 12:19 ` Icenowy Zheng
@ 2026-12-04 13:52 ` Kanak Shilledar
0 siblings, 0 replies; 4+ messages in thread
From: Kanak Shilledar @ 2026-12-04 13:52 UTC (permalink / raw)
To: uwu
Cc: linux-riscv, gaohan, guoren, robh, linux-kernel, krzk+dt,
jassisinghbrar, m.wilczynski, conor+dt, fustini, wefu,
devicetree
[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]
Hi,
On Fri, 2026-12-04 at 20:19 +0800, Icenowy Zheng wrote:
> [You don't often get email from uwu@icenowy.me. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> 在 2026-12-04五的 12:59 +0100,Kanak Shilledar写道:
> > Hi,
> > Thanks for the patch!
> >
> > > 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.
> >
> > I think it will be a good idea to provide a link to the user manual
> > if
> > it is publicly accessible.
>
> Well it's available at [1].
>
> Should I add this to the commit message in the next revision?
Thanks for the link. Yes please add it to the commit message.
Best Regards,
Kanak Shilledar
> Thanks,
> Icenowy
>
> [1]
> https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/raw/main/docs/TH1520%20System%20User%20Manual.pdf
>
> >
> > Thanks and Regards,
> > Kanak Shilledar
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ 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®