From patchwork Thu May 14 17:34:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6408851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 27907C0432 for ; Thu, 14 May 2015 17:40:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A2FD20452 for ; Thu, 14 May 2015 17:40:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DB9C2027D for ; Thu, 14 May 2015 17:40:22 +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 1Ysx4b-0004fL-Aj; Thu, 14 May 2015 17:37:29 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ysx3A-0003qg-8V for linux-arm-kernel@bombadil.infradead.org; Thu, 14 May 2015 17:36:00 +0000 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ysx36-0003Wd-L3 for linux-arm-kernel@lists.infradead.org; Thu, 14 May 2015 17:35:57 +0000 Received: by labbd9 with SMTP id bd9so78140434lab.2 for ; Thu, 14 May 2015 10:35:30 -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=gCN1K2GFharO+tOgtBj7eaj9YORLCqdIpNnJxBpunGD1gOnN8CDGnzWFhU1y1+XimJ DH89A0QaFmeyGtEFkoQRM0D0prEaklvmC9r7hjOXpdhyJAmEknwkrTNXS0iF6LlVB8Ry xleqj17sYArAEMnwQOEaO2bpjYjqxl2FNIRlk4L/LZjbCHFB/RGwqnux87Mj9DTqjvyv SxQBinJ//fEOU+qQqv6UYZ3t/HWUmLfMwc74de/+ZB0bZ5Ok9aTr9dVqrA9NJPc5T4ZP GwSwMnu9ab/jYvOAMz1TsgAtn6dIeulLAYU1vrv7+RFy519pGg47N0BYpAEcQPHceqFs PV/g== X-Received: by 10.152.7.97 with SMTP id i1mr3899378laa.49.1431624930819; Thu, 14 May 2015 10:35:30 -0700 (PDT) Received: from localhost.localdomain ([90.149.48.183]) by mx.google.com with ESMTPSA id e3sm6313532lag.26.2015.05.14.10.35.29 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 May 2015 10:35:30 -0700 (PDT) From: Joachim Eastwood To: akpm@linux-foundation.org, a.zummo@towertech.it Subject: [PATCH 2/2] doc: dt: add documentation for nxp,lpc1788-rtc Date: Thu, 14 May 2015 19:34:35 +0200 Message-Id: <1431624875-20990-3-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1431624875-20990-1-git-send-email-manabian@gmail.com> References: <1431624875-20990-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150514_133557_007942_26FB7874 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) Cc: devicetree@vger.kernel.org, Joachim Eastwood , linux-arm-kernel@lists.infradead.org, rtc-linux@googlegroups.com, wellsk40@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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"; +};