From patchwork Tue Mar 12 17:08:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 2257531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 9C7DA3FCF6 for ; Tue, 12 Mar 2013 17:19:28 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFSnc-0008G7-85; Tue, 12 Mar 2013 17:15:41 +0000 Received: from mail-ia0-x22b.google.com ([2607:f8b0:4001:c02::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFSiB-0005AB-Au for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2013 17:10:04 +0000 Received: by mail-ia0-f171.google.com with SMTP id z13so64401iaz.30 for ; Tue, 12 Mar 2013 10:10:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=U0J0C8qwbJ6dgja9GZhvflWACgI3KlSZorxW+Y2qK18=; b=Zyf9YLrzilsQL9QdkWVAmGvOrqDLrqVuUC60ascECGO9lXgk/AxbAC9dXZfa3cQC15 UhTqMTbDIXXwPEkNO6PD8NSoBNkqrd6vvTZEnRcBgHA3t2nM8fln2m3nCF2HizEjl7Cg 8kwnIyfjwxqbaitk1s/EQ/2lVccWFxqDCC/R38P/FKdOfib2BCgcdBWqbGP0z0FveiHM LOeOqcKpFLqFevT6jLxICFFhZfXYLYMJ4qmrOwpyyQfr+WxbxXDeKioFiYxkwLynUEuQ pNxSBTozdy/1aLzz2oy3uDKy8imVdqz0xtT8olGNnxsZZTaNMOG6N3YVsgz0F7RdzExj cQUw== X-Received: by 10.50.13.228 with SMTP id k4mr12506170igc.30.1363108201453; Tue, 12 Mar 2013 10:10:01 -0700 (PDT) Received: from localhost.localdomain ([140.206.155.72]) by mx.google.com with ESMTPS id xc3sm20593825igb.10.2013.03.12.10.09.57 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 10:10:00 -0700 (PDT) From: Haojian Zhuang To: linux@arm.linux.org.uk, linus.walleij@linaro.org, arnd@arndb.de, olof@lixom.net, rob.herring@calxeda.com, linux-arm-kernel@lists.infradead.org, pawel.moll@arm.com, swarren@nvidia.com, john.stultz@linaro.org, tglx@linutronix.de, mturquette@linaro.org Subject: [PATCH v2 14/14] Document: add device tree binding file for sp804 Date: Wed, 13 Mar 2013 01:08:43 +0800 Message-Id: <1363108124-17484-15-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1363108124-17484-1-git-send-email-haojian.zhuang@linaro.org> References: <1363108124-17484-1-git-send-email-haojian.zhuang@linaro.org> X-Gm-Message-State: ALoCoQm+Ifp6U7IoG7kFjfkfW22xN1KPtJK5H98ux/7A19Rr1cOUiQPm/iDiI6Bi5RXsqDvI1hXY X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130312_131004_399617_8C8E17AB X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang , patches@linaro.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 Add binding document for sp804 dual timer. Signed-off-by: Haojian Zhuang --- .../devicetree/bindings/timer/arm,sp804.txt | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/arm,sp804.txt diff --git a/Documentation/devicetree/bindings/timer/arm,sp804.txt b/Documentation/devicetree/bindings/timer/arm,sp804.txt new file mode 100644 index 0000000..ec1ae45 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/arm,sp804.txt @@ -0,0 +1,27 @@ +ARM sp804 Dual Timers +--------------------------------------- + +Required properties: +- compatible: Should be "arm,sp804" & "arm,primecell" +- interrupts: Should contain the list of Dual Timer interrupts + interrupts = <0 0 4>, <0 1 4>; +- reg: Should contain location and length for dual timer register. +- clocks: clock driving the dual timer hardware + clocks = <&timclk0 &timclk1>; + +Optional properties: +- arm,sp804-clocksource: Should contain the register offset of TIMER1 or + TIMER2 in Dual Timer Controller. + arm,sp804-clocksource = <0x20>; + +Example: + + timer0: timer@fc800000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0xfc800000 0x1000>; + /* timer00 & timer01 */ + interrupts = <0 0 4>, <0 1 4>; + clocks = <&timclk0 &timclk1>; + clock-names = "apb_pclk"; + status = "disabled"; + };