]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: rtc: rzn1: add optional second clock
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 26 May 2025 09:58:02 +0000 (11:58 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 1 Jun 2025 21:53:02 +0000 (23:53 +0200)
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 <wsa+renesas@sang-engineering.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20250526095801.35781-6-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml

index f6e0c613af678955589f133068fbbff778519b46..f6fdcc7090b6348415a6a443036e36a976bd9733 100644 (file)
@@ -33,10 +33,14 @@ properties:
       - const: pps
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
 
   clock-names:
-    const: hclk
+    minItems: 1
+    items:
+      - const: hclk
+      - const: xtal
 
   power-domains:
     maxItems: 1