aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorJagan Teki <jagan@edgeble.ai>2024-01-17 13:21:41 +0530
committerAnatolij Gustschin <agust@denx.de>2024-04-21 09:07:00 +0200
commit054a0ca8c16a229c76de033b9d3c7375b1e0ed0f (patch)
tree5b68348e8a309c2a90ee05d48e247d4a59b5ad20 /drivers/video
parent5eacb920710364d4c9134886725c3879d89972b1 (diff)
downloadu-boot-054a0ca8c16a229c76de033b9d3c7375b1e0ed0f.zip
u-boot-054a0ca8c16a229c76de033b9d3c7375b1e0ed0f.tar.gz
u-boot-054a0ca8c16a229c76de033b9d3c7375b1e0ed0f.tar.bz2
video: dw_hdmi: Add read_hpd hook
Add support for DW HDMI Read 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 3a3b9b7..989b7ab 100644
--- a/drivers/video/dw_hdmi.c
+++ b/drivers/video/dw_hdmi.c
@@ -946,6 +946,9 @@ int dw_hdmi_detect_hpd(struct dw_hdmi *hdmi)
return -ENODEV;
}
+ if (hdmi->ops && hdmi->ops->read_hpd)
+ hdmi->ops->read_hpd(hdmi, true);
+
return 0;
}