[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250116144819.GA2270032-robh@kernel.org>
Date: Thu, 16 Jan 2025 08:48:19 -0600
From: Rob Herring <robh@...nel.org>
To: Ninad Palsule <ninad@...ux.ibm.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, minyard@....org,
krzk+dt@...nel.org, conor+dt@...nel.org, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, openipmi-developer@...ts.sourceforge.net,
netdev@...r.kernel.org, joel@....id.au, andrew@...econstruct.com.au,
devicetree@...r.kernel.org, eajames@...ux.ibm.com,
linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs
parsing
On Thu, Jan 16, 2025 at 08:19:25AM -0600, Ninad Palsule wrote:
> 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.
Please fix your mail client to properly quote replies
Rob
Powered by blists - more mailing lists