[PATCH 0/2] drm/panel: novatek-nt35560: Fix bug and clean up

Brigham Campbell
2025-07-24T20:23:43Z

This series does the following:
- Add mipi_dsi_dcs_read_multi() to drm_mipi_dsi.c for improved error
handling in drivers which use mipi_dsi_dcs_read() such as the
novatek-nt35560 driver.
- Fix a bug in nt35560_set_brightness() which causes the driver to
incorrectly report that it "failed to disable display backlight".
- Clean up novatek-nt35560 driver to use "multi" variants of MIPI
functions which promote cleaner code.

If there's a reason that mipi_dsi_dcs_read_multi doesn't exist, I'm
happy to drop it.

Brigham Campbell (2):
drm: Create mipi_dsi_dcs_read_multi()
drm/panel: novatek-nt35560: Fix bug and clean up

drivers/gpu/drm/drm_mipi_dsi.c | 37 +++
drivers/gpu/drm/panel/panel-novatek-nt35560.c | 212 ++++++------------
include/drm/drm_mipi_dsi.h | 2 +
3 files changed, 105 insertions(+), 146 deletions(-)

base-commit: 1511d3c4d2bb30f784924a877f3cef518bb73077
--
2.50.1