Configuration example for ADV7182 decoder with IMX6 Solo processor

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration example for ADV7182 decoder with IMX6 Solo processor

617 Views
marcosal
Contributor II

Hello everyone,

I have a custom board that has an IMX6 Solo processor and it is connected to a video decoder ADV7182. I want to configure it to capture video from an analogue camera. I have seen many examples and applied some patches but I cannot even see a printk I wrote in the probe and init methods from the i2c/adv7180.c file. I am using kernel 4.9.88 and I activated in the kernel configuration the options:

CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_VIDEO_MXC_OUTPUT=y
CONFIG_VIDEO_MXC_CAPTURE=y

CONFIG_VIDEO_MXC_IPU_CAMERA=y
CONFIG_MXC_CAMERA_OV5640=m
CONFIG_MXC_CAMERA_OV5640_V2=m
CONFIG_MXC_CAMERA_OV5642=m
CONFIG_MXC_CAMERA_OV5640_MIPI=m
CONFIG_MXC_CAMERA_OV5640_MIPI_V2=y
CONFIG_MXC_CAMERA_OV5647_MIPI=m
CONFIG_MXC_TVIN_ADV7180=y
CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=y
CONFIG_MXC_IPU_PRP_ENC=y
CONFIG_MXC_IPU_CSI_ENC=y
CONFIG_VIDEO_MXC_IPU_OUTPUT=y
CONFIG_VIDEO_MXC_PXP_V4L2=y
CONFIG_SOC_CAMERA=y
CONFIG_SOC_CAMERA_PLATFORM=y
CONFIG_V4L_MEM2MEM_DRIVERS=y

If more information is required please let me know. Any clue or recipe would be great.

Thanks in advance!

Labels (2)
0 Kudos
1 Reply

267 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Marcos

for adv7182 configs one can look at sect.6.1.1.2 OV5642 Using parallel interface

attached Linux Manual, dts file and driver sources:

capture\mxc\platform\media\drivers - linux-imx - i.MX Linux kernel 

linux-imx6/imx6qdl-sabrelite.dtsi at boundary-imx_4.9.x_2.0.0_ga · boundarydevices/linux-imx6 · GitH... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos