From: Krzysztof Kozlowski <krzk@kernel.org>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Sean Nyekjaer <sean@geanix.com>,
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: [RFC PATCH] dt-bindings: can: convert tcan4x5x.txt to DT schema
Date: Mon, 4 Nov 2024 11:40:09 +0100 [thread overview]
Message-ID: <5567d259-dc06-455e-9ec3-56af14db3706@kernel.org> (raw)
In-Reply-To: <20241104-upbeat-wondrous-crane-6f20a3-mkl@pengutronix.de>
On 04/11/2024 11:31, Marc Kleine-Budde wrote:
> On 04.11.2024 10:27:04, Krzysztof Kozlowski wrote:
>>> +properties:
>>> + compatible:
>>> + oneOf:
>>> + - enum:
>>> + - ti,tcan4552
>>> + - ti,tcan4553
>>> + - ti,tcan4x5x
>>
>> That's not really what old binding said.
>>
>> It said for example:
>> "ti,tcan4552", "ti,tcan4x5x"
>>
>> Which is not allowed above. You need list. Considering there are no
>> in-tree users of ti,tcan4x5x alone, I would allow only lists followed by
>> ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
>
> I'd like to keep the old binding.
Any reason why? It's against of bindings policies. If this was a new
binding, it would be a clear NAK, so here due to lack of user we can
make it correct.
>
>> Mention this change to the binding in the commit message.
>
> The tcan4x5x chip family has 2 registers for automatic detection of the
> chip variant. While the ID2 register of the tcan4550 is 0x0, the
> registers for the tcan4552 and tcan4553 contain 4552 and 4553
> respectively in ASCII.
This does not grant exception for wildcards. This only says that one
model should be used as fallback.
>
> The driver was originally added for the tcan4550 chip, but currently
> only has a compatible for "ti,tcan4x5x".
That's not really related to discussion. We do not talk about changing
driver.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-11-04 10:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 8:56 [RFC PATCH] dt-bindings: can: convert tcan4x5x.txt to DT schema Sean Nyekjaer
2024-11-04 9:27 ` Krzysztof Kozlowski
2024-11-04 10:31 ` Marc Kleine-Budde
2024-11-04 10:40 ` Krzysztof Kozlowski [this message]
2024-11-04 10:54 ` Sean Nyekjaer
2024-11-04 11:37 ` Krzysztof Kozlowski
2024-11-04 10:22 ` Rob Herring (Arm)
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=5567d259-dc06-455e-9ec3-56af14db3706@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;
as well as URLs for NNTP newsgroup(s).