[media] V4L2: add temporary clock helpers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 4 Dec 2012 10:42:15 +0000 (07:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 19:28:02 +0000 (16:28 -0300)
commitff5430de70e8137daccecfa1211509f95fcc8d25
treeb823b6f47ba5ffb3f0b7d7367a08893bb9029638
parent812e8b22ea55218449de310a666dd1ce16f924ed
[media] V4L2: add temporary clock helpers

Typical video devices like camera sensors require an external clock source.
Many such devices cannot even access their hardware registers without a
running clock. These clock sources should be controlled by their consumers.
This should be performed, using the generic clock framework. Unfortunately
so far only very few systems have been ported to that framework. This patch
adds a set of temporary helpers, mimicking the generic clock API, to V4L2.
Platforms, adopting the clock API, should switch to using it. Eventually
this temporary API should be removed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/Makefile
drivers/media/v4l2-core/v4l2-clk.c [new file with mode: 0644]
include/media/v4l2-clk.h [new file with mode: 0644]
This page took 0.043097 seconds and 5 git commands to generate.