BSP i.MX 6 (DL). and there is no log about this part
There are different BSP for i.MX6. Please see this web page.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW
Please let me know which BSP are you using and please tell me how the LCD not work.
We are use i.MX6DL: i.MX 6DualLite Proces and there is no valid kernel log in this part .
By the way , we are use 4 line data
******************** boot parmeter
console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.serialno=0a2049d4df644f5a
Hi, jimmy:
can you help us to change the parameter cause this is first time to use this platform.
Thanks.
Hi,
Jack
Have you tried to set up ldb_data.transfer_mode = LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;
Saurabh
hi, Patel:
I can't find ldb_data.transfer_mode in our code , can you let me know which file i can change it . now our driver use ldb.c
Only place i can find set LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG is in ldb.c . the code is :
/* TODO: now only use SPWG data mapping for both channel */
reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);
reg |= LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;
Thanks.
Hi,
Jack
You can set
reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);
reg |= LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;
or
reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);
reg |= LDB_BIT_MAP_CH0_JEIDA | LDB_BIT_MAP_CH1_JEIDA;
According to your panel.
#define LDB_BIT_MAP_CH1_JEIDA 0x00000100
#define LDB_BIT_MAP_CH0_JEIDA 0x00000040
Which BSP are you using? Any log message show how it cannot work?