Skip to content

Add support for Broadcom iProc mailbox controller

Florian Fainelli linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 3 patches 0 repliesNew

Patches in v4 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] Add support for Broadcom iProc mailbox controller
Quoted 1 line · Jonathan Richardson

Pinging maintainer. Jassi, have you had a chance to look at this yet? Thanks.

Jassi did provide some feedback, should we expect a v5 at some point? Thanks

Quoted 40 lines · Jonathan Richardson
Quoted 37 lines

This patch set contains mailbox support for Broadcom iProc based SoC's. The mailbox controller handles all communication with a Cortex-M0 MCU processor that provides support for power, clock, and reset management. The mailbox controller for Cygnus is enabled in DT.

Changes from v3:
- DT changes merged into one commit.

Changes from v2:
- Fixed binding to remove leading 0 (Rob's comment). Also added more detail as suggested by Jassi.
- Added changelog to dt binding and enable dts commits.
- Changed year in copyright in bcm_iproc_mailbox.h.
- Changes to bcm-cygnus.dtsi were prematurely merged into the mainline after Rob acked the DT changes but Jassi suggested changes to the mailbox driver. The result was that the mailbox controller node and changes to the crmu gpio driver to enable interrupt handling were incorrectly added to the dtsi. A commit is included in this patchset to revert those changes. Enabling interrupt handling in the the crmu gpio driver will be introduced when the interrupt controller driver is added to provide mailbox interrupt support.

Jonathan Richardson (3):
dt-bindings: Document Broadcom iProc mailbox controller driver
mailbox: Add iProc mailbox controller driver
ARM: dts: Enable Broadcom iProc mailbox controller

 .../bindings/mailbox/brcm,iproc-mailbox.txt        |  18 ++
 arch/arm/boot/dts/bcm-cygnus.dtsi                  |   8 +-
 drivers/mailbox/Kconfig                            |  10 ++
 drivers/mailbox/Makefile                           |   2 +
 drivers/mailbox/bcm-iproc-mailbox.c                | 199 +++++++++++++++++++++
 include/linux/mailbox/bcm_iproc_mailbox.h          |  32 ++++
 6 files changed, 262 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,iproc-mailbox.txt
 create mode 100644 drivers/mailbox/bcm-iproc-mailbox.c
 create mode 100644 include/linux/mailbox/bcm_iproc_mailbox.h
Signature · 1 line
Florian