media: imx219: Advertise embedded data node on media pad 1
authorNaushir Patuck <naush@raspberrypi.com>
Fri, 10 Mar 2023 17:43:57 +0000 (17:43 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:40 +0000 (11:33 +0000)
commit8d69ee4250872219d6543dba2914f0feaafc9a75
tree76d579eb32bcc01a8fd9e9cbc05aac7f908d1e35
parent735e3718bde812bdbb27fe9393edb8d67a0346fe
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>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx219.c