[PATCH 1/7] RTC: add DT bindings to pxa-rtc
From: Sergei Shtylyov <hidden>
Date: 2012-07-26 12:51:14
Hello. On 25-07-2012 20:17, Daniel Mack wrote:
This patch adds generic device tree bindings to the PXA RTC driver. Documentation for bindings were also added.
Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: Robert Jarzmik <robert.jarzmik@free.fr> Cc: Alessandro Zummo <redacted> --- Documentation/devicetree/bindings/rtc/pxa-rtc.txt | 12 ++++++++++++ drivers/rtc/rtc-pxa.c | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/pxa-rtc.txt
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/rtc/pxa-rtc.txt b/Documentation/devicetree/bindings/rtc/pxa-rtc.txt new file mode 100644 index 0000000..acba256 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/pxa-rtc.txt@@ -0,0 +1,12 @@ +* PXA RTC + +PXA specific RTC driver. + +Required properties: +- compatible : Should be pxa-rtc + +Examples: + +rtc at 0 {
Don't use the address postfix when the node doesn't have "reg" property.
+ compatible = "mrvl,pxa-rtc"; +};
WBR, Sergei