[PATCH] dt-bindings: net: can: atmel: Convert to json schema
Marc Kleine-Budde
mkl at pengutronix.de
Mon Sep 23 03:57:07 PDT 2024
On 20.09.2024 04:51:57, Charan.Pedumuru at 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.
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240923/3baa2b51/attachment.sig>
More information about the linux-arm-kernel
mailing list