[RFC PATCH 06/12] dt-bindings: rtc: sun6i: add compatible string for V831/V833 RTC
From: Icenowy Zheng
Date: Fri Dec 11 2020 - 23:10:32 EST
V831/V833 SoCs (the same die) have a RTC block similar to the one in H6,
but allow to generate the osc32k clock from osc24M.
Add a new compatible string for that.
The functionality of dividing osc24M to generate osc32k is still TODO.
Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Cc: linux-rtc@xxxxxxxxxxxxxxx
Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>
---
.../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
index 37c2a601c3fa..6e3a3b14db7b 100644
--- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
@@ -21,6 +21,7 @@ properties:
- const: allwinner,sun8i-h3-rtc
- const: allwinner,sun8i-r40-rtc
- const: allwinner,sun8i-v3-rtc
+ - const: allwinner,sun8i-v831-rtc
- const: allwinner,sun50i-h5-rtc
- items:
- const: allwinner,sun50i-a64-rtc
@@ -97,6 +98,7 @@ allOf:
properties:
compatible:
contains:
+ const: allwinner,sun8i-v831-rtc
const: allwinner,sun50i-h6-rtc
then:
--
2.28.0