Skip to content
Snippets Groups Projects
Commit 426f0642 authored by Robert Chiras's avatar Robert Chiras
Browse files

MLK-20718-5: drm/imx: nwl_dsi-imx: Correct clk usage


For QM and QXP, the PHY_REF clock was default ON on SCFW so it was not
handled by driver. Since now this clock is OFF in SCFW, it can be
correctly handled by kernel driver.
Now, the PHY_REF clock rate is set by the nwl-dsi bridge driver,
depending on the display mode used.
In this driver, the PIXEL and BYPASS clocks rates were set to the same
rate as the PHY_REF, but their rates need to be set to current display
mode clock.
Also, the order of the clocks matters, so make sure the BYPASS is
enabled before the PIXEL clock.

Signed-off-by: default avatarRobert Chiras <robert.chiras@nxp.com>
Reviewed-by: default avatarLaurentiu Palcu <laurentiu.palcu@nxp.com>
parent e3f863c3
No related branches found
No related tags found
No related merge requests found
Loading
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