diff options
| author | Chintan Patel <chintanlike@gmail.com> | 2026-02-02 20:46:04 -0800 |
|---|---|---|
| committer | Douglas Anderson <dianders@chromium.org> | 2026-02-10 08:43:23 -0800 |
| commit | 857e2d886ad32d9a49fe99fd06bd78f4354043f4 (patch) | |
| tree | f909d8f5c813e5b7cc6fe972c39b81744197f643 /tools/perf/scripts/python | |
| parent | 4af267ce3441e10198daa52a8cc4b5cb4575d06f (diff) | |
drm/panel: jdi-lt070me05000: Use MIPI DSI multi functions
Convert to the non-deprecated mipi_dsi_*_multi() helpers per the TODO
list. This reduces boilerplate error checking while providing proper
error accumulation.
Use mipi_dsi_msleep() and mipi_dsi_usleep_range() macros for delays.
Replace mdelay(10) and mdelay(20) with mipi_dsi_usleep_range() calls
using tighter slop (10-11ms and 20-21ms respectively) since these
functions aren't run often and don't need large timing windows.
In jdi_panel_off(), reset the error context between display_off and
enter_sleep_mode to preserve the original behavior of continuing power-down
even if display_off fails. This ensures enter_sleep_mode executes before
GPIO/regulator control, which is critical for proper power sequencing.
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/20260203044605.5890-1-chintanlike@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
