[PATCH v4 0/2] Exynos850 AP-to-APM mailbox support
Alexey Klimov <[email protected]>
| Newsgroups | org.kernel.vger.linux-samsung-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This patch series introduces support for the AP-to-APM 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. It will be appreciated if it can be tested on gs101 to make sure that I didn't break anything. Signed-off-by: Alexey Klimov <[email protected]> --- Changes in v4: - updated regs, masks types to u32 (as requested by Tudor) - device_get_match_data() moved to the beginning of probe routine (requested by Tudor) - number of channels selection moved to driver data struct, added description for that field, data->num_chans is used in probe (requested by Tudor) - new define for Exynos850 is added to hardcode the number of channels - updated trailers via b4 - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - exynos850 dts change is split out to a separate patch; - updated commit messages to a proper name AP-to-APM; - added comment "ring the doorbell" right before generating an IRQ to APM; - renamed regs callback names to intgr, intgr_shift, intmr, intmr_mask; - Link to v2: https://lore.kernel.org/r/[email protected] 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 <[email protected]>); - Link to v1: https://lore.kernel.org/r/[email protected] --- Alexey Klimov (2): dt-bindings: mailbox: google,gs101-mbox: Add samsung,exynos850-mbox mailbox: exynos: Add support for Exynos850 mailbox .../bindings/mailbox/google,gs101-mbox.yaml | 4 +- drivers/mailbox/exynos-mailbox.c | 72 ++++++++++++++++++++-- 2 files changed, 69 insertions(+), 7 deletions(-) --- base-commit: b9810cd75b9fb56a3425d391cba3f608502bd474 change-id: 20260320-exynos850-ap2apm-mailbox-cff0c8d69898 Best regards, -- Alexey Klimov <[email protected]>