From patchwork Fri Jan 9 15:32:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 427156 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wi0-x240.google.com (mail-wi0-x240.google.com [IPv6:2a00:1450:400c:c05::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BC7A7140119 for ; Sat, 10 Jan 2015 02:33:28 +1100 (AEDT) Received: by mail-wi0-f192.google.com with SMTP id em10sf252425wid.9 for ; Fri, 09 Jan 2015 07:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:content-type:precedence:mailing-list:list-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=wagCxXSZlirQquLqtX91Jm3Bg6WDdyaiOEpjc89pBnU=; b=GZo536zjMpScQrwOqLRMXOMR9UqAqxJrygjru4NOmGLDM8Wmficse1dSQUjp6duxcz IwfqWH1bqLalvxadpLJD1poPe/yPZ30PGj3sp/2XHN9OeTHEZVTd30XMNysZf+/n2d+w 6xlcBC6YaXblBgdx2uaIAZ5SNDDFG0L5JH0WjmZuGI1y0ZhpcDOXVPod/mq5spFStaW7 5sE97PQ2Mx9Jn3HRUcpjsa0ZzynEE4yTJ5YdStBK9q8ULdGrkBUkk9k2U9vUkC0f+G1Q OeEVcfY+p7tg240u5L3WrogYHwr+kPMYj4OTcKF4jPsEnIZoI/SVWFX6+VIak7KnDZZq koQg== X-Received: by 10.152.88.13 with SMTP id bc13mr19351lab.15.1420817606121; Fri, 09 Jan 2015 07:33:26 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.152.36.5 with SMTP id m5ls452843laj.71.gmail; Fri, 09 Jan 2015 07:33:25 -0800 (PST) X-Received: by 10.152.37.193 with SMTP id a1mr2040966lak.3.1420817605566; Fri, 09 Jan 2015 07:33:25 -0800 (PST) Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id j6si1438819wix.1.2015.01.09.07.33.25 for ; Fri, 09 Jan 2015 07:33:25 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning gregory.clement@free-electrons.com does not designate 37.187.137.238 as permitted sender) client-ip=37.187.137.238; Received: by mail.free-electrons.com (Postfix, from userid 106) id BCE5A831; Fri, 9 Jan 2015 16:33:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (von69-1-88-162-9-206.fbx.proxad.net [88.162.9.206]) by mail.free-electrons.com (Postfix) with ESMTPSA id 1B44F5C6; Fri, 9 Jan 2015 16:33:28 +0100 (CET) From: Gregory CLEMENT To: Alessandro Zummo , rtc-linux@googlegroups.com, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Cc: Thomas Petazzoni , Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, Maxime Ripard , Boris BREZILLON , Lior Amsalem , Tawfik Bayouk , Nadav Haklai , Mark Rutland , devicetree@vger.kernel.org Subject: [rtc-linux] [PATCH 1/4] rtc: armada38x: Add the device tree binding documentation Date: Fri, 9 Jan 2015 16:32:42 +0100 Message-Id: <1420817565-28800-2-git-send-email-gregory.clement@free-electrons.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420817565-28800-1-git-send-email-gregory.clement@free-electrons.com> References: <1420817565-28800-1-git-send-email-gregory.clement@free-electrons.com> X-Original-Sender: gregory.clement@free-electrons.com X-Original-Authentication-Results: gmr-mx.google.com; spf=softfail (google.com: domain of transitioning gregory.clement@free-electrons.com does not designate 37.187.137.238 as permitted sender) smtp.mail=gregory.clement@free-electrons.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , The Armada 38x SoCs come with a new RTC which differs from the one used in the other mvebu SoCs until now. This patch describes the binding of this RTC. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/rtc/armada-380-rtc.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/armada-380-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt b/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt new file mode 100644 index 000000000000..2c56bef9dd7e --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/armada-380-rtc.txt @@ -0,0 +1,17 @@ +* Real Time Clock of te Armada 38x SoCs + +RTC controller for the Armada 38x SoCs + +Required properties: +- compatible : Should be "marvell,armada-380-rtc" +- reg: physical base address of the controller and length of memory mapped + region. The second entires is for the IP configuration part. +- interrupts: IRQ line for the RTC. + +Example: + +rtc@184a8 { + compatible = "marvell,armada-380-rtc"; + reg = <0xa3800 0x20>, <0x184a0 0x0c>; + interrupts = ; +};