From patchwork Thu Jun 5 17:26:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 4307831 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 1479EBEEAA for ; Thu, 5 Jun 2014 17:29:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3450B201D3 for ; Thu, 5 Jun 2014 17:29:32 +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 611B12034F for ; Thu, 5 Jun 2014 17:29:31 +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 1WsbRZ-0004JO-N9; Thu, 05 Jun 2014 17:27:13 +0000 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WsbRL-0004CD-QP for linux-arm-kernel@lists.infradead.org; Thu, 05 Jun 2014 17:27:00 +0000 Received: by mail-wi0-f173.google.com with SMTP id bs8so10889732wib.0 for ; Thu, 05 Jun 2014 10:26:41 -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 :mime-version:content-type:content-transfer-encoding; bh=Wv26Qs6UwVKtS7s5STQ086z91zGLSf9e6ZzKMxVdDGs=; b=UbZ3RAT5zo9DphqVOaxmcGOybJcGG20dTKTNNrzno5urcj3DfpJWf2Xtr0TOzLKXlx 1WKYdL3Jz0x6x6HUlECPX5mB92iyMT1oU3WTNv5DniFvMzfTyszqcb19WqipTNehhf9F Se2Qh/c7eOzrFlZ1tO4m7LMgFcZqHGiw7ASHlSonZuGFgZh2Bico8G7/pHxcofjE0GLs GPnsYSmyBwOXZHTZR8GqfOGlrFZ6tlupqmEPKFJ1obDUBh9QtHzZnUxi8q/NdzXY3KMB GKT6PI0/MBBSx37J5CYraOKSSUUp3jPJzJYX0J52gBTDAs/tIBn68pFf9VPZDdx48L4j iQTQ== X-Received: by 10.195.13.79 with SMTP id ew15mr9463143wjd.19.1401989201073; Thu, 05 Jun 2014 10:26:41 -0700 (PDT) Received: from startic-SATELLITE-L850-1RZ.lan (23.Red-213-98-62.staticIP.rima-tde.net. [213.98.62.23]) by mx.google.com with ESMTPSA id c2sm8855345wja.18.2014.06.05.10.26.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 10:26:40 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Subject: [PATCH v7 3/7] dt-bindings: add mtk-timer bindings Date: Thu, 5 Jun 2014 19:26:17 +0200 Message-Id: <1401989181-4712-4-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401989181-4712-1-git-send-email-matthias.bgg@gmail.com> References: <1401989181-4712-1-git-send-email-matthias.bgg@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140605_102700_011084_80C63621 X-CRM114-Status: GOOD ( 11.60 ) 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, linux-arm-kernel@lists.infradead.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, soren.brinkmann@xilinx.com, 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: , 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 Acked-by: Sören Brinkmann Acked-by: Rob Herring --- .../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..10b7e09 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -0,0 +1,18 @@ +Mediatek MT6577, MT6572 and MT6589 Timers +--------------------------------------- + +Required properties: +- compatible: Should be "mediatek,mt6577-timer" +- reg: Should contain location and length for timers register. +- clocks: Clocks driving the timer hardware. This list should include two + clocks. The order is system clock and as second clock the RTC clock. + +Examples: + + timer@10008000 { + compatible = "mediatek,mt6577-timer"; + reg = <0x10008000 0x80>; + interrupts = ; + clocks = <&system_clk>, <&rtc_clk>; + clock-names = "system-clk", "rtc-clk"; + };