]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
media: Add MIPI CSI-2 generic long packet type definition
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 12 Sep 2023 08:36:51 +0000 (11:36 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 7 Oct 2023 08:55:48 +0000 (10:55 +0200)
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 <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
include/media/mipi-csi2.h

index c3d8f12234b1fb73ced5ac5c0adcc9f1a3328e0d..40fc0264250d779ab5dfa7d2fe16e6f1382c07d4 100644 (file)
@@ -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