]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bba37f600abb482327aa28cc66621ac98d16fa1
tree8f988ca72621c67ace94fa0640a627a431a1b154
parent63b87e0b95de92abcc21a2bc08c81be94dfccf19
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]