AnsweredAssumed Answered

Display lcd kernel 4.1.15

Question asked by Xaro Wubas on Jun 26, 2020
Latest reply on Jun 26, 2020 by igorpadykov

Dear NXP Community,

I am trying to setup a RGB LCD display with kernel 4.1.15 (imx6dl) and with UBoot I am able to show the logo.

On the boot phase the frame buffer is loaded:

mxc_sdc_fb fb@0: registered mxc display driver lcd

but I get an error "Division by zero in kernel" on the below function (ipu_disp.c)

div = clk_get_rate(clk_get_parent(ipu->pixel_clk_sel[disp])) / rounded_pixel_clk;

That's because the below function fails returning 0:

rounded_pixel_clk = clk_round_rate(ipu->pixel_clk[disp], pixel_clk);

The clock name and rate of ipu->pixel_clk[disp] (get with printk) are:

name: ipu1_pclk0

rate: 0

I think some clock definition is missing in the DTS but I could not figure it out..

 

Thank you very much for any suggestion

Outcomes