[GIT PULL] bulk pin control changes for v5.14

From: Linus Walleij
Date: Thu Jul 01 2021 - 19:33:22 EST


Hi Linus,

here is the pin control pull request for v5.14.

Not so much going on. No core changes, just drivers. The
details in the signed tag. The most interesting would be that
MIPS Ralink is migrating to pin control and we have some
bindings but not yet code for the Apple M1 pin controller.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v5.14-1

for you to fetch changes up to bfa50166cd9d5d190b20dc33d1ec7ae19ced7022:

pinctrl: ralink: rt305x: add missing include (2021-06-30 02:38:56 +0200)

----------------------------------------------------------------
This is the bulk of pin control changes for the v5.14 kernel:

New drivers:

- Last merge window we created a driver for the Ralink RT2880.
We are now moving the Ralink SoC pin control drivers out of the MIPS
architecture code and into the pin control subsystem. This concerns
RT288X, MT7620, RT305X, RT3883 and MT7621.

- Qualcomm SM6125 SoC pin control driver.

- Qualcomm spmi-gpio support for PM7325.

- Qualcomm spmi-mpp also handles PMI8994 (just a compatible string)

- Mediatek MT8365 SoC pin controller.

- New device HID for the AMD GPIO controller.

Improvements:

- Pin bias config support for a slew of Renesas pin controllers.

- Incremental improvements and non-urgent bug fixes to the Renesas
SoC drivers.

- Implement irq_set_wake on the AMD pin controller so we can wake
up from external pin events.

Misc:

- Devicetree bindings for the Apple M1 pin controller, we will probably
see a proper driver for this soon as well.

----------------------------------------------------------------
Andreas Kaessens (2):
pinctrl: mcp23s08: Add optional reset GPIO
dt-bindings: pinctrl: mcp23s08: add documentation for reset-gpios

Andy Shevchenko (2):
pinctrl: Keep enum pin_config_param ordered by name (part 2)
pinctrl: tigerlake: Add Alder Lake-M ACPI ID

Bixuan Cui (1):
pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE

Bjorn Andersson (1):
pinctrl: qcom: spmi-mpp: Add compatible for pmi8994

Dario Binacchi (2):
docs/pinctrl: fix the reference to the u300 platform
pinctrl: single: config: enable the pin's input

Fabien Dessenne (1):
pinctrl: stm32: check for IRQ MUX validity during alloc()

Fabien Parent (3):
dt-bindings: pinctrl: mt65xx: add mt8365 SoC binding
pinctrl: mediatek: don't hardcode mode encoding in common code
pinctrl: mediatek: add support for mt8365 SoC

Geert Uytterhoeven (11):
pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
pinctrl: renesas: r8a77990: Drop bogus PUEN_ prefixes in comments
pinctrl: renesas: r8a7778: Remove unused PORT_GP_PUP_1() macro
pinctrl: renesas: r8a779{51,6,65}: Reduce non-functional differences
pinctrl: renesas: r8a77470: Add bias pinconf support
pinctrl: renesas: r8a7790: Add bias pinconf support
pinctrl: renesas: r8a7792: Add bias pinconf support
pinctrl: renesas: r8a7794: Add bias pinconf support
pinctrl: renesas: r8a77970: Add bias pinconf support
pinctrl: renesas: r8a77980: Add bias pinconf support

Jonathan Neuschäfer (1):
pinctrl: npcm: Align a few entries in the pin function table

Linus Walleij (5):
pinctrl: mediatek: move bit assignment
Merge tag 'renesas-pinctrl-for-v5.14-tag1' of
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers
into devel
pinctrl: mtk: Fix mt8365 Kconfig dependency
Merge tag 'intel-pinctrl-v5.14-1' of
gitolite.kernel.org:pub/scm/linux/kernel/git/pinctrl/intel into devel
Merge tag 'renesas-pinctrl-for-v5.14-tag2' of
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers
into devel

Mark Kettenis (1):
dt-bindings: pinctrl: Add DT bindings for apple, pinctrl

