Received: by 10.223.164.202 with SMTP id h10csp964554wrb; Thu, 9 Nov 2017 18:18:07 -0800 (PST) X-Google-Smtp-Source: ABhQp+TJlg20Gs/+bexEA68TyRFiLPjyMh0VbXjkhs5uEFGHDjbZeQKHTukU0OrFk2ir3/Yevifw X-Received: by 10.99.161.1 with SMTP id b1mr2447091pgf.286.1510280287278; Thu, 09 Nov 2017 18:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510280287; cv=none; d=google.com; s=arc-20160816; b=T/0f6fl0Q+Ayvv0/M84i+QbP3f9PfW6NXk2yL8gl1zKlmxSVMnTQsNUmfDKKUB2xzj aSfOG0w5NE1PpXJ8mOQVcl/9g4k7vrcSyJC/w9yZP6hNCJSUuLjgYiDxp/KFTV9whRst 1+c0qaadUuQ2RUQBmIttiuoNKDkhr5E8FI1KI+s5tP8IbNZumYRwtSwxk49WbaMhPd3k MSCxeTL1FbqOFIpjIg2GpKRSpwLd4tUeA+kSBNyL7pi5zV8kxE6EfWH8CRVM3pph3USr 35rrko2nsmsDU2SOTsnFHK+WbMlpRS0rHxopMPf1ReMIgSCcFzRqFMgZ9VSUrPz/mSE+ JgQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:arc-authentication-results; bh=+0zuuKfKfl+51ud8IAZtog1V23Cw+aUIpitBOw/H3MI=; b=RitC2HbEhx9gmqNj0ApMZuYtYtILPLSTq4OWDBVKSHLaZk9w5p/uo8NWEJE7slL2Fb R7wqjcgowUuPZssQ7ordVAhc2o0ZtOQh2zQfIVHIS9umEXVYam/ujOx4vM+prf54bxqD uqGILUFyOj5Hj1ChYnTV/eqS2lz1cf/cwpOIJfTfVXO5khZKe12ml+Ce+ygfgg0mom7L SDPjLXSKCoWIxVsz21aFX8+gO7aw5XKA+OzAX9Gg5JTn3yGHPuuxJ+vGFdt+2YaXrXXt r34YaKJwqQMcwamoALNgtyzMeWMSBzFPjMWopMnKKPgWZPMfAShi3WGLmjXWSXuRLsBl Nd2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y38si7828971plh.61.2017.11.09.18.17.55; Thu, 09 Nov 2017 18:18:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755701AbdKJCRS (ORCPT + 83 others); Thu, 9 Nov 2017 21:17:18 -0500 Received: from mail-dm3nam03on0070.outbound.protection.outlook.com ([104.47.41.70]:62802 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755536AbdKJCRP (ORCPT ); Thu, 9 Nov 2017 21:17:15 -0500 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 To: , , , Rob Herring , Mark Rutland , Russell King CC: Yangbo Lu 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 Content-Type: text/plain 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: 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/lqQE9ers5dg4lOwqV3gVSiKR723dtPFLQA+EiqQAYuK9xuZrLYTD+qnTT?= =?us-ascii?Q?VL5h18U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271f04d+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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/ls1021a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>; }; -- 2.14.1 From 1585440424345119498@xxx Wed Nov 29 22:16:52 +0000 2017 X-GM-THRID: 1583644672494927122 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread