linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes
@ 2020-09-23 12:53 Oleksij Rempel
  2020-09-29 18:49 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2020-09-23 12:53 UTC (permalink / raw)
  To: mkl, Wolfgang Grandegger, Manivannan Sadhasivam, David S. Miller,
	Jakub Kicinski, Rob Herring
  Cc: Oleksij Rempel, kernel, linux-can, Thomas Kopp, netdev,
	devicetree, linux-kernel

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 <o.rempel@pengutronix.de>
---
 .../devicetree/bindings/net/can/microchip,mcp25xxfd.yaml  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml b/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml
index aa2cad14d6d7..5beb00a614bf 100644
--- a/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml
+++ b/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml
@@ -24,7 +24,7 @@ properties:
   reg:
     maxItems: 1
 
-  interrupts-extended:
+  interrupts:
     maxItems: 1
 
   clocks:
@@ -32,11 +32,9 @@ properties:
 
   vdd-supply:
     description: Regulator that powers the CAN controller.
-    maxItems: 1
 
   xceiver-supply:
     description: Regulator that powers the CAN transceiver.
-    maxItems: 1
 
   microchip,rx-int-gpios:
     description:
@@ -52,9 +50,11 @@ properties:
 required:
   - compatible
   - reg
-  - interrupts-extended
+  - interrupts
   - clocks
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes
  2020-09-23 12:53 [PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes Oleksij Rempel
@ 2020-09-29 18:49 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-09-29 18:49 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: linux-can, Rob Herring, netdev, Wolfgang Grandegger,
	Jakub Kicinski, Thomas Kopp, devicetree, David S. Miller, kernel,
	Manivannan Sadhasivam, mkl, linux-kernel

On Wed, 23 Sep 2020 14:53:01 +0200, Oleksij Rempel wrote:
> 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 <o.rempel@pengutronix.de>
> ---
>  .../devicetree/bindings/net/can/microchip,mcp25xxfd.yaml  | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-29 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 12:53 [PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes Oleksij Rempel
2020-09-29 18:49 ` Rob Herring

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).