From patchwork Wed May 14 17:12:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 348892 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 DD65C14008B for ; Thu, 15 May 2014 03:16:45 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756487AbaENRN2 (ORCPT ); Wed, 14 May 2014 13:13:28 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:40379 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754880AbaENRNZ (ORCPT ); Wed, 14 May 2014 13:13:25 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so2270553wes.15 for ; Wed, 14 May 2014 10:13: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; bh=GiACkcFraOdoOjnmiES3kbxFhA+vobW/o+XwSPr376k=; b=aQOUnuHOSdmysV0mbGctxmvvHMaDwEHPeTy3YV0kqHVkXiTS7gNLQkkyIsGnyjTL/e vEPrw+4eg8GIUzSsFEPAoSxUy0eMOXU+G+QtmmBTFewskIFdn7QhCi/VvK31aVQ21/ea 8pUQCsg3xIEYzA4wJJ//T6kWLrcjBMlsKvcyYHu23WZREkccx6iUA/ZKPr+2s8i7HLdl WYS2upbfyO9FltDayvy6Snuis0Q25+VYWG7+0bzrpEebKpEgpNAyeyrvC/RoGpWYKdIe VlQkYdC5vU9Id45kMhTcdDbiNUtzQhkjq68LvF+YtQCMWGyQ/e578NuHULkWcVSIQBLi FljA== X-Received: by 10.194.6.106 with SMTP id z10mr4096966wjz.1.1400087604434; Wed, 14 May 2014 10:13:24 -0700 (PDT) Received: from localhost.localdomain (23.Red-213-98-62.staticIP.rima-tde.net. [213.98.62.23]) by mx.google.com with ESMTPSA id z14sm1317653wiu.6.2014.05.14.10.13.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 10:13:23 -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, 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, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/6] dt-bindings: add mtk-timer bindings Date: Wed, 14 May 2014 19:12:55 +0200 Message-Id: <1400087579-4250-3-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1400087579-4250-1-git-send-email-matthias.bgg@gmail.com> References: <1400087579-4250-1-git-send-email-matthias.bgg@gmail.com> 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 --- .../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..938adf6 --- /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: Clocks driving the timer hardware. This list shoud include two + clocks. The order is system clock and as second clock the RTC clock. + +Examples: + + timer { + compatible = "mediatek,mtk6589-timer"; + reg = <0x10008000 0x80>; + interrupts = ; + clocks = <&system_clk>, <&rtc_clk>; + clock-names = "system-clk", "rtc-clk"; + };