aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Neeli <[email protected]>2022-06-26 12:38:15 +0530
committerAlexandre Belloni <[email protected]>2022-07-26 11:21:50 +0200
commitf69060c14431f476b6993ea92bef77e20437af4e (patch)
treef2f21470e98f817b7e3344f782421d640c836a0c
parentb9d982385d0544132bc398b7a7e062d9a554d941 (diff)
dt-bindings: rtc: zynqmp: Add clock information
Added clock information and deprecated calibration support. Signed-off-by: Srinivas Neeli <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml12
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
index bdb72d3ddf2a..7ed0230f6c67 100644
--- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
@@ -23,8 +23,15 @@ properties:
reg:
maxItems: 1
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: rtc
+
interrupts:
- minItems: 2
+ maxItems: 2
interrupt-names:
items:
@@ -39,6 +46,7 @@ properties:
minimum: 0x1
maximum: 0x1FFFFF
default: 0x198233
+ deprecated: true
required:
- compatible
@@ -61,5 +69,7 @@ examples:
interrupts = <0 26 4>, <0 27 4>;
interrupt-names = "alarm", "sec";
calibration = <0x198233>;
+ clock-names = "rtc";
+ clocks = <&rtc_clk>;
};
};