dt-bindings: rtc: sun6i: Add H616, R329, and D1 support
authorSamuel Holland <samuel@sholland.org>
Thu, 3 Feb 2022 02:17:32 +0000 (20:17 -0600)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Feb 2022 22:14:59 +0000 (23:14 +0100)
commit8487614a8a8a70d44957a11693dbefd8350f402c
tree8f988ca72621c67ace94fa0640a627a431a1b154
parentf720002d8468f46c3cce8ab2b9f93aeedac4b602
dt-bindings: rtc: sun6i: Add H616, R329, and D1 support

These new RTC variants all have a single alarm, like the R40 variant.

For the new SoCs, start requiring a complete list of input clocks. The
H616 has three required clocks. The R329 also has three required clocks
(but one is different), plus an optional crystal oscillator input. The
D1 RTC is identical to the one in the R329.

And since these new SoCs will have a well-defined output clock order as
well, they do not need the clock-output-names property.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220203021736.13434-3-samuel@sholland.org
Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
include/dt-bindings/clock/sun6i-rtc.h [new file with mode: 0644]