mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
video: dw_hdmi: Add setup_hpd hook
Add support for DW HDMI Setup HPD status. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
054a0ca8c1
commit
25353b5b8b
2 changed files with 4 additions and 0 deletions
|
@ -1061,4 +1061,7 @@ void dw_hdmi_init(struct dw_hdmi *hdmi)
|
|||
|
||||
/* enable i2c client nack % arbitration error irq */
|
||||
hdmi_write(hdmi, ~0x44, HDMI_I2CM_CTLINT);
|
||||
|
||||
if (hdmi->ops && hdmi->ops->setup_hpd)
|
||||
hdmi->ops->setup_hpd(hdmi);
|
||||
}
|
||||
|
|
|
@ -539,6 +539,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);
|
||||
void (*setup_hpd)(struct dw_hdmi *hdmi);
|
||||
};
|
||||
|
||||
struct dw_hdmi {
|
||||
|
|
Loading…
Add table
Reference in a new issue