I am trying to interface with this screen.
I notice the driver is already in the android source build. I was hoping all it takes is to enable the module. But sadly it does not work this way. Any help/guidance would be appreciated.
I am pretty sure what I did so far is necessary to get the module up and running. I just don't know what else to do afterword or where to look for more information.
Here is what I have done so far:
1) The driver is located in: ~/dm3730logic-icecreamsandwich/kernel/drivers/video/omap2/displays/ folder
It is named: panel-nec-nl8048hl11-01b.c
2) In the driver, there is a SPI module require. Hence I went ahead and modified the Kconfig file to reflect this. I don't know why it did not have this in the beginning.
config PANEL_NEC_NL8048HL11_01B
tristate "NEC NL8048HL11-01B Panel"
depends on OMAP2_DSS_DPI && SPI
select BACKLIGHT_CLASS_DEVICE
help
This NEC NL8048HL11-01B panel is TFT LCD
used in the Zoom2/3/3630 sdp boards.
3) Then I went ahead and modify the make menuconfig of the kernel to enable the module
It is located in:
-> Device Drivers -> Graphics support -> OMAP2+ Display Subsystem support (EXPERIMENTAL) -> OMAP2/3 Display Device Drivers -> NEC NL8084HL11-01B
This is where I got lost. I don't know what else to do. I know I have to modify the board-omap3logic-display.c in:
~/dm3730logic-icecreamsandwich/kernel/arch/arm/mach-omap2/ folder.
However, I don't know what to modify there.
In terms of how I connected the LCD, I wired everything the same as the LCD before according to the LCD schematic on this website.
Hence the RGB signals should NOT change. As for the SPI signals, I don't know how to add this. Any help would be appreciated.
Also I have tested this LCD and it does display somewhat properly (1/2 successfuly) during the uboot. I have modified logic-display.c and bit-bang the SPI to initialize it properly. This is located in:
~/dm3730logic-icecreamsandwich/u-boot/board/ti/logic/ folder