pinctrl: stm32: Support I/O synchronization
From: | Antonio Borneo <antonio.borneo-AT-foss.st.com> | |
To: | Linus Walleij <linus.walleij-AT-linaro.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Maxime Coquelin <mcoquelin.stm32-AT-gmail.com>, Alexandre Torgue <alexandre.torgue-AT-foss.st.com>, Bartosz Golaszewski <brgl-AT-bgdev.pl>, <linux-gpio-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-stm32-AT-st-md-mailman.stormreply.com>, <linux-arm-kernel-AT-lists.infradead.org> | |
Subject: | [PATCH v3 00/10] pinctrl: stm32: Support I/O synchronization | |
Date: | Tue, 14 Oct 2025 16:04:41 +0200 | |
Message-ID: | <20251014140451.1009969-1-antonio.borneo@foss.st.com> | |
Cc: | Antonio Borneo <antonio.borneo-AT-foss.st.com>, Christophe Roullier <christophe.roullier-AT-foss.st.com>, Fabien Dessenne <fabien.dessenne-AT-foss.st.com>, Valentin Caron <valentin.caron-AT-foss.st.com> | |
Archive-link: | Article |
This v3 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 properties "skew-delay-input" and "skew-delay-output", 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 v2 -> v3: - rebased on v6.18-rc1; - replace "skew-delay-direction" with "skew-delay-input" and "skew-delay-output"; - use generic properties from pincfg-node.yaml in dt-bindings; - add the new properties to the new node eth1 in DT. 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-ant... Antonio Borneo (10): pinctrl: pinconf-generic: Add properties 'skew-delay-{in,out}put' dt-bindings: pincfg-node: Add properties 'skew-delay-{in,out}put' 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: Use properties from pincfg-node.yaml dt-bindings: pinctrl: stm32: Support I/O synchronization parameters arm64: dts: st: Add I/O sync to eth pinctrl in stm32mp25-pinctrl.dtsi .../bindings/pinctrl/pincfg-node.yaml | 22 ++ .../bindings/pinctrl/st,stm32-pinctrl.yaml | 123 ++++++- arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi | 4 + drivers/pinctrl/pinconf-generic.c | 4 + drivers/pinctrl/stm32/pinctrl-stm32.c | 345 ++++++++++++++---- drivers/pinctrl/stm32/pinctrl-stm32.h | 1 + drivers/pinctrl/stm32/pinctrl-stm32mp257.c | 2 + include/linux/pinctrl/pinconf-generic.h | 12 + 8 files changed, 421 insertions(+), 92 deletions(-) base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787 -- 2.34.1