Martin Botka (2):
dt-bindings: pinctrl: qcom: sm6125: Document SM6125 pinctrl driver
drivers: qcom: pinctrl: Add pinctrl driver for sm6125

Matthias Brugger (1):
pinctrl: mediatek: fix mode encoding

Maximilian Luz (1):
pinctrl/amd: Add device HID for new AMD GPIO controller

Phil Elwell (1):
pinctrl: bcm2835: Accept fewer than expected IRQs

Radim Pavlik (1):
pinctrl: mcp23s08: fix race condition in irq handler

Rafał Miłecki (1):
dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema

Raul E Rangel (1):
pinctrl: amd: Implement irq_set_wake

Rikard Falkeborn (3):
pinctrl: at91: Constify struct at91_pinctrl_mux_ops
pinctrl: bcm: Constify static pinctrl_ops
pinctrl: bcm: Constify static pinmux_ops

Sai Krishna Potthuri (1):
pinctrl: zynqmp: some code cleanups

Sergio Paracuellos (7):
pinctrl: ralink: move ralink architecture pinmux header into the driver
pinctrl: ralink: move MT7621 SoC pinmux config into a new
'pinctrl-mt7621.c' file
pinctrl: ralink: move RT3883 SoC pinmux config into a new
'pinctrl-rt3883.c' file
pinctrl: ralink: move RT305X SoC pinmux config into a new
'pinctrl-rt305x.c' file
pinctrl: ralink: move MT7620 SoC pinmux config into a new
'pinctrl-mt7620.c' file
pinctrl: ralink: move RT288X SoC pinmux config into a new
'pinctrl-rt288x.c' file
pinctrl: ralink: rt305x: add missing include

Steven Lee (2):
dt-bindings: pinctrl: Update enum for adding SGPM2 and SGPS2
pinctrl: pinctrl-aspeed-g6: Add sgpio pinctrl settings

Yang Li (1):
pinctrl: Fix kernel-doc

Zhen Lei (2):
pinctrl: ocelot: Remove redundant error printing in ocelot_pinctrl_probe()
pinctrl: iproc-gpio: Remove redundant error printing in iproc_gpio_probe()

Zou Wei (1):
pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()

satya priya (2):
pinctrl: qcom: spmi-gpio: Add support for pm7325
dt-bindings: pinctrl: qcom-pmic-gpio: Add pm7325 support

