All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH v3 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc
@ 2015-08-19  9:53 ` Suneel Garapati
  0 siblings, 0 replies; 31+ messages in thread
From: Suneel Garapati @ 2015-08-19  9:53 UTC (permalink / raw)
  To: rtc-linux, linux-arm-kernel, linux-kernel
  Cc: Alexandre Belloni, michals, sorenb, Alessandro Zummo, punnaia,
	anuragku, anirudh, Suneel Garapati

adds file for description on device node bindings for RTC
found on Xilinx Zynq Ultrascale+ MPSoC.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
---
Changes v3 
- none 
Changes v2 
- add examples for interrupt-names 
- change alm to alarm 
---
 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt

diff --git a/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt
new file mode 100644
index 0000000..0df6f01
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt
@@ -0,0 +1,25 @@
+* Xilinx Zynq Ultrascale+ MPSoC Real Time Clock
+
+RTC controller for the Xilinx Zynq MPSoC Real Time Clock
+Separate IRQ lines for seconds and alarm
+
+Required properties:
+- compatible: Should be "xlnx,zynqmp-rtc"
+- reg: Physical base address of the controller and length
+       of memory mapped region.
+- interrupts: IRQ lines for the RTC.
+- interrupt-names: interrupt line names eg. "sec" "alarm"
+
+Optional:
+- calibration: calibration value for 1 sec period which will
+		be programmed directly to calibration register
+
+Example:
+rtc: rtc@ffa60000 {
+	compatible = "xlnx,zynqmp-rtc";
+	reg = <0x0 0xffa60000 0x100>;
+	interrupt-parent = <&gic>;
+	interrupts = <0 26 4>, <0 27 4>;
+	interrupt-names = "alarm", "sec";
+	calibration = <0x198233>;
+};
-- 
2.1.2

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

end of thread, other threads:[~2015-08-24  9:46 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19  9:53 [rtc-linux] [PATCH v3 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Suneel Garapati
2015-08-19  9:53 ` Suneel Garapati
2015-08-19  9:53 ` Suneel Garapati
2015-08-19  9:53 ` [rtc-linux] [PATCH v3 2/2] drivers: rtc: add xilinx zynqmp rtc driver Suneel Garapati
2015-08-19  9:53   ` Suneel Garapati
2015-08-19  9:53   ` Suneel Garapati
2015-08-19 18:19   ` [rtc-linux] " Moritz Fischer
2015-08-19 18:19     ` Moritz Fischer
2015-08-19 18:19     ` Moritz Fischer
2015-08-20  4:37     ` [rtc-linux] " suneelgarapati
2015-08-20 16:27       ` Moritz Fischer
2015-08-20 16:27         ` Moritz Fischer
2015-08-20 16:27         ` Moritz Fischer
2015-08-24  7:43   ` [rtc-linux] " Alexandre Belloni
2015-08-24  7:43     ` Alexandre Belloni
2015-08-24  7:43     ` Alexandre Belloni
2015-08-24  7:48     ` [rtc-linux] " Michal Simek
2015-08-24  7:48       ` Michal Simek
2015-08-24  7:48       ` Michal Simek
2015-08-24  8:08       ` [rtc-linux] " Alexandre Belloni
2015-08-24  8:08         ` Alexandre Belloni
2015-08-24  8:08         ` Alexandre Belloni
2015-08-24  9:18         ` [rtc-linux] " Michal Simek
2015-08-24  9:18           ` Michal Simek
2015-08-24  9:18           ` Michal Simek
2015-08-24  9:45           ` [rtc-linux] " Alexandre Belloni
2015-08-24  9:45             ` Alexandre Belloni
2015-08-24  9:45             ` Alexandre Belloni
2015-08-24  7:42 ` [rtc-linux] Re: [PATCH v3 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Alexandre Belloni
2015-08-24  7:42   ` Alexandre Belloni
2015-08-24  7:42   ` 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.