From patchwork Mon Jul 7 15:13:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 367614 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 1A2651400D3 for ; Tue, 8 Jul 2014 01:15:05 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753880AbaGGPN7 (ORCPT ); Mon, 7 Jul 2014 11:13:59 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:54352 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbaGGPN5 (ORCPT ); Mon, 7 Jul 2014 11:13:57 -0400 Received: by mail-wi0-f182.google.com with SMTP id bs8so7083351wib.9 for ; Mon, 07 Jul 2014 08:13:56 -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=z/Hi7e3sBMX8A9UsayhDxxsQY1ku7KzZ9l+CxJuKzIo=; b=duu/S/VDr+iGnCcOlBmBodTKO47RlQhBrdKM0O1s925h+cE2iybbJhQGRA3e/fD+Sl 8igQeCrTdvbEmXjk6da6pGqCJTbDPQXZBfR+F2/jZ7is6JOaK9rgA28cpIDRqIUwCpjd zVhw5CCqyl/WRhbDNfRt9XVcQc9vCNs7RaYST8yyvZM9RsCH97nf0LCnTZ7tOxOl3otX 3CSz/bYWIZ3Exx0Ba7dqOLw9YCPptJsqQ/0YyZvGMkNFDUT28qemMEGBGKDF8UeZ7/U/ MFeiWL99rUGSvl/GZAXzM52UIUeaQeNxAPcoVrpD3EcsbFkFCBh+3yUrpwBTXmxxYsIR z9ZQ== X-Received: by 10.180.221.196 with SMTP id qg4mr37997558wic.66.1404746036097; Mon, 07 Jul 2014 08:13:56 -0700 (PDT) Received: from localhost.localdomain (36.Red-83-40-50.dynamicIP.rima-tde.net. [83.40.50.36]) by mx.google.com with ESMTPSA id by3sm70706474wjc.10.2014.07.07.08.13.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Jul 2014 08:13:55 -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, ak@linux.intel.com, hpa@linux.intel.com, akpm@linux-foundation.org, u.kleine-koenig@pengutronix.de, gregkh@linuxfoundation.org, fabf@skynet.be, rostedt@goodmis.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v10 3/7] dt-bindings: add mtk-timer bindings Date: Mon, 7 Jul 2014 17:13:04 +0200 Message-Id: <1404745988-32558-4-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404745988-32558-1-git-send-email-matthias.bgg@gmail.com> References: <1404745988-32558-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 | 17 +++++++++++++++++ 1 file changed, 17 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..7c4408f --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -0,0 +1,17 @@ +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>; + };