From: <Charan.Pedumuru@microchip.com>
To: <mkl@pengutronix.de>
Cc: <mailhol.vincent@wanadoo.fr>, <davem@davemloft.net>,
<edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>,
<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<claudiu.beznea@tuxon.dev>, <linux-can@vger.kernel.org>,
<netdev@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] dt-bindings: net: can: atmel: Convert to json schema
Date: Mon, 30 Sep 2024 04:07:08 +0000 [thread overview]
Message-ID: <ddf6d8cf-8d35-4dcf-b156-d6e221d0ddf8@microchip.com> (raw)
In-Reply-To: <20240923-burrowing-poised-taipan-22a14d-mkl@pengutronix.de>
On 23/09/24 16:27, Marc Kleine-Budde wrote:
> On 20.09.2024 04:51:57,Charan.Pedumuru@microchip.com wrote:
>>>> +allOf:
>>>> + - $ref: can-controller.yaml#
>>>> + - if:
>>>> + properties:
>>>> + compatible:
>>>> + contains:
>>>> + enum:
>>>> + - microchip,sam9x60-can
>>>> + then:
>>>> + required:
>>>> + - compatible
>>>> + - reg
>>>> + - interrupts
>>>> + - clocks
>>>> + - clock-names
>>> AFAICS clock-names is required for all compatibles.
>> In our case only sam9x60 is using clock-names property.
> No, the driver uses "clk_get(&pdev->dev, "can_clk")", so this property
> is mandatory.
Yes, what you said was correct, it was our mistake. I will remove the if
statements and make
clocks and clock-names as default required properties. I will fix this
in next revision.
>
> regards,
> Marc
>
> -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux |
> https://www.pengutronix.de | Vertretung Nürnberg | Phone:
> +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax:
> +49-5121-206917-9 |
--
Best Regards,
Charan.
prev parent reply other threads:[~2024-09-30 4:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 5:49 [PATCH] dt-bindings: net: can: atmel: Convert to json schema Charan Pedumuru
2024-09-12 6:24 ` Dharma.B
2024-09-12 6:36 ` Conor Dooley
2024-09-12 7:35 ` Marc Kleine-Budde
2024-09-20 4:51 ` Charan.Pedumuru
2024-09-23 10:57 ` Marc Kleine-Budde
2024-09-30 4:07 ` Charan.Pedumuru [this message]
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=ddf6d8cf-8d35-4dcf-b156-d6e221d0ddf8@microchip.com \
--to=charan.pedumuru@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--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-arm-kernel@lists.infradead.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 \
/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