Document CEC_CAP_HAS_HPD_PRESENT and CEC_LOG_ADDRS_FL_HPD_PRESENT.
Signed-off-by: Hans Verkuil <[email protected]>
---
.../userspace-api/media/cec/cec-ioc-adap-g-caps.rst | 10 ++++++++++
.../media/cec/cec-ioc-adap-g-log-addrs.rst | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
index 1d5248979a6d..bf734cbee0dd 100644
--- a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
+++ b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
@@ -143,6 +143,16 @@ returns the information to the application. The ioctl
never fails.
- 0x00000200
- If this capability is set, then
:ref:`CEC_MSG_FL_REPLY_VENDOR_ID <cec-msg-flags>` can be used.
+ * .. _`CEC-CAP-HAS-HPD-PRESENT`:
+
+ - ``CEC_CAP_HAS_HPD_PRESENT``
+ - 0x00000400
+ - If this capability is set, then
+ :ref:`CEC_LOG_ADDRS_FL_HPD_PRESENT <cec-log-addrs-flags>` is valid.
+ This makes it possible to tell apart the case where the Physical Address
+ is f.f.f.f because no HPD (Hotplug Detect) is present, and the case
+ where it is f.f.f.f because the EDID does not provide a valid Physical
+ Address.
Return Value
============
diff --git a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-log-addrs.rst
b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-log-addrs.rst
index 8397bf573798..e37898750ab5 100644
--- a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-log-addrs.rst
+++ b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-log-addrs.rst
@@ -192,6 +192,16 @@ logical address types are already defined will return with
error ``EBUSY``.
- If this flag is set, then the CEC device failed to claim a free logical
address and is in the unconfigured state. This can never happen if
``CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK`` was set as well.
+ * .. _`CEC-LOG-ADDRS-FL-HPD-PRESENT`:
+
+ - ``CEC_LOG_ADDRS_FL_HPD_PRESENT``
+ - 16
+ - If this flag is set, then the HPD (Hotplug Detect) is present. This
+ helps tell apart the case where the Physical Address is f.f.f.f
+ because no HPD is present, and the case where it is f.f.f.f because the
+ EDID does not provide a valid Physical Address. This flag can only be
+ used if ``CEC_CAP_HAS_HPD_PRESENT`` is set in the adapter
+ capabilities.
.. tabularcolumns:: |p{7.8cm}|p{1.0cm}|p{8.5cm}|
--
2.53.0