Commit f81ee89e authored by Guido Gunther's avatar Guido Gunther

nwl: Don't turn off clocks and phy on screen blank

This makes the display turn on again on unblank like

    echo 1 > /sys/class/graphics/fb0/blank ; sleep 1; echo 0 > /sys/class/graphics/fb0/blank

Closes: #32Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 25a8cc5f
......@@ -1150,7 +1150,9 @@ static void nwl_dsi_bridge_disable(struct drm_bridge *bridge)
/* Otherwise the display won't urn on again
nwl_dsi_disable_clocks(dsi, CLK_PHY_REF | CLK_TX_ESC);
devm_free_irq(dev, dsi->irq, dsi);
......@@ -526,16 +526,15 @@ static void imx_nwl_dsi_enable(struct imx_mipi_dsi *dsi)
static void imx_nwl_dsi_disable(struct imx_mipi_dsi *dsi)
struct device *dev = dsi->dev;
const struct of_device_id *of_id = of_match_device(imx_nwl_dsi_dt_ids,
const struct devtype *devtype = of_id->data;
if (!dsi->enabled)
DRM_DEV_DEBUG_DRIVER(dev, "id = %s\n", (dsi->instance)?"DSI1":"DSI0");
/* Otherwise the display won't turn on again
imx_nwl_dsi_set_clocks(dsi, false);
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