Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-binding: document the binding for mxc rtc

This adds documentation of device tree bindings for the
mxc rtc.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Philippe Reynes and committed by
Shawn Guo
61186371 8f5fe778

+26
+26
Documentation/devicetree/bindings/rtc/rtc-mxc.txt
··· 1 + * Real Time Clock of the i.MX SoCs 2 + 3 + RTC controller for the i.MX SoCs 4 + 5 + Required properties: 6 + - compatible: Should be "fsl,imx1-rtc" or "fsl,imx21-rtc". 7 + - reg: physical base address of the controller and length of memory mapped 8 + region. 9 + - interrupts: IRQ line for the RTC. 10 + - clocks: should contain two entries: 11 + * one for the input reference 12 + * one for the the SoC RTC 13 + - clock-names: should contain: 14 + * "ref" for the input reference clock 15 + * "ipg" for the SoC RTC clock 16 + 17 + Example: 18 + 19 + rtc@10007000 { 20 + compatible = "fsl,imx21-rtc"; 21 + reg = <0x10007000 0x1000>; 22 + interrupts = <22>; 23 + clocks = <&clks IMX27_CLK_CKIL>, 24 + <&clks IMX27_CLK_RTC_IPG_GATE>; 25 + clock-names = "ref", "ipg"; 26 + };