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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 C7701C433DF for ; Thu, 18 Jun 2020 07:32:12 +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 136C0212CC for ; Thu, 18 Jun 2020 07:32:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i5EmybC/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="LoVm31PJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 136C0212CC 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=WNbEotYMga8CAcCidzwFW058T8GPDYD+w0eH16oFt98=; b=i5EmybC/j+MQg2 h+791zaEm0Uijbrs4gQt3nePZarhx0uiY4sRyAGs896cVjSbugvbtorSVVJJA1wakEdORUeGNnJ3J WKlnOUKYUae+iX5Pn3Q6OXiDdKM6gh7u3CXpTs+dtBlfdFbi9+iy/EPN1hG3cDvpwWs6OeBQaa01V y4Q+GHS4U8AmRLep1JdnkjBXXcwiDsOL2PemCpfXgAf4hu9pj+zPaDCWcScmxVaqN+OJ3r+Vy8evT SLtMyPaoPevy2l10ghQqKeKHXYSX4yRcDUw7eo6EJnGIlzh+LznfXWVrW4Q+BWv1IlvQJjVNQOvCU ZiDMRYVvrGHx8zEjh87A==; 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 1jlp1m-0000rR-8B; Thu, 18 Jun 2020 07:32:02 +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 1jlp1j-0000qy-9c for linux-arm-kernel@lists.infradead.org; Thu, 18 Jun 2020 07:32:00 +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 1E0CF212CC; Thu, 18 Jun 2020 07:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592465518; bh=H7lg3omGNcBK3SxP4qthjwkbre5kPE1aub171Q3NTY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LoVm31PJLhXzrPacu/LyL1yyK6hj5MuCdE3/TeuvvHs+z58vl+IEgLr2+VTR0kncS +KS+ztisrbiBq62KNSwoUAjjHfOiax4zg9zw4mmFf/dZWWAIiCo2lZUZw2zzd7WE0n rQ5b5A/2L1Q4qoNkcBlbda2dys5fxw636H13c7u8= Date: Thu, 18 Jun 2020 15:31:51 +0800 From: Shawn Guo To: Yangbo Lu Subject: Re: [v3] ARM: dts: ls1021a: output PPS signal on FIPER2 Message-ID: <20200618073150.GE30139@dragon> References: <20200522013052.2838-1-yangbo.lu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200522013052.2838-1-yangbo.lu@nxp.com> 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-20200618_003159_362346_73194CA6 X-CRM114-Status: GOOD ( 12.01 ) 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, Li Yang 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 Fri, May 22, 2020 at 09:30:52AM +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_FIPER register to generate desired periodic > pulses. The value should programmed is, > desired_period - tclk_period > > Current tmr-fiper2 value is to generate 100us periodic pulses. > (But the value should have been 99995, not 99990. The tclk_period is 5.) > This patch is to generate 1 second periodic pulses with value > 999999995 programmed which is more desired by user. > > Signed-off-by: Yangbo Lu Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel