diff mbox series

dt-bindings: rtc: at91rm9200: document clocks property

Message ID 20200128204200.22201-1-alexandre.belloni@bootlin.com
State Accepted
Headers show
Series dt-bindings: rtc: at91rm9200: document clocks property | expand

Commit Message

Alexandre Belloni Jan. 28, 2020, 8:42 p.m. UTC
The clocks property is mandatory, document it.

Reported-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 .../devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml         | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring Jan. 28, 2020, 9:31 p.m. UTC | #1
On Tue, Jan 28, 2020 at 2:42 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> The clocks property is mandatory, document it.
>
> Reported-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> ---
>  .../devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml         | 4 ++++
>  1 file changed, 4 insertions(+)

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

In the future, please Cc the DT list.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
index 39f13711adfc..02bbfe726c62 100644
--- a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
@@ -27,10 +27,14 @@  properties:
   interrupts:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
 required:
   - compatible
   - reg
   - interrupts
+  - clocks
 
 additionalProperties: false