[PATCH v2 0/3] Exynos850 APM-to-AP mailbox support

Alexey Klimov
2026-04-02T02:20:39Z

This patch series introduces support for the APM-to-AP mailbox on the
Exynos850 SoC. This mailbox is required for communicating with the APM
co-processor using ACPM.

The Exynos850 mailbox operates similarly to the existing gs101
implementation, but the register offsets and IRQ mask bits differ.
This series abstracts these differences into platform-specific data
structures matched via the device tree.

Also, it requires APM-to-AP mailbox clock in CMU_APM block. These
were marged already (thanks Krzysztof!) so they are dropped from
this v2.

Please also advice if mailbox change should be split out as a separate
patch.

Will be appreciated if it can be tested on gs101 to make sure that I
didn't break anything, I don't have dev gs101 devices.

Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
---
Changes in v2:
- dropped clock patches (they seem to be merged);
- patch 3: updated commit description mentioning that
exynos850 is not compatible to gs101 mbox (as suggested by Krzysztof);
- fixed comment description for struct exynos_mbox_driver_data
(reported by kernel test robot <lkp@intel.com>);
- Link to v1: https://lore.kernel.org/r/20260320-exynos850-ap2apm-mailbox-v1-0-983eb3f296fc@linaro.org

---
Alexey Klimov (3):
dt-bindings: mailbox: google,gs101-mbox: Add samsung,exynos850-mbox
mailbox: exynos: Add support for Exynos850 mailbox
arm64: dts: exynos850: Add ap2apm mailbox

.../bindings/mailbox/google,gs101-mbox.yaml | 4 +-
arch/arm64/boot/dts/exynos/exynos850.dtsi | 9 +++
drivers/mailbox/exynos-mailbox.c | 67 +++++++++++++++++++++-
3 files changed, 76 insertions(+), 4 deletions(-)
---
base-commit: bd0f139e5fc11182777b81cefc3893ea508544ec
change-id: 20260320-exynos850-ap2apm-mailbox-cff0c8d69898

Best regards,
--
Alexey Klimov <alexey.klimov@linaro.org>