Re: [PATCH v5 10/21] clk: tegra: pll: Add logic for out-of-table rates for T210

From: Benson Leung
Date: Tue May 12 2015 - 20:01:44 EST


On Tue, May 12, 2015 at 10:23 AM, Rhyland Klein <rklein@xxxxxxxxxx> wrote:
> For Tegra210, the logic to calculate out-of-table rates is different
> from previous generations. Add callbacks that can be overridden to
> allow for different ways of calculating rates. Default to
> _cal_rate when not specified.
>
> This patch also includes a new flag which is used to set which method
> of fixed_mdiv calculation is used. The new method for calculating the
> fixed divider value for M can be more accurate especially when
> fractional dividers are in play. This allows for older chipsets to use
> the existing logic and new generations to use a newer version which
> may work better for them.
>
> Based on original work by Aleksandr Frid <afrid@xxxxxxxxxx>
>
> Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>

Reviewed-by: Benson Leung <bleung@xxxxxxxxxxxx>

> ---
> v5:
> - Updated description to include mentioning the NEW_MDIV flag
> - Added kerneldoc info for new members




--
Benson Leung
Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/