All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information
@ 2021-11-30  5:55 ` Srinivas Neeli
  0 siblings, 0 replies; 12+ messages in thread
From: Srinivas Neeli @ 2021-11-30  5:55 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, michal.simek, sgoud, shubhraj, radheys
  Cc: linux-rtc, linux-arm-kernel, linux-kernel, git, Srinivas Neeli

Added clock information and deprecated calibration support.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
---
Changes in V3:
-New patch
---
 .../bindings/rtc/xlnx,zynqmp-rtc.yaml         | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
index bdb72d3ddf2a..7e87bc1ef9df 100644
--- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
@@ -26,20 +26,19 @@ properties:
   interrupts:
     minItems: 2
 
+  clocks:
+    items:
+      - description: rtc_clk is the operating frequency of crystal.
+
+  clock-names:
+    items:
+      - const: "rtc_clk"
+
   interrupt-names:
     items:
       - const: alarm
       - const: sec
 
-  calibration:
-    description: |
-      calibration value for 1 sec period which will
-      be programmed directly to calibration register.
-    $ref: /schemas/types.yaml#/definitions/uint32
-    minimum: 0x1
-    maximum: 0x1FFFFF
-    default: 0x198233
-
 required:
   - compatible
   - reg
@@ -60,6 +59,7 @@ examples:
         interrupt-parent = <&gic>;
         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] 12+ messages in thread

end of thread, other threads:[~2022-01-04 23:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30  5:55 [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information Srinivas Neeli
2021-11-30  5:55 ` Srinivas Neeli
2021-11-30  5:55 ` [PATCH V3 2/2] rtc: zynqmp: Add calibration set and get support Srinivas Neeli
2021-11-30  5:55   ` Srinivas Neeli
2021-11-30  9:15   ` kernel test robot
2021-11-30 14:52   ` kernel test robot
2022-01-04 23:48   ` Alexandre Belloni
2022-01-04 23:48     ` Alexandre Belloni
2021-11-30  6:37 ` [PATCH V3 1/2] dt-bindings: rtc: zynqmp: Add clock information Radhey Shyam Pandey
2021-11-30  6:37   ` Radhey Shyam Pandey
2022-01-04 23:44   ` Alexandre Belloni
2022-01-04 23:44     ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.