From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752961AbbCLAn3 (ORCPT ); Wed, 11 Mar 2015 20:43:29 -0400 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 Message-ID: <5500E129.2060602@codeaurora.org> Date: Wed, 11 Mar 2015 17:43:21 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Mike Turquette CC: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kenneth Westfield Subject: Re: [PATCH v2] clk: qcom: Properly change rates for ahbix clock References: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> In-Reply-To: <1425685313-6005-1-git-send-email-sboyd@codeaurora.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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