Skip to content

Commit d2f2ce0

Browse files
Erling Ljunggrenmchehab
authored andcommitted
media: docs: Add V4L2_CAP_EDID
Add documentation for the new edid capability. Signed-off-by: Erling Ljunggren <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Sebastian Fricke <[email protected]> Reviewed-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent c9edd2e commit d2f2ce0

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

Documentation/userspace-api/media/v4l/biblio.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,17 @@ VESA DMT
334334

335335
:author: Video Electronics Standards Association (http://www.vesa.org)
336336

337+
.. _vesaeddc:
338+
339+
E-DDC
340+
=====
341+
342+
343+
:title: VESA Enhanced Display Data Channel (E-DDC) Standard
344+
:subtitle: Version 1.3
345+
346+
:author: Video Electronics Standards Association (http://www.vesa.org)
347+
337348
.. _vesaedid:
338349

339350
EDID

Documentation/userspace-api/media/v4l/vidioc-querycap.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,17 @@ specification the ioctl returns an ``EINVAL`` error code.
244244
- 0x01000000
245245
- The device supports the :c:func:`read()` and/or
246246
:c:func:`write()` I/O methods.
247+
* - ``V4L2_CAP_EDID``
248+
- 0x02000000
249+
- The device stores the EDID for a video input, or retrieves the EDID for a video
250+
output. It is a standalone EDID device, so no video streaming etc. will take place.
251+
252+
For a video input this is typically an eeprom that supports the
253+
:ref:`VESA Enhanced Display Data Channel Standard <vesaeddc>`. It can be something
254+
else as well, for example a micro controller.
255+
256+
For a video output this is typically read from an external device such as an
257+
HDMI splitter accessed by a serial port.
247258
* - ``V4L2_CAP_STREAMING``
248259
- 0x04000000
249260
- The device supports the :ref:`streaming <mmap>` I/O method.

Documentation/userspace-api/media/videodev2.h.rst.exceptions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ replace define V4L2_CAP_META_OUTPUT device-capabilities
197197
replace define V4L2_CAP_DEVICE_CAPS device-capabilities
198198
replace define V4L2_CAP_TOUCH device-capabilities
199199
replace define V4L2_CAP_IO_MC device-capabilities
200+
replace define V4L2_CAP_EDID device-capabilities
200201

201202
# V4L2 pix flags
202203
replace define V4L2_PIX_FMT_PRIV_MAGIC :c:type:`v4l2_pix_format`

0 commit comments

Comments
 (0)