Can I put a V4L2 soc camera driver under other subsystem directory?

Bryan Wu cooloney at gmail.com
Thu Aug 8 14:15:01 PDT 2013


On Thu, Aug 8, 2013 at 1:52 PM, Guennadi Liakhovetski
<g.liakhovetski at gmx.de> wrote:
> Hi Bryan,
>
> On Wed, 7 Aug 2013, Bryan Wu wrote:
>
>> Hi Guennadi and LMML,
>>
>> I'm working on a camera controller driver for Tegra, which is using
>> soc_camera. But we also need to use Tegra specific host1x interface
>> like syncpt APIs.
>>
>> Since host1x is quite Tegra specific framework which is in
>> drivers/gpu/host1x and has several host1x's client driver like graphic
>> 2D driver, my v4l2 soc_camera driver is also a host1x client driver.
>> Right now host1x does not expose any global include header files like
>> API in the kernel, because no other users. So we plan to put all
>> host1x related driver together, is that OK for us to put our Tegra
>> soc_camera driver into drivers/gpu/host1x/camera or similar?
>>
>> I guess besides it will introduce some extra maintenance it should be OK, right?
>
> Exactly, there's already been a precedent:
>
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg56213.html
>
> It hasn't been finalised yet though.
>

OK, cool. I will try to provide the first version soon.

Thanks a lot,
-Bryan


More information about the dri-devel mailing list