Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933061AbcKBVxC (ORCPT ); Wed, 2 Nov 2016 17:53:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33918 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933163AbcKBVve (ORCPT ); Wed, 2 Nov 2016 17:51:34 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org D8AAA615C4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 2 Nov 2016 14:51:32 -0700 From: Stephen Boyd To: Rajendra Nayak Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, tdas@codeaurora.org Subject: Re: [PATCH v3 01/11] clk: qcom: Add support for alpha pll hwfsm ops Message-ID: <20161102215132.GM16026@codeaurora.org> References: <1475138152-859-1-git-send-email-rnayak@codeaurora.org> <1475138152-859-2-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475138152-859-2-git-send-email-rnayak@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: 778 Lines: 19 On 09/29, Rajendra Nayak wrote: > Some PLLs can support an HW FSM mode (different from the Votable FSMs, > though its the same bit used to enable Votable FSMs as well as HW FSMs) > which enables the HW to do the bypass/reset/enable-output-ctrl sequence > on its own. So all thats needed from SW is to set the FSM_ENA bit. > PLL_ACTIVE_FLAG is whats used to check if the PLL is active/enabled. > > Some of the PLLs which support HW FSM can also need an OFFLINE request > that needs to be toggled across the enable/disable. We use a flag to > identify such cases and handle them. > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project