[RFC PATCH 0/4] riscv: dts: thead: th1520: Add mailbox for SBI-to-AON comm

Icenowy Zheng posted 4 patches 1 month, 3 weeks ago
.../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(-)
[RFC PATCH 0/4] riscv: dts: thead: th1520: Add mailbox for SBI-to-AON comm
Posted by Icenowy Zheng 1 month, 3 weeks ago
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