mbox series

[GIT,PULL] pinctrl: dt-bindings: qcom: Improvements for v6.2

Message ID 20221024003747.36021-1-krzysztof.kozlowski@linaro.org
State New
Headers show
Series [GIT,PULL] pinctrl: dt-bindings: qcom: Improvements for v6.2 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt.git tags/qcom-pinctrl-6.2

Message

Krzysztof Kozlowski Oct. 24, 2022, 12:37 a.m. UTC
Hi,

All my existing Qualcomm pinctrl bindings combined, plus one Neil's.

Best regards,
Krzysztof


The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt.git tags/qcom-pinctrl-6.2

for you to fetch changes up to 1b6b54ef7c4a1f482a2a6d33a769e89877beba4e:

  dt-bindings: pinctrl: qcom,sc7180: convert to dtschema (2022-10-19 11:55:58 -0400)

----------------------------------------------------------------
Qualcomm pinctrl Devicetree bindings changes for v6.2

Big set of refactoring and improving Qualcomm pin controller bindings:
1. Convert several bindings from TXT to DT schema format: MDM9615,
   MSM8974, MSM8994, MSM8996, MSM8998, SC7180, SDM630, SDM845, SM8150.

2. Refactor existing DT schema bindings to be consistent and similar to
   each other, remove unneeded pieces (provided by common bindings) and
   unify the style.

