All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V9 1/3] dt-bindings: rtc: zynqmp: Add clock information
@ 2022-06-24 12:02 ` Srinivas Neeli
  0 siblings, 0 replies; 10+ messages in thread
From: Srinivas Neeli @ 2022-06-24 12:02 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, srinivas.neeli,
	neelisrinivas18, krzysztof.kozlowski+dt, michal.simek, sgoud,
	shubhraj
  Cc: devicetree, linux-rtc, linux-arm-kernel, linux-kernel, git, git,
	Srinivas Neeli, Rob Herring

Added clock information and deprecated calibration support.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
Changes in V9:
-Updated clock information in clock-names.
Changes in V8:
-None
Changes in V7:
-None
Changes in V6:
-Removed dtc warnings.
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     | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
index bdb72d3ddf2a..9dfe2cc5966a 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_clk";
+        clocks = <&rtc_clk>;
       };
     };
-- 
2.25.1


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

end of thread, other threads:[~2022-06-25 20:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24 12:02 [PATCH V9 1/3] dt-bindings: rtc: zynqmp: Add clock information Srinivas Neeli
2022-06-24 12:02 ` Srinivas Neeli
2022-06-24 12:02 ` [PATCH V9 2/3] rtc: zynqmp: Updated calibration value Srinivas Neeli
2022-06-24 12:02   ` Srinivas Neeli
2022-06-24 12:02 ` [PATCH V9 3/3] rtc: zynqmp: Add calibration set and get support Srinivas Neeli
2022-06-24 12:02   ` Srinivas Neeli
2022-06-24 17:26 ` [PATCH V9 1/3] dt-bindings: rtc: zynqmp: Add clock information Rob Herring
2022-06-24 17:26   ` Rob Herring
2022-06-25 20:38 ` Krzysztof Kozlowski
2022-06-25 20:38   ` Krzysztof Kozlowski

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.