Hi Mr. Das Kim,
Robert ask me if i can provide more detailed feedback on this topic.
I don't know the answer for your question at all but I will try to type down some comments.
I2cdetect do not displays UU but rather 48. As you correctly pointed out there is no driver controlling this chip.
I think at least some dummy driver is necessary so it can respond for upper layer requests.
For example it can report in which format data are provided and report and accept resolution and frame-rate settings from application.
Code:
~/workdir/voipac/imx6/linux/linux-fslc-4.1-rex$ grep -r max9272 ./
The 'max9272' string from device tree not point to any existing driver so i think
all device tree note settings are ignored because there is no driver that will work with them.
Here is for example settings for adv7610 that is also connected to parallel camera interface.
Code:
/ { v4l2_cap_0 { compatible = "fsl,imx6q-v4l2-capture"; ipu_id = <0>; csi_id = <0>; mclk_source = <0>; mipi_camera = <0>; default_input = <1>; status = "okay"; };};&i2c3 { adv7610: adv7610@4c { compatible = "adv,adv7610"; reg = <0x4c>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ipu1_csi0>; csi_id = <0>; reset-gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; };};
Driver
Code:
~/workdir/voipac/imx6/linux/linux-fslc-4.1-rex/drivers/media/platform/mxc/capture/adv7610.c
1. Do i need a driver for the deserializer?
I think you do. I would try to emulate some existing driver interface. The examples before are for 'V4L2_IF_TYPE_BT1120_PROGRESSIVE_SDR' input.
Your input signal is probably different. Feel free to use other kernels to evaluate CSI input. Kernel provided by voipac have modification to
support RPI MINI camera v1.3 and ADV7610. The changes might affect (should not) other sensors.
2. How do i create a device tree for the deserializer? There are many samples for the image sensor, but not samples for the deserializer.
I do not think there are many differences. The problematic part is usually the driver or "how to configure i.mx6" register so it accepts input signal.
Per my understanding you have to provide to i.MX6 CSI compatible signal (it does not matter if it comes from image sensor or deserializer)
and i2c interface is just for initialization and configuration.
Here are some output from ADV7610 testing (It is connected to CSI0 parallel interface):
http://wiki.voipac.com/xwiki/bin/vie...2Fmax2Fultra29Generally you can use information from:
Reference manual (includes CSI description)
https://www.nxp.com/products/process...umentation_TabGoogle search for NXP support forum
i.mx6 csi parallel site:community.nxp.com