diff options
author | Ondrej Jirman <megous@megous.com> | 2019-08-20 17:19:32 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-23 16:20:50 +0200 |
commit | 903e259f9caf036cd9046884e5de9aa64447755c (patch) | |
tree | cfbdee318b21472d5cf50fa15ef48e888bec32fb /Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | |
parent | 7b0b551dbc1e0acb2a3a6a7fbebc3ab9cf68a050 (diff) | |
download | linux-903e259f9caf036cd9046884e5de9aa64447755c.tar.bz2 |
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 <megous@megous.com>
Link: https://lore.kernel.org/r/20190820151934.3860-2-megous@megous.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml index 924622f39c44..d7a57ec4a640 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 @@ -96,6 +97,18 @@ allOf: properties: compatible: contains: + const: allwinner,sun50i-h6-rtc + + then: + properties: + clock-output-names: + minItems: 3 + maxItems: 3 + + - if: + properties: + compatible: + contains: const: allwinner,sun8i-r40-rtc then: |