From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v2] clk: qcom: Properly change rates for ahbix clock Date: Wed, 11 Mar 2015 17:43:21 -0700 Message-ID: <5500E129.2060602@codeaurora.org> References: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:57863 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbbCLAnX (ORCPT ); Wed, 11 Mar 2015 20:43:23 -0400 In-Reply-To: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Mike Turquette Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kenneth Westfield On 03/06/15 15:41, Stephen Boyd wrote: > The ahbix clock can never be turned off in practice. To change the > rates we need to switch the mux off the M/N counter to an always on > source (XO), reprogram the M/N counter to get the rate we want and > finally switch back to the M/N counter. Add a new ops structure > for this type of clock so that we can set the rate properly. > > Fixes: c99e515a92e9 "clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver" > Cc: Kenneth Westfield > Signed-off-by: Stephen Boyd > --- > > Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Wed, 11 Mar 2015 17:43:21 -0700 Subject: [PATCH v2] clk: qcom: Properly change rates for ahbix clock In-Reply-To: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> References: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> Message-ID: <5500E129.2060602@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/06/15 15:41, Stephen Boyd wrote: > The ahbix clock can never be turned off in practice. To change the > rates we need to switch the mux off the M/N counter to an always on > source (XO), reprogram the M/N counter to get the rate we want and > finally switch back to the M/N counter. Add a new ops structure > for this type of clock so that we can set the rate properly. > > Fixes: c99e515a92e9 "clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver" > Cc: Kenneth Westfield > Signed-off-by: Stephen Boyd > --- > > Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project