On 25/02/2025 16:46, Clement LE GOFFIC wrote: >> >> Why this is a string not a number? >> >> Where is it used? I don't see usage in the driver, so this does not look >> like binding (and DTS is not a driver). > > Those files are helpers for the devicetrees and may be included in > stm32mp*-pinctrl.dtsi files. So not a binding, see other platforms/header files how it is done. > It is a string because it is an helper for the `function` property of > `pinmux-node.yaml` which is a string. > > I understand that having a number as a string is not easily understandable. > I'll consider it in a V2 by trying to use the `pinmux` property. Let's keep discussing this part in the bindings doc patch. Best regards, Krzysztof