[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210625060857.3069255-1-iskren.chernev@gmail.com>
Date: Fri, 25 Jun 2021 09:08:55 +0300
From: Iskren Chernev <iskren.chernev@...il.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Iskren Chernev <iskren.chernev@...il.com>
Subject: [PATCH v3 0/2] Add Pinctrl for SM4250 and SM6115
This patch adds support for the TLMM block on QCom SM4250 and SM6115, codename
bengal. The code is taken from OnePlus repo [1], and the keyword bengal
corresponds to sm4250 and sm6115, so I'm adding both compat strings.
[1]: https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250
v1: https://lkml.org/lkml/2021/6/22/1163
v2: https://lkml.org/lkml/2021/6/25/28
Changes from v2:
- suggestions from Rob:
- remove quotes around reg-names
- use -state$ subnode regex
- suggestions from Bjorn
- remove '|' from description field
- use state def to allow arbitrary nesting
- fix gpio pattern to allow valid pin numbers
- fix number of gpio pins
- add tlmm label to example
- remove wakeup parent
- other
- add some pins in example
- removed required function
Changes from v1:
- fix binding example
- fix cover letter text
Iskren Chernev (2):
dt-bindings: pinctrl: qcom: Add SM6115 pinctrl bindings
drivers: qcom: pinctrl: Add pinctrl driver for sm6115
.../bindings/pinctrl/qcom,sm6115-pinctrl.yaml | 208 +++
drivers/pinctrl/qcom/Kconfig | 9 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm6115.c | 1482 +++++++++++++++++
4 files changed, 1700 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
create mode 100644 drivers/pinctrl/qcom/pinctrl-sm6115.c
base-commit: e71e3a48a7e89fa71fb70bf4602367528864d2ff
--
2.32.0
Powered by blists - more mailing lists