diff options
author | Jagan Teki <jagan@edgeble.ai> | 2024-01-17 13:21:40 +0530 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2024-04-21 09:07:00 +0200 |
commit | 5eacb920710364d4c9134886725c3879d89972b1 (patch) | |
tree | d32a617d1b974fdf11705d428671bc237cc188dd /include/dw_hdmi.h | |
parent | f889491d57ea14dfe57dd74a23a6393e3aad5e5c (diff) | |
download | u-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.h | 1 |
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 |