mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +00:00
d5d51a827b
Add media controller support to the adv7180 driver by registering a media entity instance for it as well as implementing pad ops for configuring the format. As there currently don't seem to be any users of the video ops format operations those are removed as well in this patch. Also set the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so it is possible to create a subdevice device node. Since the driver now depends on VIDEO_V4L2_SUBDEV_API all drivers which select the driver need to depend on that symbol as well. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Federico Vaga <federico.vaga@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
16 lines
450 B
Plaintext
16 lines
450 B
Plaintext
config STA2X11_VIP
|
|
tristate "STA2X11 VIP Video For Linux"
|
|
depends on STA2X11
|
|
depends on HAS_DMA
|
|
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
|
|
depends on VIDEO_V4L2_SUBDEV_API
|
|
depends on I2C
|
|
help
|
|
Say Y for support for STA2X11 VIP (Video Input Port) capture
|
|
device.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called sta2x11_vip.
|