Commit 6155516c authored by Bob Ham's avatar Bob Ham

Merge branch 'imx8-4.18-devkit-dsi-no_clk_reset' into 'imx8-4.18-wip'

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

Closes #32

See merge request !25
parents 90b06ae1 f81ee89e
Pipeline #8433 passed with stage
in 46 minutes and 44 seconds
......@@ -1150,7 +1150,9 @@ static void nwl_dsi_bridge_disable(struct drm_bridge *bridge)
drm_panel_unprepare(dsi->panel);
}
/* 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);
phy_power_off(dsi->phy);
......
......@@ -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,
dev);
const struct devtype *devtype = of_id->data;
if (!dsi->enabled)
return;
DRM_DEV_DEBUG_DRIVER(dev, "id = %s\n", (dsi->instance)?"DSI1":"DSI0");
/* Otherwise the display won't turn on again
devtype->poweroff(dsi);
*/
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