Skip to content

Commit 9d5c8df

Browse files
oleremmarckleinebudde
authored andcommitted
dt-binding: can: mcp25xxfd: documentation fixes
Apply following fixes: - Use 'interrupts'. (interrupts-extended will automagically be supported by the tools) - *-supply is always a single item. So, drop maxItems=1 - add "additionalProperties: false" flag to detect unneeded properties. Signed-off-by: Oleksij Rempel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reported-by: Rob Herring <[email protected]> Reviewed-by: Rob Herring <[email protected]> Fixes: 1b5a78e ("dt-binding: can: mcp25xxfd: document device tree bindings") Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 727fba7 commit 9d5c8df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,17 @@ properties:
2424
reg:
2525
maxItems: 1
2626

27-
interrupts-extended:
27+
interrupts:
2828
maxItems: 1
2929

3030
clocks:
3131
maxItems: 1
3232

3333
vdd-supply:
3434
description: Regulator that powers the CAN controller.
35-
maxItems: 1
3635

3736
xceiver-supply:
3837
description: Regulator that powers the CAN transceiver.
39-
maxItems: 1
4038

4139
microchip,rx-int-gpios:
4240
description:
@@ -52,9 +50,11 @@ properties:
5250
required:
5351
- compatible
5452
- reg
55-
- interrupts-extended
53+
- interrupts
5654
- clocks
5755

56+
additionalProperties: false
57+
5858
examples:
5959
- |
6060
#include <dt-bindings/gpio/gpio.h>

0 commit comments

Comments
 (0)