[PATCH 0/6] arm: socfpga: iossm: code cleanup

Michael Tretter
2026-04-16T15:26:37Z

There are a few surprises in the iossm_mailbox code that seem
unnecessary or even confusing. Cleanup the code in an attempt to make it
less convoluted and easier to read and understand.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (6):
arm: socfpga: iossm: make io96b_cal_status static
arm: socfpga: iossm: use readl_poll_timeout
arm: socfpga: iossm: remove duplicate read of response status
arm: socfpga: iossm: remove multiple read of status_addr
arm: socfpga: iossm: change io96b_csr_addr to void *
arm: socfpga: iossm: extract io96b_mb_init_instance

arch/arm/mach-socfpga/agilex5-sdram.c | 6 +-
arch/arm/mach-socfpga/iossm_mailbox.c | 216 +++++++++++++++-------------------
arch/arm/mach-socfpga/iossm_mailbox.h | 7 +-
3 files changed, 104 insertions(+), 125 deletions(-)
---
base-commit: 2f83a1e9e4ecf9f2fe1948550801c27a60769d2b
change-id: 20260416-socfpga-agilex5-iossm-cleanup-9b249f123e15

Best regards,
--
Michael Tretter <m.tretter@pengutronix.de>