[PATCH 2/2] powerpc/86xx: improve calculation of DIU pixel clock on the MPC8610 HPCD

Kumar Gala kumar.gala at freescale.com
Mon Jun 27 23:34:53 EST 2011


On Jun 23, 2011, at 11:16 AM, Timur Tabi wrote:

> mpc8610hpcd_set_pixel_clock() calculates the correct value of the PXCLK
> bits in the CLKDVDR register for a given pixel clock rate.  The code which
> performs this calculation is overly complicated and includes an error
> estimation routine that doesn't work most of the time anyway.  Replace the
> code with the simpler routine that's currently used on the P1022DS.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/platforms/86xx/mpc8610_hpcd.c |  107 ++++++++++++---------------
> 1 files changed, 48 insertions(+), 59 deletions(-)

applied to next

- K


More information about the Linuxppc-dev mailing list