]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
davinci: omapl138_lcdk: increase PLL0 frequency
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 1 Dec 2016 11:07:43 +0000 (12:07 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2016 16:04:42 +0000 (11:04 -0500)
The LCDC controller on the lcdk board has high memory throughput
requirements. Even with the kernel-side tweaks to master peripheral
and peripheral bus burst priorities, the default PLL0 frquency of
300 MHz is not enough to service the LCD controller and causes
DMA FIFO underflows.

Increment the PLL0 multiplier to 37, resulting in PLL0 frequency of
456 MHz - the same value that downstream reference u-boot from Texas
Instruments uses.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/omapl138_lcdk.h

index 9e11f7dc95c342f19a86a249a2c48c405ce2ab19..7c2f4141c912622d3f0c41be52d028b66edcdd84 100644 (file)
@@ -75,7 +75,7 @@
 #define CONFIG_SYS_DA850_PLL1_PLLDIV2  0x8001
 #define CONFIG_SYS_DA850_PLL1_PLLDIV3  0x8003
 
-#define CONFIG_SYS_DA850_PLL0_PLLM     24
+#define CONFIG_SYS_DA850_PLL0_PLLM     37
 #define CONFIG_SYS_DA850_PLL1_PLLM     21
 
 /*