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)
commita85a4aa32ab9568751b7aff8bd33e1b44b1cd3a1
treebdc169c7fe9e4697aa9e0e6639254bb992ea68e1
parent282d66289d583dbe53802c1329bb47c767ded7bb
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]