Solved! Go to Solution.
hi,
Not sure if you have solution already. I would like to provide a few suggestion.
It looks you want adv7180 working by pixel clock signal. You may refer to CSI0_SENS_PRTCL of CSI0_SENS_CONF, and try the gated mode (or not gated mode? depend on adv7180). MX53 BSP already includes the setting, and please lookup "IPU_CSI_CLK_MODE_GATED_CLK" of "drivers/media/video/mxc/capture/mxc_v4l2_capture.c".
Max
hi,
Not sure if you have solution already. I would like to provide a few suggestion.
It looks you want adv7180 working by pixel clock signal. You may refer to CSI0_SENS_PRTCL of CSI0_SENS_CONF, and try the gated mode (or not gated mode? depend on adv7180). MX53 BSP already includes the setting, and please lookup "IPU_CSI_CLK_MODE_GATED_CLK" of "drivers/media/video/mxc/capture/mxc_v4l2_capture.c".
Max
I made modifies of bellow reference ov5642.c file:
adv7180.c
In ioctl_g_ifparm function add:
p->u.bt656.clock_curr = 27000000; //gjz
p->u.bt656.bt_sync_correct = 1;
In adv7180_probe function modified:
adv7180_data.pix.priv = 0;
But there is no data captured from adv7180.
I don't why this did not work,
Is there anyone can help me?
Thank you