]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panel: raydium-rm67200: Move initialization from enable() to prepare stage
authorAndy Yan <andy.yan@rock-chips.com>
Wed, 18 Jun 2025 09:15:20 +0000 (17:15 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 30 Jun 2025 15:39:57 +0000 (17:39 +0200)
commit691674a282bdbf8f8bce4094369a2d1e4b5645e9
treed442499b97e6be1225846ec20af0eebd897a551d
parent941461216c8d96b2c8b91233ba71483e011f78a3
drm/panel: raydium-rm67200: Move initialization from enable() to prepare stage

The DSI host has different modes in prepare() and enable() functions,
prepare() is in LP command mode and enable() is in HS video mode.

>From our experience, generally the initialization sequence needs to be
sent in the LP command mode.

Move the setup init function from enable() to prepare() to fix a display
shift on rk3568 evb.

Tested on rk3568/rk3576/rk3588 EVB.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250618091520.691590-1-andyshrk@163.com
drivers/gpu/drm/panel/panel-raydium-rm67200.c