From patchwork Fri Jun 20 11:48:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 362170 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46F36140088 for ; Fri, 20 Jun 2014 21:49:47 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966747AbaFTLtl (ORCPT ); Fri, 20 Jun 2014 07:49:41 -0400 Received: from mail-we0-f177.google.com ([74.125.82.177]:37336 "EHLO mail-we0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967174AbaFTLt0 (ORCPT ); Fri, 20 Jun 2014 07:49:26 -0400 Received: by mail-we0-f177.google.com with SMTP id u56so3571065wes.8 for ; Fri, 20 Jun 2014 04:49:24 -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=Uc6pwtnFDar9x+zWHPIwgDdFj2rGWs+eWEsU/F5OrPXjohibFYx/tAQEEZ4LPLWyEW 059J+v+TSr1O5PZdS0xDr1Gzvwg001x1evbDufAkgEwAgyvClajbElOARPKeujOGGXc4 bxTICI2VXgcRW61h/NM80ipzCuys8R11bZa1mRuMEyMOkQv3w3aKg3CdC+TXMuQYmhqu OlsHWZofdbi6lsRjAytP7+mU4rLZvYeBSTfeqsFQ0dkSbpz2S3Fj41o27AEbOY5uyDDm kksQ7rxTOrOYko/dYy1Be40TBN4z3nIkqNVGw4kkToa4QcyEq+R7OhGODecuNhqC34+9 9OFA== X-Received: by 10.180.73.169 with SMTP id m9mr3591242wiv.53.1403264964730; Fri, 20 Jun 2014 04:49:24 -0700 (PDT) Received: from localhost.localdomain (232.Red-2-136-47.dynamicIP.rima-tde.net. [2.136.47.232]) by mx.google.com with ESMTPSA id cd1sm15124794wjc.19.2014.06.20.04.49.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Jun 2014 04:49:24 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, rdunlap@infradead.org, linux@arm.linux.org.uk, daniel.lezcano@linaro.org, tglx@linutronix.de, grant.likely@linaro.org, matthias.bgg@gmail.com, thierry.reding@gmail.com, florian.vaussard@epfl.ch, jic23@kernel.org, jason@lakedaemon.net, andrew@lunn.ch, silvio.fricke@gmail.com, heiko.stuebner@bq.com, olof@lixom.net, sebastian.hesselbarth@gmail.com, sboyd@codeaurora.org, gregory.clement@free-electrons.com, arnd@arndb.de, robherring2@gmail.com, marc.zyngier@arm.com, maxime.ripard@free-electrons.com, soren.brinkmann@xilinx.com, shawn.guo@freescale.com, anders.berg@lsi.com, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v9 3/3] dt-bindings: add mtk-timer bindings Date: Fri, 20 Jun 2014 13:48:49 +0200 Message-Id: <1403264929-21325-4-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403264929-21325-1-git-send-email-matthias.bgg@gmail.com> References: <1403264929-21325-1-git-send-email-matthias.bgg@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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"; + };