Re: [PATCH v4 09/20] clk: tegra: pll: Add logic for SS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/4/2015 7:11 PM, Benson Leung wrote:
> On Mon, May 4, 2015 at 9:37 AM, Rhyland Klein <rklein@xxxxxxxxxx> wrote:
>> From: Bill Huang <bilhuang@xxxxxxxxxx>
>>
>> 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 <bilhuang@xxxxxxxxxx>
>> ---
>>  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-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux