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: 337923 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 D80DB1400D8 for ; Thu, 10 Apr 2014 05:46:18 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934421AbaDITqK (ORCPT ); Wed, 9 Apr 2014 15:46:10 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:54957 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934416AbaDITqH (ORCPT ); Wed, 9 Apr 2014 15:46:07 -0400 Received: by mail-wg0-f47.google.com with SMTP id x12so2940347wgg.18 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 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, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.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> 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 --- .../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"; + };