Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] SPMI: MediaTek: Add support for multi-bus
@ 2025-10-24  8:32 AngeloGioacchino Del Regno
  2025-10-24  8:32 ` [PATCH v4 1/5] dt-bindings: spmi: Add MediaTek MT8196 SPMI 2 Arbiter/Controllers AngeloGioacchino Del Regno
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-10-24  8:32 UTC (permalink / raw)
  To: sboyd
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	hsin-hsiung.wang, linux-kernel, devicetree, linux-arm-kernel,
	linux-mediatek, kernel

Changes in v4:
 - 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

-- 
2.51.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-01-16  2:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-24  8:32 [PATCH v4 0/5] SPMI: MediaTek: Add support for multi-bus AngeloGioacchino Del Regno
2025-10-24  8:32 ` [PATCH v4 1/5] dt-bindings: spmi: Add MediaTek MT8196 SPMI 2 Arbiter/Controllers AngeloGioacchino Del Regno
2025-10-24  8:32 ` [PATCH v4 2/5] spmi: mtk-pmif: Add multi-bus support for SPMI 2.0 AngeloGioacchino Del Regno
2025-10-24  8:32 ` [PATCH v4 3/5] spmi: mtk-pmif: Keep spinlock until read is fully done AngeloGioacchino Del Regno
2025-10-24  8:32 ` [PATCH v4 4/5] spmi: mtk-pmif: Implement Request Capable Slave (RCS) interrupt AngeloGioacchino Del Regno
2025-10-24  8:32 ` [PATCH v4 5/5] spmi: mtk-pmif: Add support for MT8196 SPMI Controller AngeloGioacchino Del Regno
2025-11-05 13:04 ` [PATCH v4 0/5] SPMI: MediaTek: Add support for multi-bus AngeloGioacchino Del Regno
2026-01-16  2:19 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox