summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2026-04-07 14:24:19 +0200
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2026-04-14 13:52:31 +0200
commitec9dfa70c2915c2dd3676d674287ee56e52a7ef5 (patch)
treeecf28c18517c3909ca354b1e2b2ef86d139c91d8 /include/drm
parenta6bdf27448b49af6a9daa1d081e2f019fb002a4a (diff)
downloadlinux-ec9dfa70c2915c2dd3676d674287ee56e52a7ef5.tar.gz
linux-ec9dfa70c2915c2dd3676d674287ee56e52a7ef5.zip
drm/bridge: dw-hdmi: document the output_port field
The meaning of this flag may not be obvious at first sight. Reviewed-by: Liu Ying <victor.liu@nxp.com> Tested-by: Martyn Welch <martyn.welch@collabora.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # TQMa8MPxL/MBa8MPxL Tested-by: Damon Ding <damon.ding@rock-chips.com> # rk3399 Link: https://patch.msgid.link/20260407-drm-lcdif-dbanc-v4-5-247a16e61ef9@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/dw_hdmi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
index 336f062e1f9d..8500dd4f99d8 100644
--- a/include/drm/bridge/dw_hdmi.h
+++ b/include/drm/bridge/dw_hdmi.h
@@ -126,6 +126,12 @@ struct dw_hdmi_phy_ops {
struct dw_hdmi_plat_data {
struct regmap *regm;
+ /*
+ * The HDMI output port number must be 1 if the port is described
+ * in the device tree. 0 if the device tree does not describe the
+ * next component (legacy mode, i.e. without
+ * DRM_BRIDGE_ATTACH_NO_CONNECTOR flag when attaching bridge).
+ */
unsigned int output_port;
unsigned long input_bus_encoding;