Hello team,
We are trying to enable OV13850 sensor support on imx8mp to capture RAW10 data. But we get a incorrect test pattern, also sometimes we receive a timeout error. We suspect this is some timing issue. Below is the register dump from csi:
[ 157.936970] mipi_csis_start_stream: 955
[ 157.954180] CSIS_VERSION[0]: 0x03060301
[ 157.958722] CSIS_CMN_CTRL[4]: 0x00004b05
[ 157.963275] CSIS_CLK_CTRL[8]: 0x000f0000
[ 157.967821] CSIS_INTMSK[10]: 0x0fffff1f
[ 157.972449] CSIS_INTSRC[14]: 0x00000000
[ 157.977077] CSIS_DPHYSTATUS[20]: 0x00000040
[ 157.981703] CSIS_DPHYCTRL[24]: 0x0e80001f
[ 157.986344] CSIS_DPHYBCTRL_L[30]: 0x000001f4
[ 157.990980] CSIS_DPHYBCTRL_H[34]: 0x00000000
[ 157.995608] CSIS_DPHYSCTRL_L[38]: 0x00000000
[ 158.000232] CSIS_DPHYSCTRL_H[3c]: 0x00000000
[ 158.004868] CSIS_ISPCONFIG_CH0[40]: 0x00001078
[ 158.009513] CSIS_ISPCONFIG_CH1[50]: 0x000008fd
[ 158.014140] CSIS_ISPCONFIG_CH2[60]: 0x000008fe
[ 158.018768] CSIS_ISPCONFIG_CH3[70]: 0x000008ff
[ 158.023396] CSIS_ISPRESOL_CH0[44]: 0x06200840
[ 158.028021] CSIS_ISPRESOL_CH1[54]: 0x80008000
[ 158.032659] CSIS_ISPRESOL_CH2[64]: 0x80008000
[ 158.037290] CSIS_ISPRESOL_CH3[74]: 0x80008000
[ 158.041916] CSIS_ISPSYNC_CH0[48]: 0x00000000
[ 158.046544] CSIS_ISPSYNC_CH1[58]: 0x00000000
[ 158.051170] CSIS_ISPSYNC_CH2[68]: 0x00000000
[ 158.055794] CSIS_ISPSYNC_CH3[78]: 0x00000000
[ 158.060422] GPR_GASKET_0_CTRL[60]: 0xffff8000
[ 158.065048] GPR_GASKET_0_HSIZE[64]: 0xffff8000
[ 158.069687] GPR_GASKET_0_VSIZE[68]: 0xffff8000
We are working with following drivers:
drivers/staging/media/imx/imx8-mipi-csi2-sam.c
drivers/staging/media/imx/imx8-isi-cap.c
While configuring the device tree we see the property csis-hs-settle. What value we should set for this property? Our sensor is configured with MIPI PHY CLK 640Mbps.
Thanks & Regards