summaryrefslogtreecommitdiff
path: root/include/dw_hdmi.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@edgeble.ai>2024-01-17 13:21:40 +0530
committerAnatolij Gustschin <agust@denx.de>2024-04-21 09:07:00 +0200
commit5eacb920710364d4c9134886725c3879d89972b1 (patch)
treed32a617d1b974fdf11705d428671bc237cc188dd /include/dw_hdmi.h
parentf889491d57ea14dfe57dd74a23a6393e3aad5e5c (diff)
downloadu-boot-5eacb920710364d4c9134886725c3879d89972b1.tar.gz
u-boot-5eacb920710364d4c9134886725c3879d89972b1.tar.bz2
u-boot-5eacb920710364d4c9134886725c3879d89972b1.zip
video: dw_hdmi: Extend the HPD detection
HPD detection on some DW HDMI designed SoC's would need to read and setup the HPD status explicitly. So, extend the HPD detection code by adding the dw_hdmi_detect_hpd function and move the default detection code caller there. The new read and setup hdp will integrate the same function in later patches. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'include/dw_hdmi.h')
-rw-r--r--include/dw_hdmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dw_hdmi.h b/include/dw_hdmi.h
index 17bdd2dbf9..ba2ce5ea7f 100644
--- a/include/dw_hdmi.h
+++ b/include/dw_hdmi.h
@@ -562,5 +562,6 @@ void dw_hdmi_phy_init(struct dw_hdmi *hdmi);
int dw_hdmi_enable(struct dw_hdmi *hdmi, const struct display_timing *edid);
int dw_hdmi_read_edid(struct dw_hdmi *hdmi, u8 *buf, int buf_size);
void dw_hdmi_init(struct dw_hdmi *hdmi);
+int dw_hdmi_detect_hpd(struct dw_hdmi *hdmi);
#endif