diff mbox series

[PATCHv2,1/3] videodev2.h: add CAP_EDID (DO NOT COMMIT)

Message ID 38c1b4818233dda5a20d37faf90e0a68f1a0f532.1724923302.git.hverkuil-cisco@xs4all.nl (mailing list archive)
State New
Headers show
Series v4l-utils: add support for V4L2_CAP_EDID | expand

Commit Message

Hans Verkuil Aug. 29, 2024, 9:21 a.m. UTC
Add capability flag to indicate that the device is an EDID-only device.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 include/linux/videodev2.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index f18a40d4..dab68c8d 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -475,6 +475,7 @@  struct v4l2_capability {
 #define V4L2_CAP_META_CAPTURE		0x00800000  /* Is a metadata capture device */
 
 #define V4L2_CAP_READWRITE              0x01000000  /* read/write systemcalls */
+#define V4L2_CAP_EDID			0x02000000  /* Is an EDID-only device */
 #define V4L2_CAP_STREAMING              0x04000000  /* streaming I/O ioctls */
 #define V4L2_CAP_META_OUTPUT		0x08000000  /* Is a metadata output device */