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:
committed by
Anatolij Gustschin
parent
5eacb92071
commit
054a0ca8c1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user