From patchwork Fri May 23 10:31:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 30705 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 29A2820369 for ; Fri, 23 May 2014 10:34:16 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf22557523iec.0 for ; Fri, 23 May 2014 03:34:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=7fP7FVRxL8n/d5AijEDtsfcKmhVzAeIx4SGCvLMMEcw=; b=EnHzmMlPFyKTLQVAxR68kecf/B8A8JVnTyTo54u2mhm91oLjIFjGca2IFNXqZqUxhb dLSgayaWDU4ntu5r/8fcvko9QrtK+gkHV1kX+yV/c5wcT1WjzXaGvxtZnIT1+HbeGpm3 89VSYNYPKNsImMvOKE7YSxTcSONRg2nM9l9vI1f/ppqRbZfsd12lxa24B7hPaFDzInxr S82CX1gEhInZflCN/ZdpfD210n4ynalifMVhDBtWD+mMfppjfJs5nxeKFZeI0FwePMRL L5FY1UamhuzwCxkmKv1WHeF43I8hgLil+pgOWAzkOzA9sQ4clZgzCBAUdqZyo4VC2F0p f4wA== X-Gm-Message-State: ALoCoQkbtvn74EqFyM2hYKJXoqJqrNBWfvhwUxEnv7zD8xUdw/sMn3yEDKpM0ydWH05gQg59MFey X-Received: by 10.182.176.8 with SMTP id ce8mr1798330obc.7.1400841255661; Fri, 23 May 2014 03:34:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.33 with SMTP id q30ls1748062qgd.10.gmail; Fri, 23 May 2014 03:34:15 -0700 (PDT) X-Received: by 10.52.103.74 with SMTP id fu10mr2872431vdb.7.1400841255559; Fri, 23 May 2014 03:34:15 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id or9si1375603vcb.81.2014.05.23.03.34.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:34:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so6005908veb.17 for ; Fri, 23 May 2014 03:34:15 -0700 (PDT) X-Received: by 10.58.185.165 with SMTP id fd5mr354147vec.41.1400841255491; Fri, 23 May 2014 03:34:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp19909vcb; Fri, 23 May 2014 03:34:15 -0700 (PDT) X-Received: by 10.66.66.199 with SMTP id h7mr4862945pat.30.1400841254687; Fri, 23 May 2014 03:34:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qa7si3270474pbb.88.2014.05.23.03.34.14 for ; Fri, 23 May 2014 03:34:14 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbaEWKdv (ORCPT + 27 others); Fri, 23 May 2014 06:33:51 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:40830 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753203AbaEWKdD (ORCPT ); Fri, 23 May 2014 06:33:03 -0400 Received: by mail-we0-f173.google.com with SMTP id u57so4682389wes.18 for ; Fri, 23 May 2014 03:33:01 -0700 (PDT) X-Received: by 10.180.211.36 with SMTP id mz4mr2506447wic.20.1400841181913; Fri, 23 May 2014 03:33:01 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-404-187.w82-125.abo.wanadoo.fr. [82.125.3.187]) by mx.google.com with ESMTPSA id s9sm2200908wix.13.2014.05.23.03.33.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:33:01 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 69/71] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation Date: Fri, 23 May 2014 12:31:49 +0200 Message-Id: <1400841111-6683-69-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> References: <537F214C.8000700@linaro.org> <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Xiubo Li The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu Signed-off-by: Daniel Lezcano --- .../devicetree/bindings/timer/fsl,ftm-timer.txt | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt new file mode 100644 index 0000000..aa8c402 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt @@ -0,0 +1,31 @@ +Freescale FlexTimer Module (FTM) Timer + +Required properties: + +- compatible : should be "fsl,ftm-timer" +- reg : Specifies base physical address and size of the register sets for the + clock event device and clock source device. +- interrupts : Should be the clock event device interrupt. +- clocks : The clocks provided by the SoC to drive the timer, must contain an + entry for each entry in clock-names. +- clock-names : Must include the following entries: + o "ftm-evt" + o "ftm-src" + o "ftm-evt-counter-en" + o "ftm-src-counter-en" +- big-endian: One boolean property, the big endian mode will be in use if it is + present, or the little endian mode will be in use for all the device registers. + +Example: +ftm: ftm@400b8000 { + compatible = "fsl,ftm-timer"; + reg = <0x400b8000 0x1000 0x400b9000 0x1000>; + interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "ftm-evt", "ftm-src", + "ftm-evt-counter-en", "ftm-src-counter-en"; + clocks = <&clks VF610_CLK_FTM2>, + <&clks VF610_CLK_FTM3>, + <&clks VF610_CLK_FTM2_EXT_FIX_EN>, + <&clks VF610_CLK_FTM3_EXT_FIX_EN>; + big-endian; +};