U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] davinci: omapl138_lcdk: increase PLL0 frequency
@ 2016-12-01 11:07 Bartosz Golaszewski
  2016-12-01 20:30 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2016-12-01 11:07 UTC (permalink / raw)
  To: u-boot

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>
---
 include/configs/omapl138_lcdk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index f751fe7..18abac0 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -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
 
 /*
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] davinci: omapl138_lcdk: increase PLL0 frequency
  2016-12-01 11:07 [U-Boot] [PATCH] davinci: omapl138_lcdk: increase PLL0 frequency Bartosz Golaszewski
@ 2016-12-01 20:30 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-12-01 20:30 UTC (permalink / raw)
  To: u-boot

On Thu, Dec 01, 2016 at 12:07:43PM +0100, Bartosz Golaszewski wrote:

> 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>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161201/8eb969f5/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-01 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01 11:07 [U-Boot] [PATCH] davinci: omapl138_lcdk: increase PLL0 frequency Bartosz Golaszewski
2016-12-01 20:30 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox