linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] riscv: dts: thead: th1520: Add mailbox for SBI-to-AON comm
@ 2025-08-14  7:07 Icenowy Zheng
  2025-08-14  7:07 ` [RFC PATCH 1/4] dt-bindings: mailbox: thead,th1520-mbox: retrofit for other mailboxes Icenowy Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Icenowy Zheng @ 2025-08-14  7:07 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jassi Brar, Michal Wilczynski
  Cc: Han Gao, Inochi Amaoto, Yao Zi, linux-riscv, devicetree,
	linux-kernel, Icenowy Zheng

In order to make system suspend / CPU hotplugging to work, the BSP
OpenSBI wants to talk to the AON firmware, and will parse the
information needed for this communication from the device tree.

This patchset tries to retrofit the thead,th1520-mbox binding for the
C910R mailbox, and assign it for SBI-to-AON communication.

The binding seems to be badly designed, and the retrofitting process
looks quite dirty. Should we just abandon the current compatible and
make a new one with a more proper binding?

Icenowy Zheng (4):
  dt-bindings: mailbox: thead,th1520-mbox: retrofit for other mailboxes
  dt-bindings: firmware: thead,th1520-aon: add a mailbox name for SBI
  riscv: dts: thead: th1520: add reserved node for C910R mailbox
  riscv: dts: thead: th1520: add mailbox channel for SBI-to-AON comm

 .../bindings/firmware/thead,th1520-aon.yaml   |  7 +--
 .../bindings/mailbox/thead,th1520-mbox.yaml   | 49 ++++++++++++++-----
 arch/riscv/boot/dts/thead/th1520.dtsi         | 20 +++++++-
 3 files changed, 58 insertions(+), 18 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-08-15  6:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14  7:07 [RFC PATCH 0/4] riscv: dts: thead: th1520: Add mailbox for SBI-to-AON comm Icenowy Zheng
2025-08-14  7:07 ` [RFC PATCH 1/4] dt-bindings: mailbox: thead,th1520-mbox: retrofit for other mailboxes Icenowy Zheng
2025-08-14  7:18   ` Krzysztof Kozlowski
2025-08-14  7:34     ` Icenowy Zheng
2025-08-14  7:48       ` Krzysztof Kozlowski
2025-08-14  8:02         ` Icenowy Zheng
2025-08-14  7:07 ` [RFC PATCH 2/4] dt-bindings: firmware: thead,th1520-aon: add a mailbox name for SBI Icenowy Zheng
2025-08-14  7:18   ` Krzysztof Kozlowski
2025-08-14  7:30     ` Icenowy Zheng
2025-08-14  7:49       ` Krzysztof Kozlowski
2025-08-14  8:04         ` Icenowy Zheng
2025-08-15  6:14           ` Krzysztof Kozlowski
2025-08-14  7:07 ` [RFC PATCH 3/4] riscv: dts: thead: th1520: add reserved node for C910R mailbox Icenowy Zheng
2025-08-14  7:07 ` [RFC PATCH 4/4] riscv: dts: thead: th1520: add mailbox channel for SBI-to-AON comm Icenowy Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).