From: Sakari Ailus Date: Tue, 12 Sep 2023 08:36:51 +0000 (+0300) Subject: media: Add MIPI CSI-2 generic long packet type definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2d21fef54800bd6641f85a6821427260439c9539;p=linux.git media: Add MIPI CSI-2 generic long packet type definition Add a definition for MIPI CSI-2 generic long packet types. The generic long packet types are numbered from 1 to 4. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil --- diff --git a/include/media/mipi-csi2.h b/include/media/mipi-csi2.h index c3d8f12234b1f..40fc0264250d7 100644 --- a/include/media/mipi-csi2.h +++ b/include/media/mipi-csi2.h @@ -19,6 +19,7 @@ #define MIPI_CSI2_DT_NULL 0x10 #define MIPI_CSI2_DT_BLANKING 0x11 #define MIPI_CSI2_DT_EMBEDDED_8B 0x12 +#define MIPI_CSI2_DT_GENERIC_LONG(n) (0x13 + (n) - 1) /* 1..4 */ #define MIPI_CSI2_DT_YUV420_8B 0x18 #define MIPI_CSI2_DT_YUV420_10B 0x19 #define MIPI_CSI2_DT_YUV420_8B_LEGACY 0x1a