]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions
authorTejas Vipin <tejasvipin76@gmail.com>
Thu, 20 Jun 2024 18:10:49 +0000 (23:40 +0530)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 24 Jun 2024 08:49:01 +0000 (10:49 +0200)
commit699f411dceb4766aabcac05cb4fbeb530e6c257b
tree5b6ac58b11de957e71c658ec4642b2561066cf97
parent47e851ec4c02e8cbee95614c3acc746ae7551dcc
drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

Use functions introduced in commit 966e397e4f60 ("drm/mipi-dsi:
Introduce mipi_dsi_*_write_seq_multi()") and commit f79d6d28d8fe
("drm/mipi-dsi: wrap more functions for streamline handling") for the
raydium-rm692e5 panel.

Additionally, the error handling in rm692e5_prepare() is changed to
properly power the panel off in the case of a wider range of
initialization commands failing than before.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Tejas Vipin <tejasvipin76@gmail.com>
Link: https://lore.kernel.org/r/20240620181051.102173-1-tejasvipin76@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240620181051.102173-1-tejasvipin76@gmail.com
drivers/gpu/drm/panel/panel-raydium-rm692e5.c