Thread (32 messages) 32 messages, 3 authors, 2025-02-27

Re: [PATCH 1/9] dt-bindings: pinctrl: stm32: Add HDP includes for stm32mp platforms

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-02-26 07:20:04
Also in: linux-arm-kernel, linux-gpio, lkml

On 25/02/2025 16:46, Clement LE GOFFIC wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help