Re: soc_camera with V4L2 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guennadi,

Thank you for the quick response.

> > I am implementing 2mega pixel camera driver made by sharp and
> > attached my primal kernel driver.
> > (I still do not have the data sheet yet...)
> 
> Thanks for attaching your driver. You can have a look at another driver 
> for a Sharp camera sensor:
> 
> drivers/media/video/rj54n1cb0c.c
> 
> and at its platform glue in arch/sh/boards/mach-kfr2r09/setup.c, there you 
> find
> 
> struct platform_device kfr2r09_camera
> 
> which links to
> 
> struct soc_camera_link rj54n1_link
> 
> etc. It would also help to know, with which SoC you're working, because in 
> your platform code you'll need both platform data for the sensor and for 
> the host. Feel free to ask, if you have more questions, but please also cc 
> the mailing list.

Great!
I will look into rj54n1cb0c.c and mach-kfr2r09/setup.c of the:

struct soc_camera_link rj54n1_link

The ARM CPU is Renesas SoC.

> > On Wed, 13 Apr 2011 08:29:31 -0300
> > Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> mentioned:
> > > > Thank you for the great advice.
> > > > How do I bind the driver to soc_camera in my attached file?
> > > 
> > > You'll need to add some glue on it, via platform_data. I never wrote such glue for soc_camera,
> > > so I can't give you the exact directions, but feel free to contact Guennadi (soc_camera author
> > > and maintainer) to get more details.
> > 
> > How do I glue together my attached driver with your soc_camera?
> > May I have a pointer or suggestion?
> > 
> > I was project leader of PlayStaion3 Linux and now moved 
> > Nomovok to develop ARM based embedded devices.

With kind regards,

Akira

> ---
> Guennadi Liakhovetski, Ph.D.
> Freelance Open-Source Software Developer
> http://www.open-technology.de/

-- 
Akira Tsukamoto <akira-t@xxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux