Skip to content

Commit

Permalink
dt-bindings: add resets property to dw-apb-timer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Damien Le Moal authored and Palmer Dabbelt committed Feb 23, 2021
1 parent 3933cf6 commit 13dcfae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ properties:
interrupts:
maxItems: 1

resets:
maxItems: 1

clocks:
minItems: 1
items:
Expand Down

0 comments on commit 13dcfae

Please sign in to comment.