]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panel: novatek-nt36672a: Convert to mipi_dsi_*_multi() helpers
authorChintan Patel <chintanlike@gmail.com>
Thu, 5 Mar 2026 04:49:21 +0000 (20:49 -0800)
committerDouglas Anderson <dianders@chromium.org>
Fri, 13 Mar 2026 15:42:44 +0000 (08:42 -0700)
commitbc4cb68a02f1a445aa65d8054bd69ba4ba3f5767
treefe7247b3de12a06095a9f322897df62ce93d9861
parentecbcceea4767dc11881986cb41a9962cac6f6c39
drm/panel: novatek-nt36672a: Convert to mipi_dsi_*_multi() helpers

Convert the driver to use the non-deprecated mipi_dsi_*_multi() helpers and
mipi_dsi_msleep().

Switch DCS command sequences to the multi context API and
accumulate errors via struct mipi_dsi_multi_context. Replace
open-coded error handling with the multi helpers and convert
nt36672a_send_cmds() and power sequencing accordingly.

This patch is intended to functionally be a no-op, though there is one
slight change. Previously a failure in regulator_bulk_disable() would
have caused nt36672a_panel_unprepare() to return an error. Now it
won't. No other errors in nt36672a_panel_unprepare() were propagated,
so this makes things consistent.

Signed-off-by: Chintan Patel <chintanlike@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260305044921.10942-1-chintanlike@gmail.com
drivers/gpu/drm/panel/panel-novatek-nt36672a.c