From patchwork Fri May 15 13:25:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6414081 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 3DC72C0432 for ; Fri, 15 May 2015 13:27:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7017A2040F for ; Fri, 15 May 2015 13:27:55 +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 949EF204AE for ; Fri, 15 May 2015 13:27:54 +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 1YtFcl-0000Ko-VT; Fri, 15 May 2015 13:25:59 +0000 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtFcO-00005F-6J for linux-arm-kernel@lists.infradead.org; Fri, 15 May 2015 13:25:38 +0000 Received: by laat2 with SMTP id t2so119090776laa.1 for ; Fri, 15 May 2015 06:25:12 -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=K1bMDW1SqF4kB4JmpqDuzMWdepKR6IF/TxCLjgy3/SjgmYszKT6xOskZJNDxAG/npN qNaqUAnfJ4QNYUors4tEnCS/TwtqG4PdEJE6yqCjocG74Xi+KAegEG7s0v/AosKE6hiy tvPo8+vMl2Iw6k8nc3h40axmSKZpWj+5x6goQx7DlNwiBy9BwsCA76KhawYY3kqvOEUr TCm8e5wDZkoQC389qtzWoMhYnnet7Y3+Ynf9IXi75TTaeeIcwh1CrnHc05rkZcjZbXnD z6YyDpzvsQGi+hZhA8x5UcKwzAoa62QT+cJrxpbqtnTNRURgJhPcMyGCuqcFSLv0i36D uUog== X-Received: by 10.112.42.16 with SMTP id j16mr6988703lbl.98.1431696312104; Fri, 15 May 2015 06:25:12 -0700 (PDT) Received: from localhost.localdomain ([90.149.48.183]) by mx.google.com with ESMTPSA id jl4sm458254lbc.14.2015.05.15.06.25.10 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 May 2015 06:25:11 -0700 (PDT) From: Joachim Eastwood To: akpm@linux-foundation.org, a.zummo@towertech.it Subject: [PATCH v2 2/2] doc: dt: add documentation for nxp,lpc1788-rtc Date: Fri, 15 May 2015 15:25:06 +0200 Message-Id: <1431696306-19093-3-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1431696306-19093-1-git-send-email-manabian@gmail.com> References: <1431696306-19093-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150515_062536_458869_B71AEECF X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, rtc-linux@googlegroups.com, wellsk40@gmail.com, Joachim Eastwood , alexandre.belloni@free-electrons.com, joshc@ni.com, linux-arm-kernel@lists.infradead.org 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"; +};