]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels
authorAjay Kumar <ajaykumar.rs@samsung.com>
Wed, 4 Mar 2015 13:35:25 +0000 (19:05 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:38:15 +0000 (14:38 +0200)
commitfb4da9c3862c58f8f45268548e5bec30ce3629fb
tree840d927eeb8795bcace6bfbac7093d07b4cd3f5e
parent35141f647eda46bca963d24973811f4bf48365ae
Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels

The existing setting for rpll_sdiv generates 70.5Mhz RPLL
video clock to drive 1366x768 panel on peach_pit.

This clock rate is not sufficient to drive 1920x1080 panel on peach-pi.
So, we adjust rpll_sdiv to 3 so that it generates 141Mhz pixel clock
which can drive peach-pi LCD.

This change doesn't break peach-pit LCD since 141/2=70.5Mhz, i.e FIMD
divider at IP level will get set to 1(the required divider setting
will be calculated and set by exynos_fimd_set_clock()) and hence
peach-pit LCD still works fine.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock_init_exynos5.c