2. Fix matching of the existing DT schema bindings, so they properly
   validate the DTS.  When looking for pin configuration (children
   nodes), be specific and expect "state" or "pins" suffixes (depending
   on the nesting.  This allows the schema later to properly parse also
   GPIO hogs, although it is not yet implemented.  The changes require
   aligning the DTS to new layout, but it does not break any
   compatibility.

----------------------------------------------------------------
Krzysztof Kozlowski (86):
      dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: fix gpio pattern
      dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: fix gpio pattern
      dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: fix matching pin config
      dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: fix matching pin config
      dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: fix matching pin config
      dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: fix matching pin config
      dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: add bias-bus-hold
      dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: add bias-bus-hold and input-enable
      dt-bindings: pinctrl: qcom,tlmm-common: add common check for function
      dt-bindings: pinctrl: qcom,ipq6018: add qpic_pad function
      dt-bindings: pinctrl: qcom,ipq6018: correct BLSP6->BLSP0 functions
      dt-bindings: pinctrl: qcom,ipq6018: increase number of pins in pinmux
      dt-bindings: pinctrl: qcom,ipq6018: fix matching pin config
      dt-bindings: pinctrl: qcom,ipq6018: use common TLMM schema
      dt-bindings: pinctrl: qcom,ipq6018: fix indentation in example
      dt-bindings: pinctrl: qcom,msm8226: fix matching pin config
      dt-bindings: pinctrl: qcom,msm8226: use common TLMM schema
      dt-bindings: pinctrl: qcom,msm8226: add functions and input-enable
      dt-bindings: pinctrl: qcom,msm8226: fix indentation in example
      dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config
      dt-bindings: pinctrl: qcom,msm8909-tlmm: do not require function on non-GPIOs
      dt-bindings: pinctrl: qcom,msm8909-tlmm: fix indentation in example
      dt-bindings: pinctrl: qcom,msm8953: fix matching pin config
      dt-bindings: pinctrl: qcom,msm8953: use common TLMM schema
      dt-bindings: pinctrl: qcom,msm8953: fix indentation in example
      dt-bindings: pinctrl: qcom,mdm9607: do not require function on non-GPIOs
      dt-bindings: pinctrl: qcom,mdm9607: fix indentation in example
      dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config
      dt-bindings: pinctrl: qcom,qcm2290: use common TLMM schema
      dt-bindings: pinctrl: qcom,sdx55: fix matching pin config
      dt-bindings: pinctrl: qcom,sdx55: use common TLMM schema
      dt-bindings: pinctrl: qcom,sdx55: fix indentation in example
      dt-bindings: pinctrl: qcom,sdx65: fix matching pin config
      dt-bindings: pinctrl: qcom,sdx65: use common TLMM schema
      dt-bindings: pinctrl: qcom,sc7280: fix matching pin config
      dt-bindings: pinctrl: qcom,sc8280xp: fix indentation in example (remaining piece)
      dt-bindings: pinctrl: qcom,sdm845: convert to dtschema
      dt-bindings: pinctrl: qcom,sdm630: convert to dtschema
      dt-bindings: pinctrl: qcom,sm8250: add gpio-reserved-ranges and gpio-line-names
      dt-bindings: pinctrl: qcom,sm8250: use common TLMM pin schema
      dt-bindings: pinctrl: qcom,sm8250: fix matching pin config
      dt-bindings: pinctrl: qcom,sm8250: add input-enable
      dt-bindings: pinctrl: qcom,sc7280: correct number of GPIOs
      dt-bindings: pinctrl: qcom,sc7280: add bias-bus-hold and input-enable
      dt-bindings: pinctrl: qcom,sc7280: use common TLMM pin schema
      dt-bindings: pinctrl: qcom,ipq6018: replace maintainer
      dt-bindings: pinctrl: qcom,mdm9607: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sc8180x: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sc8180x: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sc8280xp: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sm6115: use common TLMM schema
      dt-bindings: pinctrl: qcom,sm6125: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sm6125: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sm6350: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sm6350: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sm6375-tlmm: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sm6375-tlmm: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sm8250: use common TLMM schema
      dt-bindings: pinctrl: qcom,sm8350: drop ref to pinctrl.yaml
      dt-bindings: pinctrl: qcom,sm8350: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,sm8450: drop checks used in common TLMM
      dt-bindings: pinctrl: qcom,mdm9607-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,msm8909-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,qcm2290-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sdx65-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sc8180x-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sc8280xp-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm6115-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm6125-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm6350-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm6375-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm8250: minor style cleanups
      dt-bindings: pinctrl: qcom,sm8350-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sm8450-tlmm: minor style cleanups
      dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: minor style cleanups
      dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: minor style cleanups
      dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: minor style cleanups
      dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: minor style cleanups
      dt-bindings: pinctrl: qcom: adjust description
      dt-bindings: pinctrl: qcom,sm8150: convert to dtschema
      dt-bindings: pinctrl: qcom,msm8998: convert to dtschema
      dt-bindings: pinctrl: qcom,msm8996: convert to dtschema
      dt-bindings: pinctrl: qcom,msm8994: convert to dtschema
      dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
      dt-bindings: pinctrl: qcom,msm8974: convert to dtschema
      dt-bindings: pinctrl: qcom,sc7180: convert to dtschema

Neil Armstrong (1):
      dt-bindings: pinctrl: convert qcom,mdm9615-pinctrl.txt to dt-schema

 .../bindings/pinctrl/qcom,ipq6018-pinctrl.yaml     | 113 +++++------
 ...mdm9607-pinctrl.yaml => qcom,mdm9607-tlmm.yaml} |  41 ++--
 .../bindings/pinctrl/qcom,mdm9615-pinctrl.txt      | 161 ----------------
 .../bindings/pinctrl/qcom,mdm9615-pinctrl.yaml     | 119 ++++++++++++
 .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml     | 103 ++++------
 .../bindings/pinctrl/qcom,msm8909-tlmm.yaml        |  75 ++++----
 .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml     |  97 ++++------
 .../bindings/pinctrl/qcom,msm8974-pinctrl.txt      | 121 ------------
 .../bindings/pinctrl/qcom,msm8974-pinctrl.yaml     | 179 ++++++++++++++++++
 .../bindings/pinctrl/qcom,msm8994-pinctrl.txt      | 186 ------------------
 .../bindings/pinctrl/qcom,msm8994-pinctrl.yaml     | 162 ++++++++++++++++
 .../bindings/pinctrl/qcom,msm8996-pinctrl.txt      | 208 ---------------------
 .../bindings/pinctrl/qcom,msm8996-pinctrl.yaml     | 182 ++++++++++++++++++
 .../bindings/pinctrl/qcom,msm8998-pinctrl.txt      | 202 --------------------
 .../bindings/pinctrl/qcom,msm8998-pinctrl.yaml     | 171 +++++++++++++++++
 ...qcm2290-pinctrl.yaml => qcom,qcm2290-tlmm.yaml} |  64 ++-----
 .../bindings/pinctrl/qcom,sc7180-pinctrl.txt       | 187 ------------------
 .../bindings/pinctrl/qcom,sc7180-pinctrl.yaml      | 158 ++++++++++++++++
 .../pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml     |  48 +++--
 .../bindings/pinctrl/qcom,sc7280-pinctrl.yaml      |  47 ++---
 ...sc8180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} |  29 +--
 .../pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml   |  44 ++++-
 ...8280xp-pinctrl.yaml => qcom,sc8280xp-tlmm.yaml} |  28 +--
 .../bindings/pinctrl/qcom,sdm630-pinctrl.yaml      | 188 +++++++++++++++++++
 .../bindings/pinctrl/qcom,sdm660-pinctrl.txt       | 191 -------------------
 .../bindings/pinctrl/qcom,sdm845-pinctrl.txt       | 176 -----------------
 .../bindings/pinctrl/qcom,sdm845-pinctrl.yaml      | 158 ++++++++++++++++
 .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml       |  95 ++++------
 ...com,sdx65-pinctrl.yaml => qcom,sdx65-tlmm.yaml} |  62 ++----
 ...m,sm6115-pinctrl.yaml => qcom,sm6115-tlmm.yaml} |  67 ++-----
 ...m,sm6125-pinctrl.yaml => qcom,sm6125-tlmm.yaml} |  32 +---
 ...m,sm6350-pinctrl.yaml => qcom,sm6350-tlmm.yaml} |  25 +--
 .../bindings/pinctrl/qcom,sm6375-tlmm.yaml         |  23 +--
 .../bindings/pinctrl/qcom,sm8150-pinctrl.txt       | 190 -------------------
 .../bindings/pinctrl/qcom,sm8150-pinctrl.yaml      | 173 +++++++++++++++++
 .../pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml     |  58 ++++--
 .../bindings/pinctrl/qcom,sm8250-pinctrl.yaml      | 206 +++++++++-----------
 ...m,sm8350-pinctrl.yaml => qcom,sm8350-tlmm.yaml} |  25 +--
 .../pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml     |  51 ++++-
 ...m,sm8450-pinctrl.yaml => qcom,sm8450-tlmm.yaml} |  24 +--
 .../bindings/pinctrl/qcom,tlmm-common.yaml         |  20 +-
 41 files changed, 2082 insertions(+), 2407 deletions(-)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,mdm9607-pinctrl.yaml => qcom,mdm9607-tlmm.yaml} (84%)
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.yaml
 rename Documentation/devicetree/bindings/pinctrl/{qcom,qcm2290-pinctrl.yaml => qcom,qcm2290-tlmm.yaml} (76%)
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sc7180-pinctrl.yaml
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sc8180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} (88%)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sc8280xp-pinctrl.yaml => qcom,sc8280xp-tlmm.yaml} (89%)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm630-pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm660-pinctrl.txt
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sdx65-pinctrl.yaml => qcom,sdx65-tlmm.yaml} (85%)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sm6115-pinctrl.yaml => qcom,sm6115-tlmm.yaml} (75%)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sm6125-pinctrl.yaml => qcom,sm6125-tlmm.yaml} (87%)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sm6350-pinctrl.yaml => qcom,sm6350-tlmm.yaml} (90%)
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sm8350-pinctrl.yaml => qcom,sm8350-tlmm.yaml} (89%)
 rename Documentation/devicetree/bindings/pinctrl/{qcom,sm8450-pinctrl.yaml => qcom,sm8450-tlmm.yaml} (89%)

Comments

Linus Walleij Oct. 24, 2022, 8:12 a.m. UTC | #1
On Mon, Oct 24, 2022 at 2:37 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:

> All my existing Qualcomm pinctrl bindings combined, plus one Neil's.

Excellent Krzysztof, pulled into my devel branch for v6.2 and merged
cleanly!

Yours.
Linus Walleij