Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757879AbdLRCvL (ORCPT ); Sun, 17 Dec 2017 21:51:11 -0500 Received: from mail-ve1eur01on0072.outbound.protection.outlook.com ([104.47.1.72]:45148 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757797AbdLRCvJ (ORCPT ); Sun, 17 Dec 2017 21:51:09 -0500 From: "Y.b. Lu" To: Shawn Guo CC: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Mark Rutland , Rob Herring , Russell King Subject: RE: [v2] arm: dts: ls1021a: fix the value of TMR_FIPER1 Thread-Topic: [v2] arm: dts: ls1021a: fix the value of TMR_FIPER1 Thread-Index: AQHTaOGa4t10Mfa6CE2rrpOY6ECoqaMsErIAgBxxM4A= Date: Mon, 18 Dec 2017 02:51:06 +0000 Message-ID: References: <20171129065458.4235-1-yangbo.lu@nxp.com> <20171130002905.GA22908@dragon> In-Reply-To: <20171130002905.GA22908@dragon> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yangbo.lu@nxp.com; x-originating-ip: [185.114.77.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0401MB2534;6:E/RC/V5ni+Eh1ZxJzT+/A4lgfgIdZJFWM2KyNh9d6zjwKv6IVR8Osu0XxX8PMNlHJoA3znlD+vVIPMkCCH9te2b4qR70qgLf765ENK0JuEgMoQBmH6sBQpk6m633RCecjbNoK/ZLSoW7Opvb0oHlutyhCN+ZMi/fgcoFHpu1CWv0jHGfgoCZFixQ9MSsXQomZfNBmtTLFroLStzmY4Dd6N8egJIN5Ddt2nVLp+V/oLdtmn51LPZ4pRIB8s63uG6xf1TW4MG+ad+38iR44XuRL3SlnahjPqTt9zdHLpUMX+UGTjk0TyJRflfyc/RKd1PdjvqM877vteWOJJenTwbyxK2eKsS79JysQuyp6Y79174=;5:D1mLGLYJ7dhIdozZ/ml4njM16WROwYJycaL36FEORGKFg9+Ix0p8QMdXPpNx4vwtPTUi9fN98W9O9GC/26IIV+2ANunG8AC3dXl0l+Cu5BUhqYeewBQn3qQLnwZHkXp1fUhbFkHfL2wMqm0u5n1S3VlODPlyWi1vO0XpXpLqP6o=;24:vdn41hKoxOnWav25OyXqXmRj08QjEEA10FgnwFa2BVUHoNpYK7th8Sz1ousYbJuWEWTQec7NoGJX+Gs7BMEcxMRBcUJypBIt4q02oO1Zfzc=;7:Cow+xzqfLghKJuCyPG7LvTZMQlB1r1Dps37RF7GCbh8lwO2HzfYiIh7SqPTdZ0CnjMrC8UCll7LLqii+yEJWZJDnCxCwoogTZLslRyUYUWiGhbQfUoQ9GzdSwNdJxCNmvZPbLvlrGo8ke9JRlxeps2LJPQwEJZgJk/PFrYQGpBVzy63GA3aHV4gqWmPV502H2/PC5ljvrJRGUSsQnHEVD2RwN5i6lIzhG5MsOcLDMhqDoVGgHiwzmsFSQFe0AwJs x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 0a2e0d71-631a-4d5e-4325-08d545c22f6f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307);SRVR:DB6PR0401MB2534; x-ms-traffictypediagnostic: DB6PR0401MB2534: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(189930954265078)(185117386973197)(258649278758335)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231023)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123560025)(6072148)(201708071742011);SRVR:DB6PR0401MB2534;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DB6PR0401MB2534; x-forefront-prvs: 0525BB0ADF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(366004)(346002)(376002)(24454002)(13464003)(189003)(199004)(81166006)(8936002)(86362001)(74316002)(99286004)(4326008)(7696005)(25786009)(66066001)(68736007)(2900100001)(53936002)(6246003)(105586002)(7736002)(81156014)(8676002)(305945005)(6116002)(3846002)(102836003)(2950100002)(6916009)(106356001)(5250100002)(966005)(6436002)(14454004)(33656002)(5660300001)(9686003)(55016002)(6306002)(316002)(478600001)(54906003)(3280700002)(229853002)(2906002)(6506007)(53546011)(59450400001)(76176011)(97736004)(3660700001)(45080400002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0401MB2534;H:DB6PR0401MB2536.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a2e0d71-631a-4d5e-4325-08d545c22f6f X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2017 02:51:06.3648 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2534 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id vBI2pHMV003046 Content-Length: 2633 Lines: 78 Hi Shawn, Sorry for bother. I just couldn??t find this patch on your git tree. Could you help to check? Thanks a lot. Best regards, Yangbo Lu > -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: 2017??11??30?? 8:29 > To: Y.b. Lu > Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-kernel@lists.infradead.org; Mark Rutland ; > Rob Herring ; Russell King > Subject: Re: [v2] arm: dts: ls1021a: fix the value of TMR_FIPER1 > > On Wed, Nov 29, 2017 at 02:54:58PM +0800, Yangbo Lu wrote: > > 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 > > > Again, for arm dts, we usually use prefix like 'ARM: dts: ...' > > I fixed it up and applied the patch. > > Shawn > > > --- > > Changes for v2: > > - Added Shawn into cc list. > > --- > > 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 64249726b3cb..a861a4b9e319 > > 100644 > > --- a/arch/arm/boot/dts/ls1021a.dtsi > > +++ b/arch/arm/boot/dts/ls1021a.dtsi > > @@ -589,7 +589,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 > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist > > > s.infradead.org%2Fmailman%2Flistinfo%2Flinux-arm-kernel&data=02%7C01% > 7 > > > Cyangbo.lu%40nxp.com%7C703a7f8c490745cac3d708d537896a63%7C686ea > 1d3bc2b > > > 4c6fa92cd99c5c301635%7C0%7C0%7C636475985694945094&sdata=XLw6lJ > ONCoo2jq > > Hoixb%2BtlYTDcLC4tPbKWT3eQ7RI7c%3D&reserved=0