dt-bindings: add resets property to dw-apb-timer
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 10 Feb 2021 05:02:22 +0000 (14:02 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 23 Feb 2021 01:51:12 +0000 (17:51 -0800)
The Synopsis DesignWare APB timer driver
(drivers/clocksource/dw_apb_timer_of.c) indirectly uses the resets
property of its node as it executes the function of_reset_control_get().
Make sure that this property is documented in
timer/snps,dw-apb-timer.yaml to avoid make dtbs_check warnings.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml

index d65faf2..d33c920 100644 (file)
@@ -24,6 +24,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
   clocks:
     minItems: 1
     items: