diff options
author | Charan Pedumuru <charan.pedumuru@microchip.com> | 2024-11-20 11:28:08 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-12-23 14:39:12 +0300 |
commit | 2351998fd833eb40358adf0b889637311b5bc6b4 (patch) | |
tree | 9afb26faee061377ed85f0eb56354d4f491a3cd2 /Documentation/devicetree/bindings/net/can/atmel-can.txt | |
parent | 68d426da13fac6b1d3f5949a38d31ce2e3d88e49 (diff) | |
download | linux-2351998fd833eb40358adf0b889637311b5bc6b4.tar.xz |
dt-bindings: net: can: atmel: Convert to json schema
Convert old text based binding to json schema.
Changes during conversion:
- Add a fallback for `microchip,sam9x60-can` as it is compatible with the
CAN IP core on `atmel,at91sam9x5-can`.
- Add the required properties `clock` and `clock-names`, which were
missing in the original binding.
- Update examples and include appropriate file directives to resolve
errors identified by `dt_binding_check` and `dtbs_check`.
Signed-off-by: Charan Pedumuru <charan.pedumuru@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241120-can-v3-1-da5bb4f6128d@microchip.com
[mkl: fixed indention in example]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/net/can/atmel-can.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/can/atmel-can.txt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Documentation/devicetree/bindings/net/can/atmel-can.txt b/Documentation/devicetree/bindings/net/can/atmel-can.txt deleted file mode 100644 index 218a3b3eb27e..000000000000 --- a/Documentation/devicetree/bindings/net/can/atmel-can.txt +++ /dev/null @@ -1,15 +0,0 @@ -* AT91 CAN * - -Required properties: - - compatible: Should be "atmel,at91sam9263-can", "atmel,at91sam9x5-can" or - "microchip,sam9x60-can" - - reg: Should contain CAN controller registers location and length - - interrupts: Should contain IRQ line for the CAN controller - -Example: - - can0: can@f000c000 { - compatible = "atmel,at91sam9x5-can"; - reg = <0xf000c000 0x300>; - interrupts = <40 4 5> - }; |