Commit be318d01 authored by Rohit Visavalia's avatar Rohit Visavalia Committed by Tomi Valkeinen

drm: xlnx: dp: Reset DisplayPort IP

Assert DisplayPort reset signal before deasserting,
it is to clear out any registers programmed before booting kernel.
Signed-off-by: default avatarRohit Visavalia <rohit.visavalia@amd.com>
Reviewed-by: default avatarVishal Sagar <vishal.sagar@amd.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240216124043.1226713-1-rohit.visavalia@amd.com
parent bf0390e2
......@@ -1714,6 +1714,10 @@ int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub)
goto err_free;
}
ret = zynqmp_dp_reset(dp, true);
if (ret < 0)
return ret;
ret = zynqmp_dp_reset(dp, false);
if (ret < 0)
goto err_free;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment