linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] pinctrl: stm32: rework SoC package and add STM32MP21
@ 2025-11-18 16:19 Antonio Borneo
  2025-11-18 16:19 ` [PATCH v2 01/15] pinctrl: stm32: accept string value for property 'st,package' Antonio Borneo
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Antonio Borneo @ 2025-11-18 16:19 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin, Alexandre Torgue, linux-gpio, devicetree,
	linux-stm32, linux-arm-kernel, linux-kernel
  Cc: Antonio Borneo, Clément Le Goffic, Amelie Delaunay,
	Pascal Paillet

This v2 is a subset of the v1, split-out to simplify the review.
The old patches concerned in v1 where 10/14, 11/14 and 14/14.

This subset:
- obsoletes the numeric values of the property 'st,package' in STM32
  pinctrl and replaces it with a string value. Keeps backward
  compatibility for old DTs;
- updates the DT to use the new values for 'st,package';
- add new packages to STM32MP25;
- add pinctrl driver and bindings for STM32MP21, including the extra
  dependencies of optee and exti nodes;
- on board STM32MP215f-DK, use the pinctrl driver to properly setup
  the UART and add the heartbeat LED.


Changes v1 -> v2 subset:
- rebased on linux-pinctrl branch for-next;
- replace numeric values of property 'st,package' with strings;
- add users of pinctrl driver on board STM32MP215f-DK;
- Link to v1: https://lore.kernel.org/lkml/20241022155658.1647350-1-antonio.borneo@foss.st.com/


Amelie Delaunay (4):
  pinctrl: stm32: add stm32mp215 pinctrl support
  dt-bindings: pinctrl: stm32: support for stm32mp215 and additional
    packages
  arm64: dts: st: introduce stm32mp21 pinctrl files
  arm64: dts: st: add pinctrl to usart2 on stm32mp215f-dk board

Antonio Borneo (7):
  pinctrl: stm32: accept string value for property 'st,package'
  dt-bindings: pinctrl: stm32: use strings for enum property
    'st,package'
  arm: dts: stm32: update property 'st,package' to new bindings
  arm64: dts: st: update property 'st,package' to new bindings
  dt-bindings: pinctrl: stm32: add new package to stm32mp257 pinctrl
    support
  arm64: dts: st: add interrupt to optee node on stm32mp21
  arm64: dts: st: add pinctrl nodes on stm32mp21

Clément Le Goffic (3):
  pinctrl: stm32: add new package to stm32mp257 pinctrl support
  arm64: dts: st: add new package file for stm32mp25 pinctrl
  arm64: dts: st: add exti1 and exti2 nodes on stm32mp21

Pascal Paillet (1):
  arm64: dts: st: add heartbeat LED on stm32mp215f-dk board

 .../bindings/pinctrl/st,stm32-pinctrl.yaml    |   26 +-
 .../boot/dts/st/stm32mp15xxaa-pinctrl.dtsi    |    4 +-
 .../boot/dts/st/stm32mp15xxab-pinctrl.dtsi    |    2 +-
 .../boot/dts/st/stm32mp15xxac-pinctrl.dtsi    |    4 +-
 .../boot/dts/st/stm32mp15xxad-pinctrl.dtsi    |    2 +-
 arch/arm64/boot/dts/st/stm32mp21-pinctrl.dtsi |   38 +
 arch/arm64/boot/dts/st/stm32mp211.dtsi        |  294 +++
 arch/arm64/boot/dts/st/stm32mp215f-dk.dts     |   31 +
 .../boot/dts/st/stm32mp21xxal-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp21xxam-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp21xxan-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp21xxao-pinctrl.dtsi    |   63 +
 .../boot/dts/st/stm32mp25xxai-pinctrl.dtsi    |    2 +-
 .../boot/dts/st/stm32mp25xxaj-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp25xxak-pinctrl.dtsi    |    2 +-
 .../boot/dts/st/stm32mp25xxal-pinctrl.dtsi    |    2 +-
 drivers/pinctrl/stm32/Kconfig                 |    6 +
 drivers/pinctrl/stm32/Makefile                |    1 +
 drivers/pinctrl/stm32/pinctrl-stm32.c         |   36 +-
 drivers/pinctrl/stm32/pinctrl-stm32.h         |   29 +-
 drivers/pinctrl/stm32/pinctrl-stm32mp157.c    |  352 ++--
 drivers/pinctrl/stm32/pinctrl-stm32mp215.c    | 1807 +++++++++++++++++
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c    |  344 ++--
 23 files changed, 2958 insertions(+), 371 deletions(-)
 create mode 100644 arch/arm64/boot/dts/st/stm32mp21-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp21xxal-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp21xxam-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp21xxan-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp21xxao-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxaj-pinctrl.dtsi
 create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp215.c


base-commit: 61cbe48d9d1ff277bc54051fbab8b733b2e64ccb
-- 
2.34.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-11-20  9:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 16:19 [PATCH v2 00/15] pinctrl: stm32: rework SoC package and add STM32MP21 Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 01/15] pinctrl: stm32: accept string value for property 'st,package' Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 02/15] dt-bindings: pinctrl: stm32: use strings for enum " Antonio Borneo
2025-11-19  7:27   ` Krzysztof Kozlowski
2025-11-19 14:16   ` Linus Walleij
2025-11-20  9:50     ` Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 03/15] arm: dts: stm32: update property 'st,package' to new bindings Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 04/15] arm64: dts: st: " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 05/15] pinctrl: stm32: add new package to stm32mp257 pinctrl support Antonio Borneo
2025-11-20  4:25   ` kernel test robot
2025-11-18 16:19 ` [PATCH v2 06/15] dt-bindings: " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 07/15] arm64: dts: st: add new package file for stm32mp25 pinctrl Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 08/15] pinctrl: stm32: add stm32mp215 pinctrl support Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 09/15] dt-bindings: pinctrl: stm32: support for stm32mp215 and additional packages Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 10/15] arm64: dts: st: introduce stm32mp21 pinctrl files Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 11/15] arm64: dts: st: add interrupt to optee node on stm32mp21 Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 12/15] arm64: dts: st: add exti1 and exti2 nodes " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 13/15] arm64: dts: st: add pinctrl " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 14/15] arm64: dts: st: add pinctrl to usart2 on stm32mp215f-dk board Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 15/15] arm64: dts: st: add heartbeat LED " Antonio Borneo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).