Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755932AbbGPUx7 (ORCPT ); Thu, 16 Jul 2015 16:53:59 -0400 Received: from mail-bn1on0116.outbound.protection.outlook.com ([157.56.110.116]:64288 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751131AbbGPUx5 (ORCPT ); Thu, 16 Jul 2015 16:53:57 -0400 Authentication-Results: freescale.com; dkim=none (message not signed) header.d=none; Message-ID: <1437079112.2993.127.camel@freescale.com> Subject: Re: [PATCH v2] powerpc/dts: Add and fix 1588 timer node for eTSEC From: Scott Wood To: Lu Yangbo-B47093 CC: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Date: Thu, 16 Jul 2015 15:38:32 -0500 In-Reply-To: References: <1430969347-13869-1-git-send-email-yangbo.lu@freescale.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.0-fta1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:448:8100:f9f:12bf:48ff:fe84:c9a0] X-ClientProxiedBy: CY1PR22CA0014.namprd22.prod.outlook.com (25.162.32.152) To CY1PR03MB1487.namprd03.prod.outlook.com (25.163.17.17) X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1487;2:4JSx3V21kbDfeAsHj1XZv5lb5ZI2Qy7qkwf6b9IEgEErbRwfJJ+WCM8uUW0FvcMR;3:qENreH59QLzjNqkBGU5Y6Zj64m0HY41aeIYi7u2rOWzZeEx0iyY2O/B4eXhmnhaHZpd0YLNsptLCOj+Zio9NH0TSMrAn552OzE6ie1AcbIzmLZs9ZZH22dchYZeLrv9yy5pi/Rc4DprC9gbIhhMq9w==;25:RHPwAIUpiQotiOdC9hpR4dUoA2F/P0ZJcTB1RudaH6pKkO0rLohftTysD4imBa4S8rSL/Ex3av12cBP4TarenuGrQfkOQm3KFEklTafstz+lwVVgobH9qYiWWXqHmEJz0Y6/XLnPMe4YZrYYBy9q/3WcGPGRef3gDP9ish/wAhLjnBY1O0Wt0NoRE37wYMimGiJFxjfqsh1GgtT254iwJWXZiepmAOuca8n+Up8vUE/tRJ3VkKLqmKzpZVwbEwwCflccQkgxnXfE/5N1CZCAug== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1487; X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1487;20:R790u80cNYyqMJR6Op7Nw6je0PfZP+p2tP59Ne4o9+goP5EtKvkoblh0SYriMw3+evVHyc1p4JmEac97JfxHq8oxkPDkaFlFz8Oc1jBjPP0johZClA6UrRlkdmvchqJXMeNqS10EGPAVBDkgbaODG8mnZtCOGsEF36aOyKwBziufZT6JenXEFp1XU+gCK3YSWzwWllhfEJ4LJjhRnqdQWsgsHxSe6d2NDPVOLGeAGnZIrnoFsC7SMR5puOA55eyY/VMMyebUsEAyW6yfCGCdsvL6Z/bF6vIbpfgsR0CeoDPzwH8NFTsie3r2+UOOl5/Uy9G3/nAz4LqdRcQBKohq05Pm9W5zQQswLcLlVf0rE9Z9kaZQI3ABzWXu8ietsr1W/I0fyg41GbUclnX65FSs96y229Sv84n68g2eJfherUxZufGKkXMaEGenbiR9LKewNI58yBqTo3YPdeu02sZ2MlRZmYyG+qLmDusX+nX7eYj7l8UHF6FnS3mxo1BDUAgj;4:AtRFJ5Z8jcSO6RJwTTqLAW1v1N06oAqpqFTGuh5cMvAQega2GQDiAl9K8Uv4CjD/L95FF6gRt7SO981HzwWJBMA6oW0aQyxUXGU+JrhxBSxipg7TuK8Ot6KjIv4q8ULmFzB3A8LWjVe86GI8vfjfYjCQr3ZO3pxqdMAF0Cck7+M9aGDt5K//DY73Yce0LlxOjJCYMJRzNU3ArRAQp50kb16zRPSErXyeBHmTQxih+iObPVGKH9pXf2cIHlG5fsSvcn4A7VBJMd8dfmsp8nuoc9SlJdH/N7zwcKzai18NsFg= CY1PR03MB1487: X-MS-Exchange-Organization-RulesExecuted 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:CY1PR03MB1487;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1487; X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(377424004)(24454002)(19580395003)(62966003)(50466002)(42186005)(50986999)(5001960100002)(2950100001)(5820100001)(77156002)(92566002)(110136002)(47776003)(46102003)(77096005)(33646002)(50226001)(40100003)(19580405001)(87976001)(23676002)(189998001)(86362001)(36756003)(103116003)(122386002)(4001450100002)(76176999)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR03MB1487;H:[IPv6:2601:448:8100:f9f:12bf:48ff:fe84:c9a0];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1487;23:04/sJqQm8KrdS/L5PpDTiNE3EXrZ2Q1hzkRGZmjKgpDIZyWdsqZpE3Iao5VqNDCVVOul8m+JkMKkO7LJMUYhXEArLLXV2wdZET2wAZd7/I5SKNkMxnwjgv8vowfIidfKvBjPKRJ6QpoUVgDziBXjh+sg1Tk4rrriq5LMI8W5c2TKBcTyKqnw8JN6v0FDYf394DqI5Be6Q4qjzwRHbEhHjuljS1MPK4dhaSPY9I3ChpQ5JrgP1sGrOjeKUPIXx8eDGYAXjbQ0bMsU3zolzxEekjzlh9WZUdJo/iirIcjh7nd+ZA9g0wdIfvEVIaX2pHLzEL5v3ljaHPRwyOJklP5EJ65si983EjlF9nEYDVhcVPm+8ILBERfPPZ3IVHDocjvZFQmcLekNYLBRTxcV4M/a62IGLJLHKdxETqephnREQ4pnEnNcJNWEaAn2k1pgxw18iZUM4bP/Avnt8xWI210x8cVOCM+WRngogH46/0TTJ4zlqDdOq9iNZ8rl8upqMCyER4lGAvduLhLGlsxQ9JyIFpAJexJTfiyzv5ePlqLJwSADb/+tiGLsjHfc+WrIe0l7a2LhIdVZRtPVxk2iZoAGLvDMEoVjUZHH7WWe5odsyn1Sww1DreI9CNKHDxnF7TQjJR8xUmX3YiHtis84BfhCOkOH1C+3TrZgEXPFq9rFJPXKEPGrBOVkNO5VUGIQLAmTBk7+0NWNil0gqP61o/tJQathiut1D5Zmaw4j/tOL1DpHFp9xSuMAfLi0J7OS+WmpORAwoTgSHHbUZVRj37kEKQ4DX3pE3sX4itpTvpGEAc11APuDsqlluuNU1+oCQfKWoz/rR/YqyLQXoBqumyoUbyHv983wjgJkMF2ni7HRPqE= X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1487;5:3F4xN16onws2zn0O6kIi/6GJ7HdO2KweLJnujiMHQA2HmOHYeuM1Do1NgITbYZ18mqgpoq+bBIKnhmJQm7eor0ysJheF8LQ2cODCE8FMEoCf3HLdeWDRG3DNkEcL69OxeySxoEEDj7/G1GLhNPhNog==;24:STRt7aU4bzkfbVRpQVU3+h4CrJXWtw5We29ikg6CIMkD5EsgoIEXhb1NvME9OfAs68ZxoHE2Vf+zGDCu08Ib7Btt7z/L5fMs2yuxvCt7+gI=;20:cDOVA211785OPZoB1TyRX8Xqw9m16M3JOQFbBWBGPXDkeGicyNXSCJCVc/47/LrkkFBjaq5h4OxLKbyfOnciiQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2015 20:38:39.1802 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1487 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1574 Lines: 42 On Wed, 2015-07-15 at 21:37 -0500, Lu Yangbo-B47093 wrote: > Any comments? > Thanks. Sorry, I must have missed this on my last time through the patch queue. I see you've decimalized the fiper and max-adj properties, which is good... but does it really make sense for tmr-add? I'm not familiar with what this value represents, but the numbers look more natural as hex (e.g. 0xaaaaaaab versus 2863311531). > > diff --git a/arch/powerpc/boot/dts/p2020rdb-pc.dtsi > > b/arch/powerpc/boot/dts/p2020rdb-pc.dtsi > > index c21d1c7..363172d 100644 > > --- a/arch/powerpc/boot/dts/p2020rdb-pc.dtsi > > +++ b/arch/powerpc/boot/dts/p2020rdb-pc.dtsi > > @@ -215,12 +215,12 @@ > > }; > > > > ptp_clock@24e00{ > > - fsl,tclk-period = <5>; > > - fsl,tmr-prsc = <200>; > > - fsl,tmr-add = <0xCCCCCCCD>; > > - fsl,tmr-fiper1 = <0x3B9AC9FB>; > > - fsl,tmr-fiper2 = <0x0001869B>; > > - fsl,max-adj = <249999999>; > > + fsl,tclk-period = <5>; > > + fsl,tmr-prsc = <2>; > > + fsl,tmr-add = <2863311531>; > > + fsl,tmr-fiper1 = <999999995>; > > + fsl,tmr-fiper2 = <99990>; > > + fsl,max-adj = <299999999>; > > }; And here, you're changing the value of fsl,tmr-add and fsl,max-adj. Why? -Scott -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/