[PATCH v4 0/4] Mediatek pinctrl patch on mt8195

From: Zhiyong Tao
Date: Tue Apr 13 2021 - 01:57:43 EST


This series includes 4 patches:
1.add pinctrl file and inding document on mt8195.
2.add pinctrl driver on MT8195.
3.add pinctrl drive for I2C related pins on MT8195.
4.add pinctrl rsel setting on MT8195.

Changes in patch v4:
1)fix pinctrl-mt8195.yaml warning error.
2)remove pinctrl device node patch which is based on "mt8195.dtsi".

Changes in patch v3:
1)change '^pins' to '-pins$'.
2)change 'state_0_node_a' to 'gpio_pin' which is defined in dts.
3)change 'state_0_node_b' to 'i2c0_pin' which is defined in dts.
4)reorder this series patches. change pinctrl file and binding document
together in one patch.

There are no changes in v1 & v2.

Zhiyong Tao (4):
dt-bindings: pinctrl: mt8195: add pinctrl file and binding document
pinctrl: add pinctrl driver on mt8195
pinctrl: add drive for I2C related pins on MT8195
pinctrl: add rsel setting on MT8195

.../bindings/pinctrl/pinctrl-mt8195.yaml | 151 ++
drivers/pinctrl/mediatek/Kconfig | 6 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt8195.c | 872 +++++++++
.../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 28 +
.../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 15 +
drivers/pinctrl/mediatek/pinctrl-mtk-mt8195.h | 1669 +++++++++++++++++
drivers/pinctrl/mediatek/pinctrl-paris.c | 16 +
include/dt-bindings/pinctrl/mt8195-pinfunc.h | 962 ++++++++++
9 files changed, 3720 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8195.yaml
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8195.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8195.h
create mode 100644 include/dt-bindings/pinctrl/mt8195-pinfunc.h

--
2.18.0