Skip to content

Commit

Permalink
MLK-25156: drm: dw_hdmi: reset hdmi phy power
Browse files Browse the repository at this point in the history
reset hdmi phy power.

Signed-off-by: Sandor Yu <[email protected]>
Reviewed-by: Robby Cai <[email protected]>
  • Loading branch information
sandordev committed Jan 14, 2021
1 parent 63d09a7 commit a078ede
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/drm/imx/dw_hdmi-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,11 @@ static int imx8mp_hdmi_phy_init(struct dw_hdmi *dw_hdmi, void *data,
imx8mp_hdmi_pavi_powerup();
imx8mp_hdmi_pvi_enable(mode);

/* HDMI PHY power up */
regmap_read(hdmi->regmap, 0x200, &val);
/* HDMI PHY power off */
val |= 0x8;
regmap_write(hdmi->regmap, 0x200, val);
/* HDMI PHY power on */
val &= ~0x8;
/* Enable CEC */
val |= 0x2;
Expand Down

0 comments on commit a078ede

Please sign in to comment.