[PATCH v3 0/2] MediaTek Helio X10 MT6795 - Pinctrl driver

From: AngeloGioacchino Del Regno
Date: Thu May 05 2022 - 04:38:07 EST


In an effort to give some love to the apparently forgotten MT6795 SoC,
I am upstreaming more components that are necessary to support platforms
powered by this one apart from a simple boot to serial console.

This series introduces a pinctrl driver for the Helio X10 SoC.

Tested on a Sony Xperia M5 (codename "Holly") smartphone.

Changes in v3:
- Fixed $id in yaml file

Changes in v2:
- Reordered commits, dt-bindings first, driver last
- Fixed yaml issues

AngeloGioacchino Del Regno (2):
dt-bindings: pinctrl: Add MediaTek MT6795 pinctrl bindings
pinctrl: mediatek: Add pinctrl driver for MT6795 Helio X10

.../pinctrl/mediatek,pinctrl-mt6795.yaml | 224 +++
drivers/pinctrl/mediatek/Kconfig | 7 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt6795.c | 623 ++++++
drivers/pinctrl/mediatek/pinctrl-mtk-mt6795.h | 1698 +++++++++++++++++
include/dt-bindings/pinctrl/mt6795-pinfunc.h | 908 +++++++++
6 files changed, 3461 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt6795.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt6795.h
create mode 100644 include/dt-bindings/pinctrl/mt6795-pinfunc.h

--
2.35.1