Thread (26 messages) 26 messages, 4 authors, 2025-10-21

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

From: Linus Walleij <hidden>
Date: 2025-10-21 12:27:03
Also in: linux-devicetree, linux-gpio, lkml

On Tue, Oct 21, 2025 at 1:49 PM Antonio Borneo
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help