mbox series

[GIT,PULL] ARM: dts/drivers: samsung pinctrl for v5.18

Message ID 20220129115352.13274-1-krzysztof.kozlowski@canonical.com (mailing list archive)
State New
Headers show
Series [GIT,PULL] ARM: dts/drivers: samsung pinctrl for v5.18 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-pinctrl-5.18

Message

Krzysztof Kozlowski Jan. 29, 2022, 11:53 a.m. UTC
Hi Arnd and Olof,

There is quite a lot of changes in Samsung these days, so I am sending this one
very early. It's also a controversial one because it combines pinctrl
driver+dts into one. I mentioned it before in [1].

The pinctrl driver changes have to go before DTS. The DTS has to go with
dtschema, so the dtschema checks won't complain with warnings.

The pinctrl driver changes are coming from my Samsung pinctrl repository and I
will send them later also to Linus Walleij.

Linus,
I will send the pinctrl driver bits in separate pull to you.

[1] https://lore.kernel.org/all/CAOesGMg2eH1B94h+etPBDW3B1LMeHBytz0v2e0GfVRDv8gU0YA@mail.gmail.com/

Best regards,
Krzysztof


The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

  Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-pinctrl-5.18

for you to fetch changes up to 41bd4354a1513afa4a9dd9940d8cd790fbd00e68:

  arm64: dts: exynos: use dedicated wake-up pinctrl compatible in ExynosAutov9 (2022-01-23 17:54:59 +0100)

----------------------------------------------------------------
Samsung pinctrl DTS and driver changes for v5.18

Conversion of Samsung pinctrl bindings to dtschema followed up with
alignment of DTS files to the dtschema.

The entire work consists of three parts but everything should be merged
at once to avoid dtschema check errors:
1. Samsung pinctrl driver change necessary to accept new DTS (driver
   depends on node names and this has to be adjusted because of dtschema).
2. Conversion to dtschema which brings requirement of different naming
   of the GPIO nodes.
3. DTS commits depending on driver (1) above, which convert all GPIO pin
   bank names to new naming, required by dtschema.
   This also includes few cleanups around DTS which are here to avoid
   any merge conflicts.

The Samsung pinctrl driver changes are backwards compatible.  However
the DTS changes (renaming nodes) could cause problems in out-of-tree or
other project implementations of the driver.

----------------------------------------------------------------
Krzysztof Kozlowski (28):
      pinctrl: samsung: drop pin banks references on error paths
      pinctrl: samsung: accept GPIO bank nodes with a suffix
      dt-bindings: pinctrl: samsung: convert to dtschema
      dt-bindings: pinctrl: samsung: describe Exynos850 and ExynosAutov9 wake-ups
      pinctrl: samsung: add support for Exynos850 and ExynosAutov9 wake-ups
      Merge tag 'samsung-pinctrl-5.18' of https://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/samsung into for-v5.18/dt-pinctrl
      ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
      ARM: dts: exynos: drop unused pinctrl defines in Exynos3250
      ARM: dts: exynos: simplify PMIC DVS pin configuration in Odroid XU
      ARM: dts: exynos: override pins by label in Peach Pit
      ARM: dts: exynos: simplify PMIC DVS pin configuration in Peach Pit
      ARM: dts: exynos: override pins by label in Peach Pi
      ARM: dts: exynos: simplify PMIC DVS pin configuration in Peach Pi
      ARM: dts: s3c64xx: drop unneeded pinctrl wake-up interrupt mapping
      ARM: dts: exynos: align pinctrl with dtschema in Exynos3250
      ARM: dts: exynos: align pinctrl with dtschema in Exynos4210
      ARM: dts: exynos: align pinctrl with dtschema in Exynos4412
      ARM: dts: exynos: align pinctrl with dtschema in Exynos5250
      ARM: dts: exynos: align pinctrl with dtschema in Exynos5260
      ARM: dts: exynos: align pinctrl with dtschema in Exynos5410
      ARM: dts: exynos: align pinctrl with dtschema in Exynos542x/5800
      arm64: dts: exynos: align pinctrl with dtschema in Exynos5433
      arm64: dts: exynos: align pinctrl with dtschema in Exynos7
      arm64: dts: exynos: align pinctrl with dtschema in ExynosAutov9
      ARM: dts: s3c24xx: align pinctrl with dtschema
      ARM: dts: s3c64xx: align pinctrl with dtschema
      ARM: dts: s5pv210: align pinctrl with dtschema
      arm64: dts: exynos: use dedicated wake-up pinctrl compatible in ExynosAutov9

