[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220216032124.28067-1-guodong.liu@mediatek.com>
Date: Wed, 16 Feb 2022 11:21:21 +0800
From: Guodong Liu <guodong.liu@...iatek.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Sean Wang <sean.wang@...nel.org>
CC: Sean Wang <sean.wang@...iatek.com>, <linux-gpio@...r.kernel.org>,
<devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
Guodong Liu <guodong.liu@...iatek.com>
Subject: [PATCH v5 0/3] pinctrl: mediatek: Support pinctrl driver on mt8186
changes since v4:
- update mt8186 pull up RSEL type define value
- update mt8186 pull up RSEL type si unit value(ohm)
- update macro definition name
- update mt8186 bias resistance selectio register description
changes since v3:
- remove generic descriptions for common properties
- remove quotes
- drop "."
- drop "-" on description
- move partial "bias-pull-up" description info to the example
- don't break the code into two lines, maximux 84 columns is fine
- add the required fixes tag
changes since v2:
- update reg property
- update reg-names property
- sync rsel resistance selection property same as patch 3
- repair constraints is not indented correctly for bias-pull-{up,down}
- add "type: boolean" to the list of valid values. This corresponds to having bias-pull-{up,down} without any arguments.
- add dual file license for file "mt8186-pinfunc.h"
- add patch 3 to change "mediatek,rsel_resistance_in_si_unit" to "mediatek,rsel-resistance-in-si-unit"
changes since v1:
- add default pinctrl config to consistent with other MTK pinctrl drivers
Patch 1 add pinctrl file and binding document.
Patch 2 add pinctrl chip driver on mt8186.
Patch 3 canonical rsel resistance selection property.
Guodong Liu (3):
dt-bindings: pinctrl: mt8186: add pinctrl file and binding document
pinctrl: add pinctrl driver on mt8186
pinctrl: canonical rsel resistance selection property
.../bindings/pinctrl/pinctrl-mt8186.yaml | 297 +++
drivers/pinctrl/mediatek/Kconfig | 7 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt8186.c | 1271 ++++++++++
drivers/pinctrl/mediatek/pinctrl-mtk-mt8186.h | 2186 +++++++++++++++++
drivers/pinctrl/mediatek/pinctrl-paris.c | 2 +-
include/dt-bindings/pinctrl/mt8186-pinfunc.h | 1174 +++++++++
7 files changed, 4937 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8186.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8186.h
create mode 100644 include/dt-bindings/pinctrl/mt8186-pinfunc.h
--
2.25.1
Powered by blists - more mailing lists