devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 1/2] dt-bindings: rtc: zynqmp: Add clock information
@ 2022-06-03 17:04 Srinivas Neeli
  2022-06-03 17:04 ` [PATCH V5 2/2] rtc: zynqmp: Add calibration set and get support Srinivas Neeli
  2022-06-05  2:17 ` [PATCH V5 1/2] dt-bindings: rtc: zynqmp: Add clock information Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Srinivas Neeli @ 2022-06-03 17:04 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski+dt,
	michal.simek, sgoud, shubhraj
  Cc: linux-rtc, linux-arm-kernel, linux-kernel, devicetree, git,
	Srinivas Neeli

Added clock information and deprecated calibration support.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
---
Changes in V5:
-Removed quotes and _clk suffix from clocknames.
Changes in V4:
- Deprecated calibrtion support
Changes in V3:
- New patch
---
 .../devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml      | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
index bdb72d3ddf2a..bf2a0c3d5244 100644
--- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
@@ -23,6 +23,14 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    items:
+      - description: rtc_clk is the operating frequency of crystal.
+
+  clock-names:
+    items:
+      - const: rtc
+
   interrupts:
     minItems: 2
 
@@ -39,6 +47,7 @@ properties:
     minimum: 0x1
     maximum: 0x1FFFFF
     default: 0x198233
+    deprecated: true
 
 required:
   - compatible
@@ -61,5 +70,7 @@ examples:
         interrupts = <0 26 4>, <0 27 4>;
         interrupt-names = "alarm", "sec";
         calibration = <0x198233>;
+        clock-names = "rtc_clk";
+        clocks = <&rtc_clk>;
       };
     };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-05  2:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 17:04 [PATCH V5 1/2] dt-bindings: rtc: zynqmp: Add clock information Srinivas Neeli
2022-06-03 17:04 ` [PATCH V5 2/2] rtc: zynqmp: Add calibration set and get support Srinivas Neeli
2022-06-05  2:17 ` [PATCH V5 1/2] dt-bindings: rtc: zynqmp: Add clock information Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).