This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA744: YUV Camera preview could not work on J6 platform

Part Number: DRA744

Tool/software: Linux

Hi TI,

I'm using TI J6 platform(Android, 6AM.1.3), we make a camera adapter to connect YUV camera to "VIN[1]A".

Sensor output: 1280x800(30fps, YUV422-8bit),  hardware interface: VIN[1]A_D[0-7],VIN[1]A_HSYNC0,VIN[6]A_VSYNC.

And I'm porting camera sensor driver for it, Now the 'video' device has been create,

but when open camera, there is only "green" picture, no image data.

Below is the dtsi config:

ov494@24 {
compatible = "ovti,ov494";
reg = <0x24>;
mux-gpios = <&pcf_hdmi 3 GPIO_ACTIVE_LOW>; /* CAM_FPD_MUX_S0 */
port {
onboardLI: endpoint {
remote-endpoint = <&vin1a>;
bus-width = <8>; /* Used data lines */
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <1>;
};
};
};
----------------------------------------
video_in: &vin1a {
status = "okay";
endpoint@0 {
slave-mode;
remote-endpoint = <&onboardLI>;
};
};

----------------driver color config------------------------------------------------------------------

.code = MEDIA_BUS_FMT_UYVY8_2X8
.colorspace = V4L2_COLORSPACE_SMPTE170M

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

Could you help to debug or tell me how to debug?

Thanks.