How to Add 24-bit LVDS Support in Android 5.0 IMX6DL and IMX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Add 24-bit LVDS Support in Android 5.0 IMX6DL and IMX6Q

1,071 Views
linw
Contributor I

How to Add 24-bit LVDS Support in Android 5.0 IMX6DL and IMX6Q,

how to config the device tree? Any document about this?

DISP0_EN is connect to the DI0_PIN15

LCD module is LP101WX2

lcd.png

0 Kudos
2 Replies

655 Views
igorpadykov
NXP Employee
NXP Employee

Hi lin

for such dtsi example one can look at

linux-imx6/imx6qdl-eo.dtsi at boundary-imx_3.14.28_1.0.0_ga · boundarydevices/linux-imx6 · GitHub

https://boundarydevices.com/android-lollipop-5-0-0-ga-release-for-i-mx6-boards/

https://boundarydevices.com/mx6-device-tree-customization/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

655 Views
linw
Contributor I

In Android 4.3 I config as follow:

1. bootargs:

console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDBXGA,if=RGB24,bpp=18 ldb=sin0 video=mxcfb1:off video=mxcfb2:off fbmem=10

M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale

in ldb.c:

static struct fb_videomode ldb_modedb[] = {

    {

         "LDB-XGA", 60, 1280, 800, 13623,

         80, 48,

         15, 2,

         32, 47,

         0,

         FB_VMODE_NONINTERLACED,

         FB_MODE_IS_DETAILED,

    },

};

In Andorid 5.0 :

1. bootargs:

console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDBXGA,if=RGB24,bpp=18 ldb=sin0 video=mxcfb1:off video=mxcfb2:off fbmem=10

M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.selinux=disabled android

boot.dm_verity=disabled

2:dts: mxcfb1 config as follow,I was confuse, How to config the LVDS0 pins in tthe DT?

mxcfb1.png

0 Kudos