Re: [PATCH 3/4] V4L: soc-camera: make (almost) all client drivers re-usable outside of the framework

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

 



On Friday, September 09, 2011 19:43:35 Guennadi Liakhovetski wrote:
> The most important change in this patch is direct linking to struct
> soc_camera_link via the client->dev.platform_data pointer. This makes most
> of the soc-camera client drivers also usable outside of the soc-camera
> framework. After this change all what is needed for these drivers to
> function are inclusions of soc-camera headers for some convenience macros,
> suitably configured platform data, which is anyway always required, and
> loaded soc-camera core module for library functions. If desired, these
> library functions can be made generic in the future and moved to a more
> neutral location.
> 
> The only two client drivers, that still depend on soc-camera are:
> 
> mt9t031: it uses struct video_device for its PM. Since no hardware is
> available, alternative methods cannot be tested.
> 
> ov6650: it uses struct soc_camera_device to pass its sense data back to
> the bridge driver. A generic v4l2-subdevice approach should be developed
> to perform this.

Subdevs can call a notify function in struct v4l2_device to pass information
to the bridge. Can that be used here?

Regards,

	Hans
--
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