1
0
Fork 0
forked from len0rd/rockbox

zen/zenxfi: increase LCD clock frequency

Change-Id: I157e0d537a1b9d73eda4e18a4a64b10410c6fac4
This commit is contained in:
Amaury Pouly 2017-08-27 15:55:39 +02:00
parent 5d2d747247
commit 7677a9946f

View file

@ -292,7 +292,7 @@ void lcd_init_device(void)
/** lcd is 320x240, data bus is 8-bit, depth is 24-bit so we need 3clk/pix /** lcd is 320x240, data bus is 8-bit, depth is 24-bit so we need 3clk/pix
* by running PIX clock at 24MHz we can sustain ~100 fps */ * by running PIX clock at 24MHz we can sustain ~100 fps */
imx233_clkctrl_enable(CLK_PIX, false); imx233_clkctrl_enable(CLK_PIX, false);
imx233_clkctrl_set_div(CLK_PIX, 2); imx233_clkctrl_set_div(CLK_PIX, 1);
imx233_clkctrl_set_bypass(CLK_PIX, true); /* use XTAL */ imx233_clkctrl_set_bypass(CLK_PIX, true); /* use XTAL */
imx233_clkctrl_enable(CLK_PIX, true); imx233_clkctrl_enable(CLK_PIX, true);
imx233_lcdif_init(); imx233_lcdif_init();