mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add support for mt6878 pinctrl
@ 2025-09-14 14:51 Igor Belwon
  2025-09-14 14:51 ` [PATCH v2 1/4] dt-bindings: pinctrl: mediatek: Document MT6878 pin controller bindings Igor Belwon
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Igor Belwon @ 2025-09-14 14:51 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno, Sean Wang
  Cc: linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Igor Belwon

Hi all,

This patchset adds support for the pin controller found in the MediaTek
MT6878 SoC. This SoC has 9 pinctrl groups, and 4 EINT controller
instances.

This SoC also uses the new "eh" bit for controlling i2c driving, support
for which is also added here.

Changes in V2:
- (Krzysztof) Move over the pinfunc macro header to dts directory
- (Angelo) Drop useless eh bit commit
- (Angelo) Fix s-o-b on debounce times
- (Angelo) Massively simplify pinctrl driver, use PIN_FIELD macro,
  change eh to drv_adv

Kind regards,
Igor

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
Igor Belwon (4):
      dt-bindings: pinctrl: mediatek: Document MT6878 pin controller bindings
      pinctrl: mediatek: Add debounce times for MT6878
      pinctrl: mediatek: Add support for MT6878 pinctrl
      arm64: dts: mediatek: Add MT6878 pinmux macro header file

 .../bindings/pinctrl/mediatek,mt6878-pinctrl.yaml  |  210 ++
 arch/arm64/boot/dts/mediatek/mt6878-pinfunc.h      | 1201 +++++++++++
 drivers/pinctrl/mediatek/Kconfig                   |   10 +
 drivers/pinctrl/mediatek/Makefile                  |    1 +
 drivers/pinctrl/mediatek/mtk-eint.c                |    5 +
 drivers/pinctrl/mediatek/mtk-eint.h                |    1 +
 drivers/pinctrl/mediatek/pinctrl-mt6878.c          | 1478 +++++++++++++
 drivers/pinctrl/mediatek/pinctrl-mtk-mt6878.h      | 2248 ++++++++++++++++++++
 8 files changed, 5154 insertions(+)
---
base-commit: 9bee9db994df9f1a2572e3ecd61996fbe9a871b0
change-id: 20250908-mt6878-pinctrl-support-a1d117140efb

Best regards,
-- 
Igor Belwon <igor.belwon@mentallysanemainliners.org>


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

end of thread, other threads:[~2025-09-15  7:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-14 14:51 [PATCH v2 0/4] Add support for mt6878 pinctrl Igor Belwon
2025-09-14 14:51 ` [PATCH v2 1/4] dt-bindings: pinctrl: mediatek: Document MT6878 pin controller bindings Igor Belwon
2025-09-15  7:28   ` AngeloGioacchino Del Regno
2025-09-14 14:52 ` [PATCH v2 2/4] pinctrl: mediatek: Add debounce times for MT6878 Igor Belwon
2025-09-15  7:27   ` AngeloGioacchino Del Regno
2025-09-14 14:52 ` [PATCH v2 3/4] pinctrl: mediatek: Add support for MT6878 pinctrl Igor Belwon
2025-09-15  7:27   ` AngeloGioacchino Del Regno
2025-09-14 14:52 ` [PATCH v2 4/4] arm64: dts: mediatek: Add MT6878 pinmux macro header file Igor Belwon

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

all inboxes | Powered by JetHome®