summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorJagan Teki <jagan@edgeble.ai>2024-01-17 13:21:42 +0530
committerAnatolij Gustschin <agust@denx.de>2024-04-21 09:07:00 +0200
commit25353b5b8b2be4402ec449946235b07670217666 (patch)
treedca7a9f5393a27ffe201687434f2185db14fb1fa /drivers/video
parent054a0ca8c16a229c76de033b9d3c7375b1e0ed0f (diff)
downloadu-boot-25353b5b8b2be4402ec449946235b07670217666.tar.gz
u-boot-25353b5b8b2be4402ec449946235b07670217666.tar.bz2
u-boot-25353b5b8b2be4402ec449946235b07670217666.zip
video: dw_hdmi: Add setup_hpd hook
Add support for DW HDMI Setup HPD status. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/dw_hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c
index 989b7ab2db..ab4811cfc7 100644
--- a/drivers/video/dw_hdmi.c
+++ b/drivers/video/dw_hdmi.c
@@ -1061,4 +1061,7 @@ void dw_hdmi_init(struct dw_hdmi *hdmi)
/* enable i2c client nack % arbitration error irq */
hdmi_write(hdmi, ~0x44, HDMI_I2CM_CTLINT);
+
+ if (hdmi->ops && hdmi->ops->setup_hpd)
+ hdmi->ops->setup_hpd(hdmi);
}