From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26D79C433DF for ; Sun, 17 May 2020 13:54:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A0013207D4 for ; Sun, 17 May 2020 13:54:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gWhQn0v+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="gpmw2Rgj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0013207D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w4tl6XQX8miKl8imX5MC+NyGqNsvJAKO4XbyWG+vrhs=; b=gWhQn0v+LOFpwZ BvcHh7uSLMOwFW8Us9Ehh6j4KTK+SwejVEK6i1juC9swwvLJdLqPf7SM58cTarzDDtZkba4ludfzv /pAjlwuifF8KLhKbn9/CEhigas4JjQyqzlQRVGpALZVKFnyHstgcr4It9e8/8ANbgBcecjySrsXZD lL1fCejxIz0D4/WV2gjOm7l17pSVs16tLXyJNJFkny+scTzYs/mbdlut7ELSGfYFcsSvxc2YFYl9p wuihqbcppxZMym3sbjfONxYwbfj+W/r7ZMdqgyFW4OnYUl6XTxxhz/Une/MKQOR6gInx236wzTdV3 GLzGKrBWIMUkTKJ7ZP0w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jaJkT-0006qT-2g; Sun, 17 May 2020 13:54:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jaJkQ-0006q3-K8 for linux-arm-kernel@lists.infradead.org; Sun, 17 May 2020 13:54:35 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52195207D4; Sun, 17 May 2020 13:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589723672; bh=Cbjq7S492hExhy/OpGtAavgkFLYT3aJ2qr2ct+fnvus=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gpmw2RgjJDxtje08/PwFMDlWPjx61GtDcpxtd57EQ77iM+/7FL3E+5bGLke5caoSs aUvyCIH3BCXgCoxoDsG0HhAthlTavRZbYlCflvdUpyYp10zX7+PBlMjTmKmPssuFXR 6JIVixqqVdd+SQGYua9t7qPv2gfNHlxmvSbcyTHA= Date: Sun, 17 May 2020 21:54:25 +0800 From: Shawn Guo To: "Y.b. Lu" Subject: Re: [PATCH] ARM: dts: ls1021a: output PPS signal on FIPER2 Message-ID: <20200517135424.GA25973@dragon> References: <20200427035655.18157-1-yangbo.lu@nxp.com> <20200513082254.GE26997@dragon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200517_065434_683033_B50FDA4E X-CRM114-Status: GOOD ( 18.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Cochran , "linux-arm-kernel@lists.infradead.org" , Leo Li Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 14, 2020 at 03:13:45AM +0000, Y.b. Lu wrote: > Hi Shawn, > > > -----Original Message----- > > From: Shawn Guo > > Sent: Wednesday, May 13, 2020 4:23 PM > > To: Y.b. Lu > > Cc: linux-arm-kernel@lists.infradead.org; Leo Li ; > > Richard Cochran > > Subject: Re: [PATCH] ARM: dts: ls1021a: output PPS signal on FIPER2 > > > > On Mon, Apr 27, 2020 at 11:56:55AM +0800, Yangbo Lu wrote: > > > Output PPS signal on FIPER2 (Fixed Period Interval Pulse) > > > which is more desired by user. > > > > > > 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 760a68c..b2ff27a 100644 > > > --- a/arch/arm/boot/dts/ls1021a.dtsi > > > +++ b/arch/arm/boot/dts/ls1021a.dtsi > > > @@ -772,7 +772,7 @@ > > > fsl,tmr-prsc = <2>; > > > fsl,tmr-add = <0xaaaaaaab>; > > > fsl,tmr-fiper1 = <999999995>; > > > - fsl,tmr-fiper2 = <99990>; > > > + fsl,tmr-fiper2 = <999999995>; > > > > Not sure code change matches patch subject and commit log. The change > > is about changing fsl,tmr-fiper2 setting from one value to another. > > The calculation refers to Documentation/devicetree/bindings/ptp/ptp-qoriq.txt. It looks complicated. > But to be simple, to get 1PPS signal (period is 1s) on FIPER2, the value should be set as, > fiper2 = - = 1000000000ns - 5ns = 999999995. Please update commit log to include how new value comes. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel