[PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
Ninad Palsule
ninad at linux.ibm.com
Fri Jan 17 01:19:25 AEDT 2025
Hi Krzysztof,
On 1/16/25 04:38, Krzysztof Kozlowski wrote:
> On Wed, Jan 15, 2025 at 03:53:38PM -0600, Ninad Palsule wrote:
>>>>> + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
>>>> Choose one - suffix or prefix. More popular is suffix.
>>> I was about to say that, but this matches what gpio-hog.yaml defines.
>>> Why we did both, I don't remember. We could probably eliminate
>>> 'hog-[0-9]+' as that doesn't appear to be used much.
>>>
>>> Long term, I want to make all gpio controllers reference a gpio
>>> controller schema and put the hog stuff there. Then we have the node
>>> names defined in 1 place.
>> Which one of the following are you suggesting?
>>
>> "^(.+-hog(-[0-9]+)?)$"
> This. The second part of pattern.
>
> I'll send a patch for dtschema to drop the prefix version.
Thanks. Also thanks for the other patch. It helped a lot.
Regards,
Ninad
>
> Best regards,
> Krzysztof
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20250116/b4a15643/attachment.htm>
More information about the Linux-aspeed
mailing list