]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: rtc: Convert snps,dw-apb-timer to DT schema
authorBaikal Electronics <support@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)
commitdb437f8f65f2924686fe93b70661b07eaae1d47c
treee08f8018a6cafe237983e6a7aef96fe93ebd2319
parentf98fbd6712cec685ca93788d109c1b60d803ca0a
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]