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

-- 
2.43.0

Reply via email to