TI: ANDROID: HACK: android: use UYVY instead of YUYV as input format
Since patch [1], the camera color components are reversed (the resulting image we get from the drivers is in UYVY instead of in YUYV).
Patch [1] does the right thing to limit mbus formats we support but causes a regression on YUYV capturing.
However, YUYV capturing is not really supported in libcamera according to [2]:
Note: Due to a bug in the driver only UYVY format works with libcamera tool. You can still manually change the format using media-ctl to use with other tools.
Switch over to UYVY instead which is documented as supported which fixes the color problem.
[1] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.1.y&id=c634ccb2086f43c26b2a0348ec507897d89ea412 [2] https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_00_00_03/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.html Signed-off-by: Mattijs Korpershoek mkorpershoek@baylibre.com