[PATCH v3 0/5] Mediatek pinctrl patch on mt8195
Zhiyong Tao
zhiyong.tao at mediatek.com
Sun Apr 11 10:26:54 BST 2021
This series includes 5 patches:
1.add pinctrl file and inding document on mt8195.
2.add pinctrl device node on mt8195.
3.add pinctrl driver on MT8195.
4.add pinctrl drive for I2C related pins on MT8195.
5.add pinctrl rsel setting on MT8195.
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 (5):
dt-bindings: pinctrl: mt8195: add pinctrl file and binding document
arm64: dts: mt8195: add pinctrl device node
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 | 152 ++
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 21 +
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 ++++++++++
10 files changed, 3742 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
More information about the Linux-mediatek
mailing list