hi
I'm developing TW9900 Driver on linux-3.10.53.
I will connect Analog CAM to TW9900 and TW9900 to imx6.
Analog CAM ====nstc====>Tw9900 ====BT656 =====> imx6 CSI1
I found tw9910.c in <linux-3.10.53>/drivers/media/i2c/soc_camera.
I revised device tree.
kernel configuration
device_drivers-> multimedia_support --> sensors used on soc_camera_driver -> tw9910 support <*>
so, I tested tw9910 driver.
i founded tw9910 driver error message.
"tw9910 2-0044 : TW9910: missing platform data!
It is tw9910 dirver probe source.
I think soc_camera_i2c_to_desc(client) function returns NULL.
Why return valuse is NULL?
How resolve this problems??
and
Is it right to use this video decoder ?
i found something, <linux-3.10.53>/drivers/media/platform/mxc/capture/adv7180.c
adv7180 is video decoder.
what is different between soc camera and video decoder?
Hi moowon
you are right, for bt656 camera one can reuse ad7180 examples, also one can check
I.MX6: TW8836_TVIN(BT656) ===> CSI0 (8-Bit / CSI0_DAT12 : CSI0_DAT19)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi igorpadykov
thanks your help
Analog CAM ====nstc====>Tw9900 ====BT656 =====> imx6sx CSI1
I made Tw9900 driver. and It is working
currently, I have a problem.
This picture is dumped from csi buffer Using DQueue
when It was "csi_buf_stride_set(cam, 720); " "csi_deinterlace_enable(cam, false);" in csi_v4l2_catpure.c, I dumped picture.
when I revise "csi_buf_stride_set(cam, 0); " "csi_deinterlace_enable(cam, false);" in csi_v4l2_catpure.c, I dumped picture.
I think CSI driver dosen`t find start of frame.
let me know how to resolve this problem.
and What is buf stride?
I found IMX6SX Reference Manual, but I am not understand about buf_stride.
Could you tell me more?
hi moowon lee,
Can you share how you fixed the missing platform data?
I am going to write a driver for the TW9992 and would like a good basis to start from. Are you able to share the code and device tree that you created for the TW9900? Thanks!
Anyone have an answer to this, I am also experiencing this issue?