From patchwork Wed Apr 9 19:45:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 3957481 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 19E7FBFF02 for ; Wed, 9 Apr 2014 19:46:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51F1A206B1 for ; Wed, 9 Apr 2014 19:46:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 20CFD206AB for ; Wed, 9 Apr 2014 19:46:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXySK-0004fk-8A; Wed, 09 Apr 2014 19:46:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXySE-00027C-Tf; Wed, 09 Apr 2014 19:46:40 +0000 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXyS1-00024e-TP for linux-arm-kernel@lists.infradead.org; Wed, 09 Apr 2014 19:46:27 +0000 Received: by mail-we0-f176.google.com with SMTP id x48so2929047wes.21 for ; Wed, 09 Apr 2014 12:46:05 -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=ibMU2F31Ef21Ga/Mx/WrOWLTDVa8pfomPFyRSUmHTMQ=; b=kRPalp0uQ9NOmVfhsbrXDlrEygqRTYn4nMVfoomIldb+ICYe/AL8Mf1hCwdCnXB4yv IE0Cl2BG4c3OyPQ/En2ZnXxGC2ajSVqSEEjxtPl5twNMQ8LeD5TBE/vL27frojS4PHLq hO9b750kSDcjwje0sYV4UsGbX6aGBS1sy+GHP3bvPOF8/9LSomWtA4nKoCHkyWr4xOru 2z/HeAhIpfNN+U1donrDfoorn/HUe3VQgmTxb4oV9+hnJgOFivmRXJP/d6LIU366NHB3 rKp9EpkL7zO71YzU8SbtWYKMaPy2lee/P0BzouEcDMy8HE8l5bFot/21GwznbCNkJWaj 3ZuA== X-Received: by 10.194.188.68 with SMTP id fy4mr11359547wjc.30.1397072765893; Wed, 09 Apr 2014 12:46:05 -0700 (PDT) Received: from localhost.localdomain (87.Red-88-0-22.dynamicIP.rima-tde.net. [88.0.22.87]) by mx.google.com with ESMTPSA id vh3sm3069256wjc.18.2014.04.09.12.46.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Apr 2014 12:46:05 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: add mtk-timer bindings Date: Wed, 9 Apr 2014 21:45:34 +0200 Message-Id: <1397072736-10793-3-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397072736-10793-1-git-send-email-matthias.bgg@gmail.com> References: <1397072736-10793-1-git-send-email-matthias.bgg@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140409_154626_086579_60A2327E X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -2.0 (--) Cc: mark.rutland@arm.com, andrew@lunn.ch, linux-doc@vger.kernel.org, thierry.reding@gmail.com, heiko.stuebner@bq.com, linux@arm.linux.org.uk, 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, robh+dt@kernel.org, matthias.bgg@gmail.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, rdunlap@infradead.org, silvio.fricke@gmail.com, galak@codeaurora.org, olof@lixom.net, 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=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 --- .../bindings/timer/mediatek,mtk-timer.txt | 19 +++++++++++++++++++ 1 file changed, 19 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..db3c836 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -0,0 +1,19 @@ +Mediatek MT6598, MT6577 and MT6572 Timers +--------------------------------------- + +Required properties: +- compatible: Should be "mediatek,mtk6589-timer" +- reg: Should contain location and length for timers register. +- clock-names : Must include the following entries: + "sysclk" (13 MHz system clock), + "rtcclk" (32 KHz RTC clock). + +Examples: + + timer { + compatible = "mediatek,mtk6589-timer"; + reg = <0x10008000 0x80>; + interrupts = ; + clocks = <&system_clk>, <&rtc-clk>; + clock-names = "sysclk", "rtcclk"; + };