Thanks Igor,
I've got the LCD driver going, but I seem to be having an issue similar to the LDB clock issue where u-boot was setting the wrong clock, and the clock could not be changed in Linux. Is this a known issue for the LCD? Are there any documents on setting the clocks for the lcdif driver?
I looked for the registers related to the IPU clock these are the values I'm reading:
(The processor is i.MX6DL so it only has 1 IPU, and only one display so I'm only concerned with D0)
CCM_CHSCCDR addr: 20C_4034h = 0x00012090
IPU di0 clock premutiplexer(8-6) = 010 = derive clock from PLL5
IPU di0 clock divider(5-3) = 010 = divide by 3
IPU di0 root clock multiplexer(2-0) = 000 = derive clock from divided pre-muxed ipu1 di0 clock
CCM_CSCDR3 addr: 20C_403Ch = 0x00014E41
Divider for IPU HSP clock(13-11) = 001 = divide by 2
Selector for IPU HSP clock multiplier(10-9) = 11 = derive clock from PLL3 PFD1
CCM_CCOSR addr: 20C_4060h = 0x000E0101
Select clock to be generated on CCM_CLKO1(3-0) = 0001 = PLL2 main clk
Select clock to be generated on CCM_CLKO1(20-16) = 01110 = osc clk
CCM_CCGR3 addr: 20C_4074h = 0x3FF00003 (not sure why there are twos bits for every field in this register)
IPU di0 clock and pre-clock enable(3-2) = 00
IPU clock(1-0) = 11