diff options
author | Liu Ying <victor.liu@nxp.com> | 2021-04-23 11:26:43 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-04-30 10:39:28 +0200 |
commit | 885811372fe101c4299c53eecc9fee72cf927a0c (patch) | |
tree | bdbca051818e835d4812eca5aa6c1bbcc3ecefdb /lib/kstrtox.c | |
parent | drm/bridge: nwl-dsi: Remove a check on unchanged HS clock rate from ->mode_set() (diff) | |
download | linux-885811372fe101c4299c53eecc9fee72cf927a0c.tar.xz linux-885811372fe101c4299c53eecc9fee72cf927a0c.zip |
drm/bridge: nwl-dsi: Get MIPI DSI controller and PHY ready in ->mode_set()
Some MIPI DSI panel drivers like 'raydium,rm68200' send
MIPI_DCS_SET_DISPLAY_ON commands in panel_funcs->prepare(), which
requires the MIPI DSI controller and PHY to be ready beforehand.
Without this patch, the nwl-dsi driver gets the MIPI DSI controller
and PHY ready in bridge_funcs->atomic_pre_enable(), which happens after
the panel_funcs->prepare(). So, this patch shifts the bridge operation
ealier from bridge_funcs->atomic_pre_enable() to bridge_funcs->mode_set().
This way, more MIPI DSI panels can connect to this nwl-dsi bridge.
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Jernej Skrabec <jernej.skrabec@siol.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Guido Günther <agx@sigxcpu.org>
Cc: Robert Chiras <robert.chiras@nxp.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1619170003-4817-4-git-send-email-victor.liu@nxp.com
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions