Re: [PATCH v4 0/5] SPMI: MediaTek: Add support for multi-bus

From: AngeloGioacchino Del Regno

Date: Wed Nov 05 2025 - 08:04:58 EST


Il 24/10/25 10:32, AngeloGioacchino Del Regno ha scritto:
Changes in v4:

Gentle ping for this series.

Cheers,
Angelo

- Refactored IRQ domain handling due to deprecation of function
irq_domain_add_tree() to use the new irq_domain_create_tree()
- Added .irq_eoi() callback for rcs_irq as that better reflects
the actual functionality of this interrupt controller (as its
SLV_x_y_EINT registers are really signaling "EOI", not "ACK")
- Fixed to use generic_handle_domain_irq_safe() to avoid races
- Tested again on MT8196 Chromebook

Changes in v3:
- Added Fixes tag to commit 3, collected R-b tag from wenst

Changes in v2:
- Fixed indentation error in dt-bindings

This series adds basic support for multi-bus (multi-master) SPMI
controllers, as found in the MediaTek MT8196 Chromebook SoC and
the MediaTek MT6991 Dimensity 9400 Smartphone SoC, including RCS
interrupt handling and per-bus registration.

AngeloGioacchino Del Regno (5):
dt-bindings: spmi: Add MediaTek MT8196 SPMI 2 Arbiter/Controllers
spmi: mtk-pmif: Add multi-bus support for SPMI 2.0
spmi: mtk-pmif: Keep spinlock until read is fully done
spmi: mtk-pmif: Implement Request Capable Slave (RCS) interrupt
spmi: mtk-pmif: Add support for MT8196 SPMI Controller

.../bindings/spmi/mediatek,mt8196-spmi.yaml | 138 +++++
drivers/spmi/spmi-mtk-pmif.c | 472 +++++++++++++++---
2 files changed, 530 insertions(+), 80 deletions(-)
create mode 100644 Documentation/devicetree/bindings/spmi/mediatek,mt8196-spmi.yaml