Skip to content
Commit 8a094f50 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Anatolij Gustschin
Browse files

am335x-fb: setup display PLL



The LCDC IP-core an be feed from several clock sources, one of those is
a dedicated DPLL for generating a dividable base-clock for this IP-core.

The TRM specifies the maximum input frequency for the LCCD with 200 MHz,
so we must not exceed this value with the PLL frequency (which can lock
much higher).

This patch tries every combination of multipliers and divisors of the
PLL and the IP-core itself for getting as near as possible the the
requested panel->pxl_clk.

Signed-off-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 0d8a7d6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment