Message ID | 20171110015847.29635-1-yangbo.lu@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B741F60631 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Nov 2017 02:17:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A225A2B287 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Nov 2017 02:17:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 948AE2B28A; Fri, 10 Nov 2017 02:17:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4714D2B287 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Nov 2017 02:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=F5/8kEQFb9LrJFZE2zUDbDykddHEEvKMT33Vnyz5Zdg=; b=gYv0G58J2pFpk5 wlcy6jhBZ8IguW+nujFyxTfaFWp04WZxCXK+j+S7zdNtaC/O+V+osUKrXffEMUaQHOji9iM2eyoIN 3f7jVzdPTJr6q8o6GAQKoHRqWTdArX5Uh42r3cTiT5RCSBm1y4MLWoUqxQulOYO1UKLk5A+7oObu5 cqbenWHTeCf5vILnkkav3MxwmeGjAT1sXWNnxO6hBRY9sN06vqEPJ4XhFE8a842HU33pnpE02Qw2v X53fjCd2UlOxkuTjkr4SuW+HWfntDu7n+Qj+hM7zencLGgDMbbHEQ3EMlnnpN0vCLBVFreLUtpVlM 729PWG+wSs2RVruSWpBg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eCytF-0008ND-Cl; Fri, 10 Nov 2017 02:17:53 +0000 Received: from mail-dm3nam03on062a.outbound.protection.outlook.com ([2a01:111:f400:fe49::62a] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eCytB-0008L5-7G for linux-arm-kernel@lists.infradead.org; Fri, 10 Nov 2017 02:17:51 +0000 Received: from BN3PR03CA0108.namprd03.prod.outlook.com (2603:10b6:400:4::26) by SN2PR03MB2368.namprd03.prod.outlook.com (2603:10b6:804:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Fri, 10 Nov 2017 02:17:13 +0000 Received: from BL2FFO11FD029.protection.gbl (2a01:111:f400:7c09::172) by BN3PR03CA0108.outlook.office365.com (2603:10b6:400:4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.218.12 via Frontend Transport; Fri, 10 Nov 2017 02:17:13 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD029.mail.protection.outlook.com (10.173.160.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Fri, 10 Nov 2017 02:17:12 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vAA2H8XX009062; Thu, 9 Nov 2017 19:17:09 -0700 From: Yangbo Lu <yangbo.lu@nxp.com> To: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Russell King <linux@armlinux.org.uk> Subject: [PATCH] arm: dts: ls1021a: fix the value of TMR_FIPER1 Date: Fri, 10 Nov 2017 09:58:47 +0800 Message-ID: <20171110015847.29635-1-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131547538329021470; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(346002)(376002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(316002)(81166006)(50986999)(50226002)(4326008)(110136005)(104016004)(16586007)(8676002)(106466001)(33646002)(77096006)(105606002)(575784001)(356003)(8656006)(86362001)(2906002)(47776003)(305945005)(68736007)(81156014)(1076002)(5660300001)(48376002)(85426001)(2201001)(53936002)(50466002)(5003940100001)(6666003)(8936002)(498600001)(97736004)(189998001)(36756003)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2368; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD029; 1:j1sHD4GSAmsb7BWx4XLt2Sv40HXaVNZt49kIw2px+O0d9SWXPb5ffi3FKcv3WUu26jNbhffQcx0KTGpLPvncI/EI1f+Lb0c0BkmolbmqTy3bxov8CgBgOe77EvVuk3DO MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a4ed7508-a9fe-4e19-4abd-08d527e127a2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603255); SRVR:SN2PR03MB2368; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 3:wtQ7XNlIjvinvT3HrTU/YzThO5W34+L6n+UV5oz1UHc63UqfeHW7k67p070uoXvjuFyCbf5SsZlS24qRY7S2JZZLjb5Ovz2M3wvfUg46shEb6ju21F1dkzobxuB25Trjh26xbBQz1v05CZiIEXeUAqcVj2esMRpFtL4WVSiCmN053yv35h8NEFVZzLC3RgglhVFkiDUxZlDwzSB9yQkuYEwEFp9jpoxAN+Ferw52XwcPCFoUYdmQVa7V4fBcZllb5RermOKLIj95zSZfePuGoh1BAlLY5G3sPQ4rs7for9oRywwkjy7UorY3tZd4DAM0ztipQVFqTTcaew/voGUc3eEPPgU0emzuCww5APqV52g=; 25:mq9wyxPZM7uk3LbFmRlk+JDAuccXHT9oQM5eyslFNsdhNREBhh7Qerp+ZQhVFFICoMwUfhyLe+ouz+45Zpw8aByrhjpSJdVcaXKtR/pPXvBT/e+hDEOzTjHt+7D1lXkqjX6k1fNtJbATkH44iR1b8Po+S5643V5JLauuFJpwWtykfK9Ep4zO7sPALealXplJ1P2OARzUpRdeJ6Rl9dYn6qA1b52yadOeSp+6DWAt2yO/NF+Vz4ByYcH5c08feTN4CAhmFZZ+uzVMMCSzNV+uW2hcAI7M69v8meF1uK/fgfJXEWr5/b2eXOQaGX9qTrecMxdLypfnn88fwE9rd/d0sA== X-MS-TrafficTypeDiagnostic: SN2PR03MB2368: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 31:pO4D6z+S5BQ3HU5L4dbhVIfBrPUE/a8uYpQ+cee3/ncOqIfhRy+YfbbPOrIS1NQi02jfbzktAMP/fvBBtfZD/v+Z1IrJRafYFZSfr0X4lZdjcsB8w/GsaMEeUWb55BWMBaLpmZj2ox2LgQTMk6A28H/eAg6n+ReaJe0lncY4G8eO+7YusOeFGxZX61I4/EmcvmPtrpYr8zpi3tpdsHiDbF9n8bJcy17pQMabuhvGVuo=; 4:PlSMsiZzgCkyMWOAbNG2SfgUkIqwL4kTRsaOeq+ZUQGDyXl2WJpTLctRg6w3J6UMinSif3bgVZeFK39nBGBMATltF0jiBA3tcfPHzNJpVDoV5uultwX6r3qsfFqhGNEiJpwISnzIxYX0EtCB1QLbJR1nfH1SAPs1fHwK1pIZm5WGJBl6vmh0Sm0EIuXTTQaEDcqCyL0d8EOtPOnr2hjVZ3vRgy6Fj1xF8cZ4A0WZrlv4KZNMQRK1FCA1TWMKaqKVOoU6lY/2aZ+QMgOis0gbENQGvfdrX51l60Nkmj/VjE0IQWnmfgbLXH34P4VEbFvB X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <SN2PR03MB2368B52CB5F5BD9CA21266BEF8540@SN2PR03MB2368.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231021)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2368; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2368; X-Forefront-PRVS: 0487C0DB7E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2368; 23:IhIUsuyi42+R07CzdAbDbu6n2EW6LnPbsOoGt0ZWo?= =?us-ascii?Q?ZL7VfLE2FGp4m3TVs3o+5jrLTb85SjVlanafYZN9+OKQNgcaAElfWIIGhgMx?= =?us-ascii?Q?gD4NKvfsTzOPmK3AZfRB+AxGNskd+KDz9OUJGkENPxv4lXLHAOashQfTthKQ?= =?us-ascii?Q?e7yJKcMn+msZgvLYTAAjvbhaizZZNHa+socqHKM5cK/KTrKDjhlAMGdfMymE?= =?us-ascii?Q?Zaz1hlcWT0xoLrdQaK3YQpF0Yf+n7Zf21gyDd56afT7UIIIko/l3e8lQcpIj?= =?us-ascii?Q?rZnaQzNGIDNGpm7AKo/bBxpR5AreLKkIV48VPrakgldVF40A22rENOZDikf+?= =?us-ascii?Q?n/zMdRZom/B5GdSV9MLVKNIEV/FLCAbSIvfqMkUJwK2F+STa18GhD1qXXu5b?= =?us-ascii?Q?iJOp6PIq06mbvTqdI0SM2IfIgGKUzN/H6jgzTRk0ECWGm9f4Kke7yy8GohYj?= =?us-ascii?Q?FKkMFRrWaC9COnWxnp9O25qm25rBkNqWHnSeCyFZuOKpxdZ4oVsZRlLfJLeu?= =?us-ascii?Q?M6VPwNqQO2mP+H5B0B1pMkz/TU+JtZZrA2My3H5f5qK7YXBpuVPOIOVsR/1E?= =?us-ascii?Q?NhRHe+KIasILbs6UvLUirhvMVv8b+p3Ad4gdkNKBWdffuOtCGuLc6n1WIcDZ?= =?us-ascii?Q?12/lqQE9ers5dg4lOwqV3gVSiKR723dtPFL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teOMVo/AL/jxeP2u9nvMxbTUx6uD9ANJZfjs6M5fPFEwIY8271f04d+SlpxRPfFEh5aehsaSxrwTuLMzUJzmu0DnLqWgKPOQa43NlayC1bbn+UfYemQNUQuO9Z9P8by/vBhGBn/MJJkrLHno=; 24:IXnFQ6M2PS5YQKnXtchF8KJzXGbVHsByXh8nd5wUNc6BbntoUJnaLe+iubU84NX43HjUygqepbI1lnCMPJJYVfih38ZhesWLFQHnV9GfY5A=; 7:rSfp7XNBOn0A67vXnwWbkFttfpH7I4yB3pLySFpk2zkTbuk5ZnNEDx68eZ8BS3WjP9jDLaVJltUttOtUuNCkpsX1vhHtjRdl2Mwm0YWAa3suR0/zWVJL00iCJSrm+fOOoQhZPSChpLRnTQGnHyDGid4z6J0lbmkP+zFN0wwpumDcYaQhp5iTHxEukVv8aLk2wpC/T2Hf1Y63cxLfAnaMAdhsZW3I1SM/LbtwiLryUH5p8CyZJZfXwzQJA6JkjnX5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2017 02:17:12.7305 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4ed7508-a9fe-4e19-4abd-08d527e127a2 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2368 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171109_181749_395497_C213C31C X-CRM114-Status: GOOD ( 14.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Yangbo Lu <yangbo.lu@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 9319e1f0f1d8..10e536f338f7 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -575,7 +575,7 @@ fsl,tclk-period = <5>; fsl,tmr-prsc = <2>; fsl,tmr-add = <0xaaaaaaab>; - fsl,tmr-fiper1 = <999999990>; + fsl,tmr-fiper1 = <999999995>; fsl,tmr-fiper2 = <99990>; fsl,max-adj = <499999999>; };
The timer fixed interval period pulse generator register is used to generate periodic pulses. The down count register loads the value programmed in the fixed period interval (FIPER). At every tick of the timer accumulator overflow, the counter decrements by the value of TMR_CTRL[TCLK_PERIOD]. It generates a pulse when the down counter value reaches zero. It reloads the down counter in the cycle following a pulse. To use the TMR_FIPER1 register to generate a 1 PPS event, the value (10^9 nanoseconds) - TCLK_PERIOD should be programmed. It should be 999999995 not 999999990 since TCLK_PERIOD is 5. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> --- arch/arm/boot/dts/ls1021a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)