devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mailbox: add Cixtech mailbox driver
@ 2025-03-25 10:18 Guomin Chen
  2025-03-25 10:18 ` [PATCH v2 1/2] dt-bindings: mailbox: add cix,sky1-mbox Guomin Chen
  2025-03-25 10:18 ` [PATCH v2 2/2] mailbox: add Cixtech mailbox driver Guomin Chen
  0 siblings, 2 replies; 12+ messages in thread
From: Guomin Chen @ 2025-03-25 10:18 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-kernel, devicetree, cix-kernel-upstream, Guomin Chen

From: Guomin Chen <Guomin.Chen@cixtech.com>

The Cixtech mailbox controller, used in the Cixtech Sky1 SoC,
is used for message transmission between multiple processors
within the SoC, such as the AP, PM, audio DSP, SensorHub MCU,
and others.

The Cixtech mailbox is unidirectional, so it typically operates in
pairs—one for reading and one for writing.

Each Cixtech mailbox supports 11 channels with different transmission
modes:
 channel 0-7 - Fast channel with 32bit transmit register and IRQ support
 channel 8   - Doorbell mode,using the mailbox as an interrupt-generating
                mechanism.
 channel 9   - Fifo based channel with 32*32bit depth fifo and IRQ support
 channel 10  - Reg based channel with 32*32bit transmit register and
                Doorbell+transmit acknowledgment IRQ support

Changes for v2:
- Update the Subject title.
- Rename the bindings file to be based on compatible: cix,sky1-mbox

---
Guomin Chen (2):
  dt-bindings: mailbox: add cix,sky1-mbox
  mailbox: add Cixtech mailbox driver

 .../bindings/mailbox/cix,sky1-mbox.yaml       |  80 +++
 drivers/mailbox/Kconfig                       |  10 +
 drivers/mailbox/Makefile                      |   2 +
 drivers/mailbox/cixtech-mailbox.c             | 633 ++++++++++++++++++
 4 files changed, 725 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/cix,sky1-mbox.yaml
 create mode 100644 drivers/mailbox/cixtech-mailbox.c

-- 
2.34.1


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

end of thread, other threads:[~2025-03-28  8:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 10:18 [PATCH v2 0/2] mailbox: add Cixtech mailbox driver Guomin Chen
2025-03-25 10:18 ` [PATCH v2 1/2] dt-bindings: mailbox: add cix,sky1-mbox Guomin Chen
2025-03-25 10:36   ` Krzysztof Kozlowski
2025-03-28  3:13     ` Guomin chen
2025-03-28  7:12       ` Krzysztof Kozlowski
2025-03-28  8:49         ` Guomin chen
2025-03-25 12:55   ` Rob Herring (Arm)
2025-03-25 13:35     ` Guomin chen
2025-03-25 14:01       ` Rob Herring
2025-03-25 10:18 ` [PATCH v2 2/2] mailbox: add Cixtech mailbox driver Guomin Chen
2025-03-25 10:39   ` Krzysztof Kozlowski
2025-03-25 13:44     ` Guomin chen

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).