[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210411092659.22838-1-zhiyong.tao@mediatek.com>
Date: Sun, 11 Apr 2021 17:26:54 +0800
From: Zhiyong Tao <zhiyong.tao@...iatek.com>
To: <robh+dt@...nel.org>, <linus.walleij@...aro.org>,
<mark.rutland@....com>, <matthias.bgg@...il.com>,
<sean.wang@...nel.org>
CC: <srv_heupstream@...iatek.com>, <zhiyong.tao@...iatek.com>,
<hui.liu@...iatek.com>, <eddie.huang@...iatek.com>,
<jg_poxu@...iatek.com>, <biao.huang@...iatek.com>,
<hongzhou.yang@...iatek.com>, <erin.lo@...iatek.com>,
<sean.wang@...iatek.com>, <seiya.wang@...iatek.com>,
<sj.huang@...iatek.com>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <linux-gpio@...r.kernel.org>
Subject: [PATCH v3 0/5] Mediatek pinctrl patch on mt8195
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
Powered by blists - more mailing lists