AnsweredAssumed Answered

How to setup initialize code via spi interface for lvds panel, which connect to imx6 solo?

Question asked by Ping Wu on Mar 14, 2016
Latest reply on Mar 15, 2016 by Artur Petukhov

Hi list,

In my case, LVDS panel connect to imx6 solo mcu, but the lvds panel need setup some initialize code via spi interface before work. I searched linux-3.0.35/driver/video/mxc/mxcfb_epson_vga.c (linux-2.6-imx.git - Freescale i.MX Linux Tree ) has some code  as below:

static int __init epson_lcd_init(void)
int ret;
ret = platform_driver_register(&lcd_plat_driver);
if (ret)
return ret;
return spi_register_driver(&lcd_spi_dev_driver);

But above code could not found on  imx_3.14.28_1.0.0_ga  branch, I guess this is as of device tree introduced.


My question is:

How to setup initialize code via spi interface to lvds panel on imx_3.14.28_1.0.0_ga or later branch?  Any similar example code or suggestion? Thanks