Skip to content
Snippets Groups Projects
Commit 287d6cd0 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

Revert "drm/bridge: nwl: Drop reset quirk"

This reverts commit 87b1baf32040f405618902d31106296813c78811.

Fixes vt switching but makes the blank/unblank shift reappear.
parent f77ad30b
No related merge requests found
......@@ -39,6 +39,8 @@
/* i.MX8 NWL quirks */
/* i.MX8MQ errata E11418 */
#define E11418_HS_MODE_QUIRK BIT(0)
/* Skip DSI bits in SRC on disable to avoid blank display on enable */
#define SRC_RESET_QUIRK BIT(1)
#define NWL_DSI_MIPI_FIFO_TIMEOUT msecs_to_jiffies(500)
......@@ -1123,6 +1125,9 @@ static int imx8mq_dsi_poweroff(struct nwl_dsi *dsi)
{
int ret = 0;
if (dsi->quirks & SRC_RESET_QUIRK)
return 0;
if (dsi->rstc)
ret = reset_control_assert(dsi->rstc);
return ret;
......@@ -1150,7 +1155,7 @@ MODULE_DEVICE_TABLE(of, nwl_dsi_dt_ids);
static const struct soc_device_attribute nwl_dsi_quirks_match[] = {
{ .soc_id = "i.MX8MQ", .revision = "2.0",
.data = (void *)(E11418_HS_MODE_QUIRK) },
.data = (void *)(E11418_HS_MODE_QUIRK | SRC_RESET_QUIRK) },
{ /* sentinel. */ },
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment