From: Ondrej Jirman Date: Tue, 20 Aug 2019 15:19:32 +0000 (+0200) Subject: dt-bindings: rtc: sun6i: Add compatible for H6 RTC X-Git-Tag: kvm-5.4-2~69^2~22 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=903e259f9caf036cd9046884e5de9aa64447755c;p=users%2Fdwmw2%2Flinux.git dt-bindings: rtc: sun6i: Add compatible for H6 RTC RTC on H6 is similar to the one on H5 SoC, but incompatible in small details. See the driver for description of differences. For example H6 RTC needs to enable the external low speed oscillator. Add new compatible for this RTC. Signed-off-by: Ondrej Jirman Link: https://lore.kernel.org/r/20190820151934.3860-2-megous@megous.com Signed-off-by: Alexandre Belloni --- diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml index 924622f39c440..d7a57ec4a6400 100644 --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml @@ -25,6 +25,7 @@ properties: - items: - const: allwinner,sun50i-a64-rtc - const: allwinner,sun8i-h3-rtc + - const: allwinner,sun50i-h6-rtc reg: maxItems: 1 @@ -92,6 +93,18 @@ allOf: minItems: 3 maxItems: 3 + - if: + properties: + compatible: + contains: + const: allwinner,sun50i-h6-rtc + + then: + properties: + clock-output-names: + minItems: 3 + maxItems: 3 + - if: properties: compatible: