I have been following the instructions in sprac49.pdf but am not sure how to set the pll values for our display.
Unless I am mistaken I would just need to change a few values to match our 12 inch display and remove the part for controlling the backlight.
For us we just turn a GPIO on, there is no backlight control from the DRA726 beside that. The I2C port on the LCD display is only for the egalax touch screen.
Where would I look for the pll values to use?
void video_pll_conf(u32 lcd_type)
{
uint32_t regval, temp;
switch (lcd_type)
{
case LCD_TYPE_7_INCH:
/* 7" LCD */
divider = 10 + 1;
multiplier = 410;
div_h11_clkcfg = 16 + 1;
break;
case LCD_TYPE_10_INCH:
/* 10" LCD */
divider = 8 + 1;
multiplier = 421;
div_h11_clkcfg = 8 + 1;
break;
default:
hang();
}
Here are the definitions for the LCD, our display is LVDS, it has a device that converts for the TI video output to LVDS.
panel-timing {
clock-frequency = <93688800>;
hactive = <1920>;
vactive = <720>;
hfront-porch = <115>;
hback-porch = <20>;
hsync-len = <5>;
vback-porch = <3>;
vfront-porch = <32>;
vsync-len = <3>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
Michel Catudal
ACTIA Corp