Skip to content

Commit ae95a7e

Browse files
Wolfram Sangalexandrebelloni
authored andcommitted
dt-bindings: rtc: rzn1: add optional second clock
The external crystal can be a second clock input. It is needed for the SCMP counting method which allows using crystals different than 32768Hz. It is also needed for an upcoming SoC which only supports the SCMP method. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent c7622a4 commit ae95a7e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ properties:
3333
- const: pps
3434

3535
clocks:
36-
maxItems: 1
36+
minItems: 1
37+
maxItems: 2
3738

3839
clock-names:
39-
const: hclk
40+
minItems: 1
41+
items:
42+
- const: hclk
43+
- const: xtal
4044

4145
power-domains:
4246
maxItems: 1

0 commit comments

Comments
 (0)