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>
This commit is contained in:
Jagan Teki
2024-04-21 09:07:00 +02:00
committed by Anatolij Gustschin
parent 5eacb92071
commit 054a0ca8c1
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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;
}
+1
View File
@@ -538,6 +538,7 @@ struct dw_hdmi;
struct dw_hdmi_phy_ops {
int (*phy_set)(struct dw_hdmi *hdmi, uint mpixelclock);
void (*read_hpd)(struct dw_hdmi *hdmi, bool hdp_status);
};
struct dw_hdmi {