lcd initialisation and adress for imx6ul

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

lcd initialisation and adress for imx6ul

跳至解决方案
2,230 次查看
asmaa
Contributor V

Hello everyone,

I am using imx6ulevk eavaluation kit. I am using yocto following L4.9.88_2.0.0 user guide.

My evaluation kit has lcd. I want to understand its initialization routine.

Could someone please help me with reg address in device tree

lcdif: lcdif@21c8000 {
compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
reg = <0x021c8000 0x4000>;
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
<&clks IMX6UL_CLK_LCDIF_APB>,
<&clks IMX6UL_CLK_DUMMY>;
clock-names = "pix", "axi", "disp_axi";

status = "disabled";

}

where is the reg address 0x021c8000  defined ? In reference manual or user guide.

How can I know interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH> is defined for lcd?

Regards,

Asma

0 项奖励
回复
1 解答
2,061 次查看
igorpadykov
NXP Employee
NXP Employee
4 回复数
2,061 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Asma

one can look at uboot/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c

mx6ul_14x14_evk.c\mx6ul_14x14_evk\freescale\board - uboot-imx - i.MX U-Boot 

in linux sect.6.3.4 ELCDIF Frame Buffer attached Linux Manual.

Right, reg address 0x021c8000 and interrupts are defined in Reference Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,061 次查看
asmaa
Contributor V

Hi igorpadykov‌,

Thank you for the reply. I checked in the above pdf and also IMX6ULRM pdf, I didnt find any address for LCD. If you know can you please specify line number.

Regards,

Asma

0 项奖励
回复
2,062 次查看
igorpadykov
NXP Employee
NXP Employee
2,061 次查看
asmaa
Contributor V

Thank you igorpadykov‌, my bad. I was directly trying to search that address.

0 项奖励
回复