<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>HiĀ <span style="white-space: pre-wrap">Krzysztof,</span></p>
<div class="moz-cite-prefix">On 1/16/25 04:38, Krzysztof Kozlowski
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:oezohwamtm47adreexlgan6t76cdhpjitog52yjek3bkr44yks@oojstup2uqkb">
<pre wrap="" class="moz-quote-pre">On Wed, Jan 15, 2025 at 03:53:38PM -0600, Ninad Palsule wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">+ "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">Choose one - suffix or prefix. More popular is suffix.
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">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.
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
Which one of the following are you suggesting?
"^(.+-hog(-[0-9]+)?)$"
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
This. The second part of pattern.
I'll send a patch for dtschema to drop the prefix version.</pre>
</blockquote>
<p>Thanks. Also thanks for the other patch. It helped a lot.</p>
<p>Regards,</p>
<p>Ninad<br>
</p>
<blockquote type="cite"
cite="mid:oezohwamtm47adreexlgan6t76cdhpjitog52yjek3bkr44yks@oojstup2uqkb">
<pre wrap="" class="moz-quote-pre">
Best regards,
Krzysztof
</pre>
</blockquote>
</body>
</html>