dt-bindings: rtc: Add #clock-cells property
authorPaul Cercueil <paul@crapouillou.net>
Sun, 29 Jan 2023 12:04:39 +0000 (12:04 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 9 Feb 2023 22:37:59 +0000 (23:37 +0100)
commit4737a703528c769c4fde6b68462f656f91f4ad99
treea975b2289f498b00bcd1da04560a4cf88051dbf2
parente8c9efd5d52f1da1c9e012466b9df94a38cc1c00
dt-bindings: rtc: Add #clock-cells property

The RTC in the JZ4770 is compatible with the JZ4760, but has an extra
register that permits to configure the behaviour of the CLK32K pin. The
same goes for the RTC in the JZ4780.

With this change, the RTC node is now also a clock provider on these
SoCs, so a #clock-cells property is added.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230129120442.22858-2-paul@crapouillou.net
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml