media: imx219: Advertise embedded data node on media pad 1
authorNaushir Patuck <naush@raspberrypi.com>
Thu, 12 Mar 2020 14:09:38 +0000 (14:09 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:08 +0000 (19:13 +0000)
commit971134bc86674130bc58f4f93b5c32bc2601647a
treecadd1181c1cb8d061d12f17654acbb4e5beb88c8
parentc7ae74e0ed73c6b44691f8ce176cc13f3e86ede2
media: imx219: Advertise embedded data node on media pad 1

This commit updates the imx219 driver to adverise support for embedded
data streams.  This can then be used by the bcm2835-unicam driver, which
has recently been updated to expose the embedded data stream to
userland.

The imx219 sensor subdevice overloads the media pad to differentiate
between image stream (pad 0) and embedded data stream (pad 1) when
performing the v4l2_subdev_pad_ops functions.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/imx219.c