Re: [PATCH/RFC 3/3] ARM: mach-shmobile: implement parent clock optimization for HDMI
From: Paul Mundt <hidden>
Date: 2010-10-28 00:28:03
Also in:
linux-sh
From: Paul Mundt <hidden>
Date: 2010-10-28 00:28:03
Also in:
linux-sh
On Wed, Oct 27, 2010 at 06:24:26PM +0200, Guennadi Liakhovetski wrote:
On ap4evb PLLC2 is used as a parent clock for the HDMI clock. To configure the HDMI clock with the highest precision this patch scans all available PLLC2 frequencies and picks up the best one. Signed-off-by: Guennadi Liakhovetski <redacted>
So, what exactly does ap4evb_clk_optimize() do that you can't already do with either clk_rate_table_round() or clk_rate_div_range_round()? I really don't want to see this sort of rate table access going on outside of the clock framework itself, so if we need to add or extend an existing helper for a new usecase then that is highly preferable to constantly reinventing things.