[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)
commit91c7953005247c9563408bbdbf35e27de33e6ec3
tree88769a0554da080023fc567bc6e41f9bc89c59c1
parent7a05dfeddee9ffc2405230759ef32ecb603e3f48
[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