From: Krzysztof Kozlowski <krzk@kernel.org>
To: Sean Nyekjaer <sean@geanix.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol.vincent@wanadoo.fr>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-can@vger.kernel.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: can: convert tcan4x5x.txt to DT schema
Date: Tue, 5 Nov 2024 13:41:26 +0100 [thread overview]
Message-ID: <f5a28e36-ef80-4ccf-b615-03fb10eb661e@kernel.org> (raw)
In-Reply-To: <mtuev7pve5ltr6vvknp2bwtwg2m7mzxduzshzbr7y3i7mwbzy6@qjbdjyb56nrv>
On 05/11/2024 13:24, Sean Nyekjaer wrote:
>>>
>>> If you use fallback for a 4552 then it would enable the use of the
>>> optional pins device-state-gpios and device-wake-gpios. But the chip
>>> doesn't have those so the hw guys would connect them and they won't
>>> be in the DT.
>>>
>>> Honestly I'm confused :/
>>
>> What stops anyone to use tcan4x5x ALONE for 4552? Nothing. And that's
>> the problem here.
>>
>>
>
> Schema check will fail, but driver wize it will work just fine.
Schema will not fail. That's the problem - no errors will be ever
reported. The entire point of the schema, in contrast to TXT, is to
detect errors and that ridiculous wildcard used as front compatible
affects/reduces detection.
> Agree that is kinda broken.
> If I have time I can try to fix that later.
No, the fix is to drop the wildcard alone, as I said in your RFC.
>
> Please explain one more time for me. Is this a comment on the if
> sentence or the broken behavior of the driver?
This is just generic comment, nothing to change here because you decided
not to fix that wildcard from old binding.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-11-05 12:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 12:53 [PATCH] dt-bindings: can: convert tcan4x5x.txt to DT schema Sean Nyekjaer
2024-11-05 9:16 ` Krzysztof Kozlowski
2024-11-05 10:33 ` Sean Nyekjaer
2024-11-05 10:57 ` Sean Nyekjaer
2024-11-05 11:40 ` Krzysztof Kozlowski
2024-11-05 12:24 ` Sean Nyekjaer
2024-11-05 12:41 ` Krzysztof Kozlowski [this message]
2024-11-05 12:59 ` Sean Nyekjaer
2024-11-05 14:03 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5a28e36-ef80-4ccf-b615-03fb10eb661e@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailhol.vincent@wanadoo.fr \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sean@geanix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox