Re: [PATCH 01/40] dt-bindings: pinctrl: qcom,sm6115-pinctrl: fix matching pin config

From: Krzysztof Kozlowski
Date: Sun Sep 11 2022 - 09:26:36 EST


On 11/09/2022 14:59, Iskren Chernev wrote:
>
>
>
> On 9/11/22 14:11, Krzysztof Kozlowski wrote:
>> Matching PMIC GPIOs config nodes within a '-state' node by '.*' pattern
>> does not work as expected because of linux,phandle in the DTB:
>>
>> 'pins' is a required property
>> 'function' is a required property
>> 'rx', 'tx' do not match any of the regexes: 'pinctrl-[0-9]+'
>> [[59]] is not of type 'object'
>>
>> Make the schema stricter and expect such nodes to be either named
>> 'pinconfig' or followed with '-pins' prefix.
>
> Well, now you don't allow pinconfig, so maybe tweak the commit message.

True, thanks!


Best regards,
Krzysztof