From 052a9ff245fe1192cf007c9246a215c897535e78 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 23 Oct 2024 09:01:18 +0200 Subject: include: linux: Update headers for line-based embedded data support Update the kernel headers with the definition of two device-specific line-based metadata formats, and with the definition of the MEDIA_PAD_FL_INTERNAL and V4L2_SUBDEV_ROUTE_FL_IMMUTABLE flags. The new definitions will allow to support handling line-based metadata streams exposed by the sensor driver through an internal sink pad. While the changes have not yet been collected in the official linux-media tree, they're available in the 'metadata' branch of https://git.linuxtv.org/sailus/media_tree.git, at revision: f9bbbd9a696d ("media: Documentation: Add binning and sub-sampling controls") Signed-off-by: Jacopo Mondi Acked-by: Kieran Bingham --- include/linux/v4l2-subdev.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux/v4l2-subdev.h') diff --git a/include/linux/v4l2-subdev.h b/include/linux/v4l2-subdev.h index 2347e266..839b1329 100644 --- a/include/linux/v4l2-subdev.h +++ b/include/linux/v4l2-subdev.h @@ -204,6 +204,11 @@ struct v4l2_subdev_capability { * on a video node. */ #define V4L2_SUBDEV_ROUTE_FL_ACTIVE (1U << 0) +/* + * Is the route immutable? The ACTIVE flag of an immutable route may not be + * unset. + */ +#define V4L2_SUBDEV_ROUTE_FL_IMMUTABLE (1U << 1) /** * struct v4l2_subdev_route - A route inside a subdev -- cgit v1.2.1