[PATCH v2 0/9] pinctrl: stm32: Support I/O synchronization

Antonio Borneo posted 9 patches 4 days, 11 hours ago
.../bindings/pinctrl/pincfg-node.yaml         |  13 +-
.../bindings/pinctrl/st,stm32-pinctrl.yaml    |  92 +++++
arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   2 +
drivers/pinctrl/pinconf-generic.c             |   2 +
drivers/pinctrl/stm32/pinctrl-stm32.c         | 337 ++++++++++++++----
drivers/pinctrl/stm32/pinctrl-stm32.h         |   1 +
drivers/pinctrl/stm32/pinctrl-stm32mp257.c    |   2 +
include/linux/pinctrl/pinconf-generic.h       |   6 +
8 files changed, 378 insertions(+), 77 deletions(-)
[PATCH v2 0/9] pinctrl: stm32: Support I/O synchronization
Posted by Antonio Borneo 4 days, 11 hours ago
This v2 is a subset of the v1, split-out to simplify the review.
The old patches concerned in v1 where 05/14, 06/14 and 07/14.

This subset:
- introduces the generic pinctrl property "skew-delay-direction", as
  suggested by Linus Walleij;
- applies some cleanup to STM32 pinctrl driver to simplify the following
  commits in the series;
- adds support for the I/O synchronization in STM32 pinctrl driver and
  bindings;
- updates the DT for STM32MP25 pinctrl to use the new properties.

Changes v1 -> v2 subset:
- rebased on v6.17-rc1;
- replace ST property "st,io-delay" with generic "skew-delay";
- replace ST property "st,io-delay-path" with generic "skew-delay-direction";
- collapse the other ST property in a single "st,io-sync";
- Link to v1: https://lore.kernel.org/lkml/20241022155658.1647350-1-antonio.borneo@foss.st.com/


Antonio Borneo (9):
  pinctrl: pinconf-generic: Add property "skew-delay-direction"
  dt-bindings: pincfg-node: Add property "skew-delay-direction"
  pinctrl: stm32: Rework stm32_pconf_parse_conf()
  pinctrl: stm32: Simplify handling of backup pin status
  pinctrl: stm32: Drop useless spinlock save and restore
  pinctrl: stm32: Avoid keeping a bool value in a u32 variable
  pinctrl: stm32: Support I/O synchronization parameters
  dt-bindings: pinctrl: stm32: Support I/O synchronization parameters
  arm64: dts: st: Add I/O sync to eth2 pinctrl in stm32mp25-pinctrl.dtsi

 .../bindings/pinctrl/pincfg-node.yaml         |  13 +-
 .../bindings/pinctrl/st,stm32-pinctrl.yaml    |  92 +++++
 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   2 +
 drivers/pinctrl/pinconf-generic.c             |   2 +
 drivers/pinctrl/stm32/pinctrl-stm32.c         | 337 ++++++++++++++----
 drivers/pinctrl/stm32/pinctrl-stm32.h         |   1 +
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c    |   2 +
 include/linux/pinctrl/pinconf-generic.h       |   6 +
 8 files changed, 378 insertions(+), 77 deletions(-)


base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
-- 
2.34.1