Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754053AbdLIASc (ORCPT ); Fri, 8 Dec 2017 19:18:32 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:51364 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753983AbdLIAS2 (ORCPT ); Fri, 8 Dec 2017 19:18:28 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6535E6084F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 8 Dec 2017 16:18:27 -0800 From: Stephen Boyd To: Abhishek Sahu Cc: Michael Turquette , Andy Gross , David Brown , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das Subject: Re: [PATCH 08/13] clk: qcom: support for dynamic updating the PLL Message-ID: <20171209001827.GG7997@codeaurora.org> References: <1506621050-10129-1-git-send-email-absahu@codeaurora.org> <1506621050-10129-9-git-send-email-absahu@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1506621050-10129-9-git-send-email-absahu@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 24 On 09/28, Abhishek Sahu wrote: > Some of the Alpha PLL’s support dynamic update in which the > frequency can be changed dynamically without turning off the PLL. > > This dynamic update requires the following sequence > > 1. Write the desired values to pll_l_val and pll_alpha_val > 2. Toggle pll_latch_input from low to high > 3. Wait for pll_ack_latch to transition from low to high > The new L and alpha values have been latched. It make > take some time for the PLL to fully settle with these > new values > 4. Pull pll_latch_input low > > Signed-off-by: Rajendra Nayak > Signed-off-by: Taniya Das > Signed-off-by: Abhishek Sahu > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project