From patchwork Mon May 12 23:49:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 4161691 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7F830BFF02 for ; Mon, 12 May 2014 23:53:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A40602034F for ; Mon, 12 May 2014 23:53:07 +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 CC03620306 for ; Mon, 12 May 2014 23:53:06 +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 1WjzzM-0006Tm-Il; Mon, 12 May 2014 23:50:32 +0000 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WjzzA-0005LM-BN for linux-arm-kernel@lists.infradead.org; Mon, 12 May 2014 23:50:21 +0000 Received: by mail-wi0-f175.google.com with SMTP id f8so5371330wiw.14 for ; Mon, 12 May 2014 16:49:58 -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=NUTYq5z3pXpSFScVfqNYYV1dWiCySXtnj+64ke0zDLY=; b=DEBIrVYNlT0EJSGgIhdYmK26RsLmKNJg9p+6smIT6fPp/SUMUmZq/rZ2+p0saNQld/ 7WVBl976o8mriGD5UcKzAG3i3+VvEVfDDW4CqLqEEsoQfjeby5il+xRER1WL/dEnp1ng RsqJaVMab01EUMdJtOTKPMqxXxE4RB+HnYoymmez3hMt/k3t6/cmHT1A4zoWjC1aZQFd BdTiza482yhRieB82ZOyBchIYAtXumw2EWIc9gUle5OTa20dsVLmnheXp8K8gIfM3ea9 ZEJFQU3hSYeJt9hC+BdEdhNnGORwveakb2nGEiP8Mstk8fisU9b1wOQFPiVo7HgwPMRX D4gg== X-Received: by 10.194.5.5 with SMTP id o5mr23844199wjo.16.1399938598232; Mon, 12 May 2014 16:49:58 -0700 (PDT) Received: from localhost.localdomain ([31.4.237.218]) by mx.google.com with ESMTPSA id fu10sm18718151wib.11.2014.05.12.16.49.54 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 16:49:57 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Subject: [PATCH v3 2/6] dt-bindings: add mtk-timer bindings Date: Tue, 13 May 2014 01:49:26 +0200 Message-Id: <1399938570-11356-3-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1399938570-11356-1-git-send-email-matthias.bgg@gmail.com> References: <1399938570-11356-1-git-send-email-matthias.bgg@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140512_165020_552033_933565B9 X-CRM114-Status: GOOD ( 11.33 ) X-Spam-Score: -0.1 (/) Cc: mark.rutland@arm.com, andrew@lunn.ch, linux-doc@vger.kernel.org, gregory.clement@free-electrons.com, thierry.reding@gmail.com, heiko.stuebner@bq.com, linux@arm.linux.org.uk, arnd@arndb.de, daniel.lezcano@linaro.org, florian.vaussard@epfl.ch, sebastian.hesselbarth@gmail.com, devicetree@vger.kernel.org, jason@lakedaemon.net, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, marc.zyngier@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, rdunlap@infradead.org, sboyd@codeaurora.org, silvio.fricke@gmail.com, galak@codeaurora.org, olof@lixom.net, maxime.ripard@free-electrons.com, jic23@kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Add binding documentation for the General Porpose Timer driver of the Mediatek SoCs. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt new file mode 100644 index 0000000..d0f2df3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -0,0 +1,18 @@ +Mediatek MT6589, MT6577 and MT6572 Timers +--------------------------------------- + +Required properties: +- compatible: Should be "mediatek,mtk6589-timer" +- reg: Should contain location and length for timers register. +- clocks: phandle to the clock source; the first refers to a 13 MHz fixed + system clock and the second handle to a 32 KHz fixed RTC + clock. + +Examples: + + timer { + compatible = "mediatek,mtk6589-timer"; + reg = <0x10008000 0x80>; + interrupts = ; + clocks = <&system_clk>, <&rtc_clk>; + };