]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: timers: sp-804: Convert to json-schema
authorAndre Przywara <andre.przywara@arm.com>
Fri, 28 Aug 2020 14:20:13 +0000 (15:20 +0100)
committerRob Herring <robh@kernel.org>
Tue, 8 Sep 2020 17:29:27 +0000 (11:29 -0600)
commita2d7781a798e77152b4782180b20e94ac570ffdc
treebdc169c7fe9e4697aa9e0e6639254bb992ea68e1
parenteb93c4e33823acd117b2fa8bc0cc8f4bc0c9c6a5
dt-bindings: timers: sp-804: Convert to json-schema

This converts the DT binding documentation for the ARM SP-804 timer IP
over to json-schema.
Most properties are just carried over, the clocks property requirement
(either one or three clocks) is now formalised and enforced.
As the former binding didn't specify clock-names, and there is no
common name used by the existing DTs, I refrained from adding them in
detail (just allowing the property).
The requirement for the APB clock is enforced by the primecell binding
already.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200828142018.43298-2-andre.przywara@arm.com
[robh: drop primecell.yaml]
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/timer/arm,sp804.txt [deleted file]
Documentation/devicetree/bindings/timer/arm,sp804.yaml [new file with mode: 0644]