[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150312034234.GA22530@kwestfie-linux.qualcomm.com>
Date: Wed, 11 Mar 2015 20:42:34 -0700
From: Kenneth Westfield <kwestfie@...eaurora.org>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Mike Turquette <mturquette@...aro.org>,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Kenneth Westfield <kwestfie@...eaurora.org>
Subject: Re: [PATCH v2] clk: qcom: Properly change rates for ahbix clock
On Fri, Mar 06, 2015 at 03:41:53PM -0800, 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 <kwestfie@...eaurora.org>
> Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
> ---
>
> Changes from v1:
> * Handle the case where clock feeding M/N counter is off
>
> drivers/clk/qcom/clk-rcg.c | 62 ++++++++++++++++++++++++++++++++++++++++++
> drivers/clk/qcom/clk-rcg.h | 1 +
> drivers/clk/qcom/lcc-ipq806x.c | 5 ++--
> 3 files changed, 65 insertions(+), 3 deletions(-)
Verified I2S audio functionality on the Storm board; with and without
firmware audio enabled.
Tested-by: Kenneth Westfield <kwestfie@...eaurora.org>
--
Kenneth Westfield
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists