]> git.baikalelectronics.ru Git - kernel.git/commit
[media] V4L: add media bus configuration subdev operations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 1 Jul 2011 17:31:17 +0000 (14:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:08 +0000 (17:56 -0300)
commitc1d3f2368f5ed29cea201f5e21e4c03a7b34a0e9
tree88769a0554da080023fc567bc6e41f9bc89c59c1
parent6b11b6fd3c5a5282608a50ece29434e7c0bed326
[media] V4L: add media bus configuration subdev operations

Add media bus configuration types and two subdev operations to get
supported mediabus configurations and to set a specific configuration.
Subdevs can support several configurations, e.g., they can send video data
on 1 or several lanes, can be configured to use a specific CSI-2 channel,
in such cases subdevice drivers return bitmasks with all respective bits
set. When a set-configuration operation is called, it has to specify a
non-ambiguous configuration.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-mediabus.h
include/media/v4l2-subdev.h