From patchwork Wed Aug 12 04:01:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongsheng Wang X-Patchwork-Id: 6995511 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AD9C6C05AD for ; Wed, 12 Aug 2015 04:10:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1681206D4 for ; Wed, 12 Aug 2015 04:10:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E4B63206D2 for ; Wed, 12 Aug 2015 04:10:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPNJW-00021V-4R; Wed, 12 Aug 2015 04:06:54 +0000 Received: from mail-by2on0134.outbound.protection.outlook.com ([207.46.100.134] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPNJS-0001zX-Iz for linux-arm-kernel@lists.infradead.org; Wed, 12 Aug 2015 04:06:51 +0000 Received: from BY1PR0301MB0870.namprd03.prod.outlook.com (10.160.194.140) by BY1PR0301MB1221.namprd03.prod.outlook.com (10.161.203.17) with Microsoft SMTP Server (TLS) id 15.1.231.21; Wed, 12 Aug 2015 04:06:28 +0000 Received: from BN3PR0301CA0051.namprd03.prod.outlook.com (10.160.152.147) by BY1PR0301MB0870.namprd03.prod.outlook.com (10.160.194.140) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 12 Aug 2015 04:06:27 +0000 Received: from BY2FFO11FD054.protection.gbl (2a01:111:f400:7c0c::174) by BN3PR0301CA0051.outlook.office365.com (2a01:111:e400:401e::19) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Wed, 12 Aug 2015 04:06:26 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD054.mail.protection.outlook.com (10.1.15.191) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Wed, 12 Aug 2015 04:06:25 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t7C46LSA031926; Tue, 11 Aug 2015 21:06:22 -0700 From: Dongsheng Wang To: Subject: [PATCH v3 1/2] Documentation: DT: FTM: add FTM0 be used as alarm timer Date: Wed, 12 Aug 2015 12:01:00 +0800 Message-ID: <1439352061-14656-1-git-send-email-dongsheng.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD054; 1:Ns9v/yDz2yMWK5ly7y9XR1zuDmy0Jiw//7Grdxf3p7GK24nUlhSnnsSaTm4Wh+gKP7MIDSBUKwFNbdZ24DgZTkq2b1F/dpRQUygVtdIhFYO0a3uFev6jSOaTL3y0b80/UlQCCsBA9ZpWIJJ3tLldgtDXX9O3qWHyUZbNVtMNHH10lQDlIngUFmybPLFqj2iFyQvSVu4RVTwtJHUNcKJYI/B87Z5c2PxO5X8SVvvVK4tfsPZt3J1CzIqGcVch37W5R9iZ6YpA7wC6Q9uJswXQRRQfVOVo5wIKFxUBQXcpwVSaLxn7gZ/VIQwzTgsQICZj+4E6DZC7n6RyQ0qn6bCpV1aLHNbvd4d92PFIcWzYAPW1kRLXDbCJTqYRdRKZz76kDtHG6XKdP5GMe0TvUmvvdA== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(3050300001)(339900001)(199003)(189002)(62966003)(575784001)(5003940100001)(33646002)(19580405001)(50226001)(106466001)(77096005)(6806004)(19580395003)(46102003)(105606002)(47776003)(64706001)(92566002)(85426001)(69596002)(68736005)(86362001)(189998001)(5001830100001)(81156007)(2351001)(77156002)(87936001)(5001960100002)(50466002)(107886002)(48376002)(4001540100001)(110136002)(104016003)(50986999)(229853001)(36756003)(5001860100001)(97736004)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0870; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0870; 2:8Ym72NzH7Z115MziG9QYBT5u9rmXyIATwmPjuQB295EpiZVM6a1oNzBUs+MT/uPFWckXRtERwsRSI8mCrt1yRvZfX81ov3X2Mj1L+PAyUb87VtB/zgr1yqqtCc7unETCSUMM8PAeAX/reDOLDmzAqlqtg5VYxU0NxmZFByJTDZc=; 3:ztx/spxgiqHDkiph90mubj5U4oU32MtUcSLCKgy/pgoCKvUgRK/yMhN6F45NE+J7luJA4n0cFg3+HcGygzgwCvWSPjjsPb7gxgJHYN0kk29K/ARuLob19MFYoF+NaobHezEEneAF9PmqP8OT7WdI2hJ/OKgTZNo2KYb22DByhhEZA1zSBfvYXSwtl+T6ucBSH8BDosRjJ8ve0J6ztUl5opEuxV/xMoMWT1CVTVOsO4M=; 25:dgKe+oeOBgWffXItk1v9ujS3XnRlA+MSbHJlebqFA2OygGZMsrOg98w6hmMIGUHJp/nInBOSaj+vGic998QwB6QAa3yilan3m0qSiQ55y5hq0gjistIZUWj7SWsbJI5np9JrnYwCqM86LX+3CpsVCXmNzjhX9uWx81sOMhXGMFuhbv8H8NSYkOlZho1/s0XxEfzUoFVSDqUBkXOPPyxlm9XlVeCA0JUKIZdKMeC3m9QP1U5DDrcGblQdMCXShzMloA98BZPdYl7KFCQlUGoe8Q== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0870; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1221; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0870; 20:ZS00s4w3/nUbMwZkVoJKg1AM7B60AK6OGhSXqJLVzqD666c2OXD051nq79xcblPTt02aGGeHgcqw2MkarZxi4cwN4qRce8ZFjS1gj6VxCqfh6CvWF/jT/igPfpAs8GvlEtyAJ4uaZrQwYFHL9bZqAN9YWWXtjyXzfWVt2a7YsWys0oPHp/0rjoau+X2Tk7lpQejLqSzyJbuGWcMPbweWuKGW8K3Ok9n3Hky1JJAVk1xUEnw1tPg0Ptx87dxb0sIYMX52x9NYguGHd1M3r1kVVO2kvGHyC6n7a9ekSBgGdJCUrunRLEVVhTRH5y9bBFRmqhcwiklFZv7O+UUbprn4OfIJZHgMXSNHK9wrELm81aM=; 4:PjTGcFWeiaCuWAKtDUt/bOOf9myQ7pCk47pXPO2gIdxUNpaNN0lhSwa4XB9K3N5Prz8v6sAXPehqWO7/dvWypYPTBqmhcQPpCSXJrp6UcTGj2zb3iuT2tPtVjkRIhhQDaqNlnq4eV+MBI5rPKSHuoGcIwgT+nDeP2ZWjW1qZuXZdFkYk4Lr8klAOUOl3MS4wxZlztlyq+3/AuQWVIbvi3C7XhQLv7hzZqy/chdAA6EF1dNXYQ2wsrdW374glb16RiTbPN9mTNDE9lQHoOKqNQlofWoFFsvA1QnkjcstKzo4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY1PR0301MB0870; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0870; X-Forefront-PRVS: 0666E15D35 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0870; 23:nIOOy6vBDxH3hGPgg87HnbEy6c2RRnMPyQLJWqG?= =?us-ascii?Q?hX5smZ4pNPQdx06KgO2d1DDm5hYxdW5UgaS/ytvK6ViUEB7gpu60NzVQS+ET?= =?us-ascii?Q?cOIj38vrqLezzXc6xk3XCmkYXdnVuPCcFJfM4S73qXrhKzc2fGq2VJQ7bdCg?= =?us-ascii?Q?I5V/Z722XidlX0dK5PDhdKkI2ULsfmgwZiooyyv6Aw2oFc+bP50fA9yzPkQI?= =?us-ascii?Q?Ri9ocNtg/CCrumafOq0pRMeGck6qei6JUTcieG6QeWFPSu9AuTqSUgr500C6?= =?us-ascii?Q?wm8n768uJa2Cg8/QmjbYbg8QjZxcgmVExn6KZMAnrZ9cJry4ZYir11pWeZ8T?= =?us-ascii?Q?GMXYT3HO2Rx3T+3IBUDVxcalfqGD6iWv/8uMg2J6lMnUIxz1dQXn/X9IujmK?= =?us-ascii?Q?rPYvvBY51BEN4Onguf0GQ9OoZ6dfPyzp9OnHfCz/XkgySGnZ1WZCmInCQUH/?= =?us-ascii?Q?x9RbT65TbdY+xYTVH+Rcglb06bELOU0+JUSlJ0gBIUbh7BwSbyNrx2k5RAlI?= =?us-ascii?Q?Iz02ee/OGFvBpiERne4fEXS7kurrjhJkeJjXiDdMV9W49BhlXnfaXa694mJr?= =?us-ascii?Q?aJBT/EX9I7lDn364wFKDyTw2eMnNCThZ7r2/syD9gvi/kKiP6rr+dE+p7J6I?= =?us-ascii?Q?M57XhxjpHTWfbusCiy1n3sdhsWgZx5wkb+B/U4lxI6awzSOGl52ETodyXO2i?= =?us-ascii?Q?U04Gq9lpEuTm8ofB83Vo9FU0XgVlrYyzGByi6fN1DB44ZXKg72FP6ymOXQh5?= =?us-ascii?Q?ywV7rVJKmjrwP4qxkG4iznJJ2v1MFgYDz/n/kTVRw5yz10eC6ipq/WZ95eT6?= =?us-ascii?Q?+32bbZh4oA+wFTaZupd/iut6//I7FNe0nG2U0Ljl8yDX8QZ2WaO6yeOe4raK?= =?us-ascii?Q?g3c8un+6k3GDq6JuoeaGxR/wG625O4XzqbFlD43PdhE5qyPpYH96bQarjF3t?= =?us-ascii?Q?CO4lSZXraSlA1D6g3atHhvLp5tSP9B+On/9jPLE4iXfvaQeomPJVwbxJqGRk?= =?us-ascii?Q?ZLHoY7RnherXAcnoo8Ilb3UdxoJIAVahcshznQ//tjjZvRVP/MoLxQEnzDgd?= =?us-ascii?Q?tTG1Fnr4LHuVAFGRdKczxGAcg3Z8FILTJGSpeLDYqAKPOC7u6g1t022IFd1M?= =?us-ascii?Q?wTVn2wL1x6XcsBHuNFCKtznLpi4Zm9XH2sOiiu6IXTihfjwz394AIog=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0870; 5:980XMDOGyOVEkX1uJpKIwTi6LHYaj+Kx0ARqfgElnNF60lehI080Q9QTKt5CZAOxyOhoCWxGUmdPAw7LY4UgUYlmYz5432zBcO4fB+ZEnUgX0GFqS1U9/TEgEAViX2zHY46dZ6ErYD8K0fOpY8Jihg==; 24:lb5dk0Aekww6I8XSwq7qJhUfoWtj3btf1wNIURudemCSYCWmAzA8R3RH4Rk+URE428XgrdQq7SUjRan8bjGZTAGbAGeKoguDP4DMIkr7QKw=; 20:bxVd/rgCnnos46loLm54Wr2xXLD2HSrz90OMxxXtEhTABQW/3XP9Ye2QPmPOUJA7djh1g/u4KcfVdV3nJGwR/A== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2015 04:06:25.8213 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0870 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1221; 2:daPRreLH5I+Ev+C/ijoZ6594Yi6L0aMfEqvJUYQhj2YTaQIAFXKgloXDa4wTbM1Xfxjxzi6knFyKjSPRBB0x8UvUYTzhW833lip365GWeu+jsarU2ofXUOcUXDPobsH376ZWRTTkqHeHKw44GbzL9Cg2j4fPwaaKe1/OjOHCBTE=; 3:IjCKDdUwUesc2Qsue+EnF2Dcqy3Pl0NwTpgoHZddNPB7xBjsKp5RaXFFp+FJVoUo+W/0r1DxuX+m+GftzYLQPhrye5+yC9QnDIu6DSNM9MwL2NP3tVjX2p+9CAFJuY84XJWy5xxyBcmg2sUK9wvw89UIEIWFj/ouDuHRBG7m1eY7YSmg+yWROZl67YMRuRj2jyy4ExwpqBUZ8l+CEHZY54PfWmlhok0cIy9s+IKjadw=; 25:G1N/98gc1+P/Lsehyl/83DJ8bRoW2mKfx1l2f0OTz1nlcgtI2Gu/pZDocP6xdu71zcK6M/8Y7IUxmi5Vc2eowjwpvRm9xNQ7gzocRSfuoIxsCxx3ZzR5UqOxHWAVnG5jJ5KFi/03r+9QjOEYg8XETWN/uLF3MNFtC/9juMWn7sRiZhuXyBmCxyPiZfaSTJ37QciXSj9WsDvleBPuaBYTRUam6BlW9ch6K9QVLj0lEbfnWaJeSyd8OyAKqFuWhTk4byWc0M7URqqRwgVElAs6/Q==; 23:tGJcFAl8jHUHX+ALIJtNyGUGk9PaPC7UET0u38ajd/Brjp63J9r7W8hnpZs8e58xdteiT8j08DmL281qqcIPk941td+08SrXcsDejqdagrTJaOgdEu2X9nL+VesoWLM2h9Acw0IKdlGX8/bhBpH+26Yjizdczec9QQZX3DtDE4zFfQ4vMOtJ7FxPsYeF1Jnw X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150811_210650_648422_39A0E04F X-CRM114-Status: GOOD ( 13.77 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Wang Dongsheng , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alison.wang@freescale.com 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=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 From: Wang Dongsheng In freescale layerscape platform there is only FTM0 can be used as alarm timer to wake up system. So add FTM0 description for devicetree document. Signed-off-by: Wang Dongsheng --- V3: Include this patch in V3. diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt index aa8c402..380a0b3d 100644 --- a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt +++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt @@ -1,5 +1,7 @@ Freescale FlexTimer Module (FTM) Timer +* Default FTM Timer + Required properties: - compatible : should be "fsl,ftm-timer" @@ -29,3 +31,26 @@ ftm: ftm@400b8000 { <&clks VF610_CLK_FTM3_EXT_FIX_EN>; big-endian; }; + +* FTM Alarm Timer + The default FTM device contains eight FlexTimer modules. FlexTimer1 is in + on-domain(power is not switched off in deep sleep mode). Other seven FlexTimer + modules(flextimer2/3/4/5/6/7/8) are in off-domain (power is switched off in + deep sleep mode). + +Required properties: + +- compatible : should be "fsl,ftm-alarm". +- reg : should contain base address and length of FTM timer 0 register. +- interrupts : Should contain FTM 0 interrupt. +- 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: +ftm0: ftm0@29d0000 { + compatible = "fsl,ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>; + interrupts = ; + big-endian; + status = "disabled"; +};