dt-bindings: rtc: Convert snps,dw-apb-timer to DT schema
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Thu, 21 May 2020 20:48:10 +0000 (23:48 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 22 May 2020 22:02:26 +0000 (00:02 +0200)
commitb33aaf5cd68d0fa0f0d6aa15831a1e82e2ef98e1
treee08f8018a6cafe237983e6a7aef96fe93ebd2319
parent264418e20d1fedbed8ad79683b63caa3d72c3b2e
dt-bindings: rtc: Convert snps,dw-apb-timer to DT schema

Modern device tree bindings are supposed to be created as YAML-files
in accordance with DT schema. This commit replaces Synopsys DW Timer
legacy bare text binding with YAML file. As before the binding file
states that the corresponding dts node is supposed to be compatible
with generic DW APB Timer indicated by the "snps,dw-apb-timer"
compatible string and to provide a mandatory registers memory range,
one timer interrupt, either reference clock source or a fixed clock
rate value. It may also have an optional APB bus reference clock
phandle specified.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200521204818.25436-2-Sergey.Semin@baikalelectronics.ru
Documentation/devicetree/bindings/rtc/dw-apb.txt [deleted file]
Documentation/devicetree/bindings/rtc/snps,dw-apb-timer.yaml [new file with mode: 0644]