From patchwork Sat Jul 11 17:28:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6771161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 797BC9F2F0 for ; Sat, 11 Jul 2015 17:33:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A5A9203EC for ; Sat, 11 Jul 2015 17:33:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AAF7203DA for ; Sat, 11 Jul 2015 17:33:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDybO-0004bS-F8; Sat, 11 Jul 2015 17:30:14 +0000 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDyb9-0003QG-M4 for linux-arm-kernel@lists.infradead.org; Sat, 11 Jul 2015 17:30:00 +0000 Received: by lblf12 with SMTP id f12so37249603lbl.2 for ; Sat, 11 Jul 2015 10:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0VhaAMoSjXM1MNunqJfPx3mqMPvdX2BIMvH+lyiZSKc=; b=ODW8SAh4qEuXorc/pVmDRpXAZXXiSj05He7WRBc3rpBe9CzamJIrxYCGpz6a8E00Jf nHlxTUfkxSfjEzmJGs8xqwL4y3xZzUYvsrcD9EqnHDmPnWfy/3VJENZtCdFYaIHn5jNC K15Barw0tj5cKW/TgMRW4IaAp6UDOf6//ca92dh76joK1ax0nbJ0VIQ/UVXYzS4WpNXk h+amG1yWYOf/slMtzcaXWxH1/oVZFOI/S7yKAb3a/acUv11LFOFNrNsWcTK8rtu7Hsbn r/RWutx8oJ17yUO084zlSguAx0GmxzdLcN42TCPVc/ZF9YB/OxGa+W95LZBU53PLKkH4 u8dw== X-Received: by 10.112.134.167 with SMTP id pl7mr24879240lbb.50.1436635777844; Sat, 11 Jul 2015 10:29:37 -0700 (PDT) Received: from localhost.localdomain ([89.11.213.141]) by smtp.gmail.com with ESMTPSA id tp10sm3323329lbb.4.2015.07.11.10.29.36 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 11 Jul 2015 10:29:37 -0700 (PDT) From: Joachim Eastwood To: alexandre.belloni@free-electrons.com, a.zummo@towertech.it Subject: [PATCH v3 2/2] doc: dt: add documentation for nxp,lpc1788-rtc Date: Sat, 11 Jul 2015 19:28:50 +0200 Message-Id: <1436635730-15617-3-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1436635730-15617-1-git-send-email-manabian@gmail.com> References: <1436635730-15617-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150711_102959_906115_AB0CC4C0 X-CRM114-Status: GOOD ( 10.74 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Joachim Eastwood , linux-arm-kernel@lists.infradead.org, rtc-linux@googlegroups.com, joshc@ni.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/rtc/nxp,lpc1788-rtc.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt new file mode 100644 index 000000000000..ad41a040432c --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt @@ -0,0 +1,21 @@ +NXP LPC1788 real-time clock + +The LPC1788 RTC provides calendar and clock functionality +together with periodic tick and alarm interrupt support. + +Required properties: +- compatible : must contain "nxp,lpc1788-rtc" +- reg : Specifies base physical address and size of the registers. +- interrupts : A single interrupt specifier. +- clocks : Must contain entries for rtc and register clock +- clock-names : Must contain "rtc" and "reg" + See ../clocks/clock-bindings.txt for details. + +Example: +rtc: rtc@40046000 { + compatible = "nxp,lpc1788-rtc"; + reg = <0x40046000 0x1000>; + interrupts = <47>; + clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>; + clock-names = "rtc", "reg"; +};