[PATCH v3 09/10] dt-bindings: pinctrl: stm32: Support I/O synchronization parameters

Linus Walleij linus.walleij at linaro.org
Tue Oct 21 05:26:50 PDT 2025


On Tue, Oct 21, 2025 at 1:49 PM Antonio Borneo
<antonio.borneo at foss.st.com> wrote:

> The issue is that parse_dt_cfg(), called by the above mentioned pinconf_generic_parse_dt_config(),
> only uses of_property_read_u32() to get the value of the property.
> Conor's proposal for replacing my
> st,io-sync = <0>;
> with
> st,io-sync = "pass-through";
> doesn't fit in!
>
> For my use case I'm going to extend parse_dt_cfg() with fwnode_property_match_property_string() to extract the index from an array of strings.
> Then such index would be used for pinconf_to_config_packed().
> Does this approach look reasonable?

Aha I see the issue.

Hard for me to tell how this will play out since you are the first to try this,
but it seems like this could work.

Let's see how the code looks!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list