Sam Protsenko (1):
      pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios

 .../pinctrl/samsung,pinctrl-gpio-bank.yaml         |  52 +++
 .../bindings/pinctrl/samsung,pinctrl-pins-cfg.yaml |  81 +++++
 .../pinctrl/samsung,pinctrl-wakeup-interrupt.yaml  | 106 ++++++
 .../bindings/pinctrl/samsung,pinctrl.yaml          | 392 +++++++++++++++++++++
 .../bindings/pinctrl/samsung-pinctrl.txt           | 383 --------------------
 MAINTAINERS                                        |   2 +-
 arch/arm/boot/dts/exynos3250-artik5.dtsi           |  10 +-
 arch/arm/boot/dts/exynos3250-pinctrl.dtsi          | 165 ++++-----
 arch/arm/boot/dts/exynos4210-i9100.dts             |  30 +-
 arch/arm/boot/dts/exynos4210-origen.dts            |   2 +-
 arch/arm/boot/dts/exynos4210-pinctrl.dtsi          | 226 ++++++------
 arch/arm/boot/dts/exynos4210-smdkv310.dts          |   4 +-
 arch/arm/boot/dts/exynos4210-trats.dts             |   6 +-
 arch/arm/boot/dts/exynos4210-universal_c210.dts    |  12 +-
 arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi        |   4 +-
 arch/arm/boot/dts/exynos4412-itop-elite.dts        |   2 +-
 arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi    |   2 +-
 arch/arm/boot/dts/exynos4412-midas.dtsi            |  30 +-
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi    |   8 +-
 arch/arm/boot/dts/exynos4412-odroidx.dts           |   2 +-
 arch/arm/boot/dts/exynos4412-origen.dts            |   4 +-
 arch/arm/boot/dts/exynos4412-p4note.dtsi           |  44 +--
 arch/arm/boot/dts/exynos4412-pinctrl.dtsi          | 252 ++++++-------
 arch/arm/boot/dts/exynos4412-smdk4412.dts          |   4 +-
 arch/arm/boot/dts/exynos5250-arndale.dts           |   2 +-
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi          | 222 ++++++------
 arch/arm/boot/dts/exynos5250-smdk5250.dts          |   2 +-
 arch/arm/boot/dts/exynos5250-snow-common.dtsi      |  22 +-
 arch/arm/boot/dts/exynos5250-snow-rev5.dts         |   2 +-
 arch/arm/boot/dts/exynos5250-snow.dts              |   2 +-
 arch/arm/boot/dts/exynos5250-spring.dts            |  20 +-
 arch/arm/boot/dts/exynos5260-pinctrl.dtsi          | 148 ++++----
 arch/arm/boot/dts/exynos5260-xyref5260.dts         |   2 +-
 arch/arm/boot/dts/exynos5410-odroidxu.dts          |  22 +-
 arch/arm/boot/dts/exynos5410-pinctrl.dtsi          | 170 ++++-----
 arch/arm/boot/dts/exynos5410-smdk5410.dts          |   4 +-
 arch/arm/boot/dts/exynos5420-arndale-octa.dts      |   2 +-
 arch/arm/boot/dts/exynos5420-peach-pit.dts         |  89 +++--
 arch/arm/boot/dts/exynos5420-pinctrl.dtsi          | 194 +++++-----
 arch/arm/boot/dts/exynos5420-smdk5420.dts          |   6 +-
 arch/arm/boot/dts/exynos5422-odroid-core.dtsi      |   2 +-
 arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |   6 +-
 arch/arm/boot/dts/exynos5800-peach-pi.dts          |  89 +++--
 arch/arm/boot/dts/s3c2416-pinctrl.dtsi             |  60 ++--
 arch/arm/boot/dts/s3c6410-mini6410.dts             |   4 +-
 arch/arm/boot/dts/s3c64xx-pinctrl.dtsi             | 210 +++++------
 arch/arm/boot/dts/s3c64xx.dtsi                     |  16 +-
 arch/arm/boot/dts/s5pv210-aquila.dts               |   2 +-
 arch/arm/boot/dts/s5pv210-aries.dtsi               |  40 +--
 arch/arm/boot/dts/s5pv210-fascinate4g.dts          |  12 +-
 arch/arm/boot/dts/s5pv210-galaxys.dts              |  16 +-
 arch/arm/boot/dts/s5pv210-pinctrl.dtsi             | 226 ++++++------
 arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 211 +++++------
 .../boot/dts/exynos/exynos5433-tm2-common.dtsi     | 259 +++++++-------
 arch/arm64/boot/dts/exynos/exynos7-espresso.dts    |   6 +-
 arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi    | 176 ++++-----
 .../boot/dts/exynos/exynosautov9-pinctrl.dtsi      |  50 +--
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi       |   2 +-
 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c     |   2 -
 drivers/pinctrl/samsung/pinctrl-exynos.c           |   4 +
 drivers/pinctrl/samsung/pinctrl-samsung.c          |  87 ++++-
 61 files changed, 2234 insertions(+), 1978 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-gpio-bank.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-pins-cfg.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt

Comments

Linus Walleij Jan. 30, 2022, 1:36 a.m. UTC | #1
On Sat, Jan 29, 2022 at 12:54 PM Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com> wrote:

> Linus,
> I will send the pinctrl driver bits in separate pull to you.

OK I'll wait for it.

Yours,
Linus Walleij