.../devicetree/bindings/pinctrl/apple,pinctrl.yaml | 106 ++
.../bindings/pinctrl/aspeed,ast2600-pinctrl.yaml | 10 +-
.../bindings/pinctrl/brcm,bcm4708-pinmux.txt | 55 -
.../bindings/pinctrl/brcm,ns-pinmux.yaml | 94 ++
.../bindings/pinctrl/pinctrl-mcp23s08.txt | 2 +
.../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 1 +
.../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 +
.../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 1 +
.../bindings/pinctrl/qcom,sm6125-pinctrl.yaml | 132 ++
Documentation/driver-api/pin-control.rst | 2 +-
MAINTAINERS | 2 +
arch/mips/include/asm/mach-ralink/mt7620.h | 53 +-
arch/mips/include/asm/mach-ralink/rt288x.h | 9 -
arch/mips/include/asm/mach-ralink/rt305x.h | 24 -
arch/mips/include/asm/mach-ralink/rt3883.h | 34 -
arch/mips/ralink/mt7620.c | 320 -----
arch/mips/ralink/mt7621.c | 88 --
arch/mips/ralink/prom.c | 1 -
arch/mips/ralink/rt288x.c | 21 -
arch/mips/ralink/rt305x.c | 77 -
arch/mips/ralink/rt3883.c | 45 -
drivers/pinctrl/Kconfig | 2 +
drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 24 +-
drivers/pinctrl/aspeed/pinmux-aspeed.h | 9 +
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 8 +-
drivers/pinctrl/bcm/pinctrl-bcm6318.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm63268.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm6328.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm6358.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm6362.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm6368.c | 4 +-
drivers/pinctrl/bcm/pinctrl-bcm63xx.h | 4 +-
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 4 +-
drivers/pinctrl/intel/pinctrl-tigerlake.c | 1 +
drivers/pinctrl/mediatek/Kconfig | 7 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt2701.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt6397.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt8127.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt8135.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt8167.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt8173.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mt8365.c | 502 +++++++
drivers/pinctrl/mediatek/pinctrl-mt8516.c | 3 +
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 21 +-
drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 3 +
drivers/pinctrl/mediatek/pinctrl-mtk-mt8365.h | 1511 ++++++++++++++++++++
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 4 +-
drivers/pinctrl/pinctrl-amd.c | 33 +-
drivers/pinctrl/pinctrl-at91.c | 14 +-
drivers/pinctrl/pinctrl-equilibrium.c | 1 +
drivers/pinctrl/pinctrl-mcp23s08.c | 13 +-
drivers/pinctrl/pinctrl-mcp23s08.h | 1 +
drivers/pinctrl/pinctrl-ocelot.c | 4 +-
drivers/pinctrl/pinctrl-single.c | 5 +-
drivers/pinctrl/pinctrl-zynqmp.c | 50 +-
drivers/pinctrl/qcom/Kconfig | 9 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm6125.c | 1277 +++++++++++++++++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 +
drivers/pinctrl/ralink/Kconfig | 25 +
drivers/pinctrl/ralink/Makefile | 6 +
drivers/pinctrl/ralink/pinctrl-mt7620.c | 390 +++++
drivers/pinctrl/ralink/pinctrl-mt7621.c | 116 ++
drivers/pinctrl/ralink/pinctrl-rt2880.c | 30 +-
drivers/pinctrl/ralink/pinctrl-rt288x.c | 60 +
drivers/pinctrl/ralink/pinctrl-rt305x.c | 137 ++
drivers/pinctrl/ralink/pinctrl-rt3883.c | 107 ++
.../pinctrl/ralink}/pinmux.h | 3 +-
drivers/pinctrl/renesas/pfc-r8a77470.c | 346 ++++-
drivers/pinctrl/renesas/pfc-r8a7778.c | 3 -
drivers/pinctrl/renesas/pfc-r8a7790.c | 301 +++-
drivers/pinctrl/renesas/pfc-r8a7792.c | 533 ++++++-
drivers/pinctrl/renesas/pfc-r8a7794.c | 360 ++++-
drivers/pinctrl/renesas/pfc-r8a77951.c | 4 +-
drivers/pinctrl/renesas/pfc-r8a7796.c | 10 +-
drivers/pinctrl/renesas/pfc-r8a77965.c | 79 +-
drivers/pinctrl/renesas/pfc-r8a77970.c | 175 ++-
drivers/pinctrl/renesas/pfc-r8a77980.c | 209 ++-
drivers/pinctrl/renesas/pfc-r8a77990.c | 16 +-
drivers/pinctrl/stm32/pinctrl-stm32.c | 79 +-
include/dt-bindings/pinctrl/apple.h | 13 +
include/dt-bindings/pinctrl/mt8365-pinfunc.h | 858 +++++++++++
include/linux/pinctrl/pinconf-generic.h | 20 +-
86 files changed, 7498 insertions(+), 1020 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
delete mode 100644
Documentation/devicetree/bindings/pinctrl/brcm,bcm4708-pinmux.txt
create mode 100644
Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.yaml
create mode 100644
Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8365.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8365.h
create mode 100644 drivers/pinctrl/qcom/pinctrl-sm6125.c
create mode 100644 drivers/pinctrl/ralink/pinctrl-mt7620.c
create mode 100644 drivers/pinctrl/ralink/pinctrl-mt7621.c
create mode 100644 drivers/pinctrl/ralink/pinctrl-rt288x.c
create mode 100644 drivers/pinctrl/ralink/pinctrl-rt305x.c
create mode 100644 drivers/pinctrl/ralink/pinctrl-rt3883.c
rename {arch/mips/include/asm/mach-ralink =>
drivers/pinctrl/ralink}/pinmux.h (91%)
create mode 100644 include/dt-bindings/pinctrl/apple.h
create mode 100644 include/dt-bindings/pinctrl/mt8365-pinfunc.h