2023-05-16 10:41 AM - edited 2023-11-20 5:20 AM
We have a custom board based on STM32MP157 MPU and running AOSP, with AUO G101EVN010 LCD-TFT panel using an LVDS to LTDC converter for interface.
Setup of the system is done using the STM32MP1 distribution for Android.
I am able to get the panel to display the Android UI, but the issue is the colors on the UI.
Below is an image of the Android home screen:
Observation: RGB appears to be BRG.
When I pull down the notification panel from the top, the notification overlay shows and it is observed that colors in the background appear correct as seen below:
Not getting where the issue is.
Using the MEDIA_BUS_FMT_RGB666_1X18 format for DRM and LTDC DT node settings as follows:
<dc {
/* compatible = "simple-panel"; */
status = "okay";
bits-per-pixel = <16>;
bus-width = <18>;
display-timings {
timing {
clock-frequency = <68930000>;
hactive = <1280>;
vactive = <800>;
hfront-porch = <120>;
hback-porch = <0>;
hsync-len = <8>;
vback-porch = <10>;
vfront-porch = <0>;
vsync-len = <6>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
Can someone help out!