Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] soc/spi: mediatek: Add MT6789 PMIC wrapper and SPI support
@ 2026-11-26  3:10 Ilia Snezhkov via B4 Relay
  2026-11-26  3:10 ` [PATCH v3 1/4] dt-bindings: soc: mediatek: pwrap: Add compatible for MT6789 Ilia Snezhkov via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ilia Snezhkov via B4 Relay @ 2026-11-26  3:10 UTC (permalink / raw)
  To: matthias.bgg, angelogioacchino.delregno, robh, krzk+dt, conor+dt,
	broonie
  Cc: flora.fu, amergnat, leilk.liu, me, devicetree, linux-spi,
	linux-mediatek, linux-arm-kernel, linux-kernel

This series continues the stalled July 2025 MediaTek MT6789 (Helio G99)
initial bring-up patches originally posted by Arseniy Velikanov (on CC):
- pwrap v1: https://lore.kernel.org/linux-mediatek/20250715225746.1321-1-me@adomerle.pw/
- spi v1:   https://lore.kernel.org/linux-mediatek/20250715231921.4527-1-me@adomerle.pw/

Original authorship and Signed-off-by are preserved on patches 1, 3,
and 4.

Changes since v2:
- Patch 2 (new): guard PWRAP_WDT_SRC_EN, PWRAP_WDT_SRC_EN_1, and cold
  pwrap_init() with !HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB) so
  arbiter SoCs (MT6873, MT8195, MT6789) do not write wdt_src to offset
  0x0 (PWRAP_INIT_DONE2) during probe.
- Patch 3 (was 2/3): add [PWRAP_INT_FLG] = 0x458 and
  [PWRAP_INT_CLR] = 0x45C to mt6789_regs[] matching PMIF-SPI bank 3
  (INT_EN at 0x450, int_en_all = 0x180000) so pwrap_interrupt() does
  not clobber offset 0x0 and leave a level-high IRQ asserted.
- Patch 4 (was 3/3): renumbered to 4/4, unchanged.

The v3 rebase and fixes were prepared with an AI coding assistant.

Base: torvalds/linux master 4dce97c6c265.

Arseniy Velikanov (3):
  dt-bindings: soc: mediatek: pwrap: Add compatible for MT6789
  soc: mediatek: mtk-pmic-pwrap: Add MT6789 support
  dt-bindings: spi: mediatek,spi-mt65xx: Add compatible for MT6789

Ilia Snezhkov (1):
  soc: mediatek: mtk-pmic-pwrap: Skip WDT source and init on arbiter SoCs

 .../bindings/soc/mediatek/mediatek,pwrap.yaml |  1 +
 .../bindings/spi/mediatek,spi-mt65xx.yaml     |  4 +++
 drivers/soc/mediatek/mtk-pmic-wrap.c          | 44 ++++++++++++++++---
 3 files changed, 43 insertions(+), 6 deletions(-)

-- 
2.54.0 (Apple Git-157)




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

end of thread, other threads:[~2026-11-26  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  3:10 [PATCH v3 0/4] soc/spi: mediatek: Add MT6789 PMIC wrapper and SPI support Ilia Snezhkov via B4 Relay
2026-11-26  3:10 ` [PATCH v3 1/4] dt-bindings: soc: mediatek: pwrap: Add compatible for MT6789 Ilia Snezhkov via B4 Relay
2026-11-26  3:10 ` [PATCH v3 2/4] soc: mediatek: mtk-pmic-pwrap: Skip WDT source and init on arbiter SoCs Ilia Snezhkov via B4 Relay
2026-11-26  3:10 ` [PATCH v3 3/4] soc: mediatek: mtk-pmic-pwrap: Add MT6789 support Ilia Snezhkov via B4 Relay
2026-11-26  3:10 ` [PATCH v3 4/4] dt-bindings: spi: mediatek,spi-mt65xx: Add compatible for MT6789 Ilia Snezhkov via B4 Relay
2026-11-26  8:11 ` [PATCH v3 0/4] soc/spi: mediatek: Add MT6789 PMIC wrapper and SPI support Roman Vivchar

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