Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031110AbbEEUQH (ORCPT ); Tue, 5 May 2015 16:16:07 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:5766 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753787AbbEEUQD (ORCPT ); Tue, 5 May 2015 16:16:03 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 05 May 2015 13:14:36 -0700 Message-ID: <554924FF.5040608@nvidia.com> Date: Tue, 5 May 2015 16:15:59 -0400 From: Rhyland Klein User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Benson Leung CC: Peter De Schrijver , Mike Turquette , Stephen Warren , Stephen Boyd , Thierry Reding , Alexandre Courbot , , , "linux-kernel@vger.kernel.org" , Bill Huang Subject: Re: [PATCH v4 09/20] clk: tegra: pll: Add logic for SS References: <1430757460-9478-1-git-send-email-rklein@nvidia.com> <1430757460-9478-10-git-send-email-rklein@nvidia.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1493 Lines: 42 On 5/4/2015 7:11 PM, Benson Leung wrote: > On Mon, May 4, 2015 at 9:37 AM, Rhyland Klein wrote: >> From: Bill Huang >> >> Add some logic for Spread Spectrum control. It is used in conjuncture >> with SDM fractional dividers. SSC has to be disabled when we configure >> the divider settings. >> >> Signed-off-by: Bill Huang >> --- >> drivers/clk/tegra/clk-pll.c | 25 ++++++++++++++++++++++++- >> drivers/clk/tegra/clk.h | 2 ++ >> 2 files changed, 26 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c >> index c64b75185d6b..2a559408cee1 100644 >> --- a/drivers/clk/tegra/clk-pll.c >> +++ b/drivers/clk/tegra/clk-pll.c >> @@ -621,6 +621,26 @@ static void _update_pll_cpcon(struct tegra_clk_pll *pll, >> pll_writel_misc(val, pll); >> } >> >> +static void pll_clk_start_ss(struct tegra_clk_pll *pll) >> +{ >> + if (pll->params->defaults_set && pll->params->ssc_ctrl_en_mask) { > > defaults_set looks like it's introduced later (patch 16/20). Can you > remove references to that, or reorder the patches if that makes more > sense? > I'll reorder this after set_defaults is added. -rhyland -- nvpublic -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/