Re: [PATCH v1] clk: tegra20: Add 216 MHz entry for PLL_X
From: Dmitry Osipenko
Date: Tue Dec 12 2017 - 07:08:18 EST
On 12.12.2017 13:02, Peter De Schrijver wrote:
> On Mon, Dec 11, 2017 at 09:50:09PM +0300, Dmitry Osipenko wrote:
>> The cpufreq driver uses 216 MHz as the lowest CPU clock frequency, but
>> clock driver doesn't provide that rate, so the requested clock is rounded
>> up to 312 MHz. Let's add entry for 216 MHz to match with cpufreq.
>>
>
> This seems odd. If there's no table entry, _calc_rate should kick in and
> calculate the parameters for 216MHz. Any idea why this is not happening?
Actually, it is happening. Please ignore this patch.
If PLL's rate could be calculated, why do we need the predefined tables?