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

Message ID 20210413055702.27535-1-zhiyong.tao@mediatek.com
Headers show
Series
  • Mediatek pinctrl patch on mt8195
Related show

Message

zhiyong tao April 13, 2021, 5:56 a.m.
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

Comments

Linus Walleij April 21, 2021, 11:51 p.m. | #1
On Tue, Apr 13, 2021 at 7:57 AM Zhiyong Tao <zhiyong.tao@mediatek.com> wrote:

> 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:


Patches 1, 2 & 3 applied!

Now you only need to resend patch 4.

Yours,
Linus Walleij
zhiyong tao April 22, 2021, 1:37 a.m. | #2
On Thu, 2021-04-22 at 01:51 +0200, Linus Walleij wrote:
> On Tue, Apr 13, 2021 at 7:57 AM Zhiyong Tao <zhiyong.tao@mediatek.com> wrote:

> 

> > 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:

> 

> Patches 1, 2 & 3 applied!

> 

> Now you only need to resend patch 4.

> 

> Yours,

> Linus Walleij


==>Thanks for your comment. we will send only patch 4 in next version.