Tool/software: Linux
Hi, everyone,
I'm trying to connect DM3730 to a MIPI-DPI LCD through an 8 bit interface, 2 cycle/pixel.
I know how to set the TDM registers but I couldn't figure out how to configure the pixel format to RGB565.
1) If I set omap_dss_device.phy.dpi.data_lines = 16, then in Linux /sys/devices/platform/omapfb/graphics/fb0/bits_per_pixel also becomes 16, which means the frame buffer is in RB565 mode, this is not desirable since I still want to use the RGBA8888 format for the overlay manager. And my application program depends on the RGBA8888 format of FB0 and FB2;
2) If I set omap_dss_device.phy.dpi.data_lines = 24, I did not find a TDM register that can select 5/6/5 bits out of a 24 bit pixel.
Question: is it possible to let TDM receive RGB565 pixel and transmit it through a 8 bit bus in 2 cycles/pixel, while maintaining frame buffer and overlay in RGBA8888 mode?
Thank you.