Skip to content

mailbox: mpfs-mbox: fixes and syscon support

Jamie Gibbons u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mailbox: mpfs-mbox: fix MMIO mapping calculationdrivers/mailbox/mpfs-mbox.c+2 -20 replies
2/4mailbox: mpfs-mbox: fix Driver Model private data handlingdrivers/mailbox/mpfs-mbox.c+0 -50 replies
3/4mailbox: mpfs-mbox: fix driver bug and cleanupdrivers/mailbox/mpfs-mbox.c+1 -30 replies
4/4mailbox: mpfs-mbox: support new syscon based devicetree configurationdrivers/mailbox/Kconfig drivers/mailbox/mpfs-mbox.c+74 -270 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchConor Dooley
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] mailbox: mpfs-mbox: fixes and syscon support

Hi all,

This series updates the Microchip PolarFire SoC (MPFS) mailbox driver in U-Boot.

The first three patches contain a set of bug fixes and cleanups to the existing driver, fixing MMIO size calculations, and removing invalid mailbox channel and private-data handling. These changes are independent of any devicetree updates and fix issues present in the legacy driver.

The final patch adds support for the corrected, syscon-based devicetree bindings for the MPFS mailbox. Linux has moved to this binding to more accurately model the hardware, and U-Boot already supports the same approach for the MPFS clock controller. This patch updates the mailbox driver accordingly, while retaining support for the legacy binding for backwards compatibility.

The final patch is required ASAP as boot is currently broken on master for MPFS generic boards.

Tested on a PolarFire SoC Icicle Kit ES.

Thanks,
Jamie

Jamie Gibbons (4):
mailbox: mpfs-mbox: fix MMIO mapping calculation
mailbox: mpfs-mbox: fix Driver Model private data handling
mailbox: mpfs-mbox: fix driver bug and cleanup
mailbox: mpfs-mbox: support new syscon based devicetree configuration

 drivers/mailbox/Kconfig     |   2 +
 drivers/mailbox/mpfs-mbox.c | 106 ++++++++++++++++++++++++------------
 2 files changed, 74 insertions(+), 34 deletions(-)
Signature · 1 line
2.43.0