[PATCH v2 0/2] Add support for Visionox R66451 AMOLED DSI panel

From: Jessica Zhang
Date: Wed May 31 2023 - 14:13:56 EST


Add support for the 1080x2340 Visionox R66451 AMOLED DSI panel that
comes with the Qualcomm HDK8350 display expansion pack.

The driver will come with display compression (DSC v1.2) enabled by
default.

Signed-off-by: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>
---
Changes in v2:
- Reworded panel bindings commit message for brevity (Krzysztof)
- Used corresponding *_set_column_address() and *_set_page_address() DCS
helper methods (Dmitry)
- Moved *_set_display_[on|off]() and *_[exit|enter]_sleep_mode() calls
into _enable() and _disable(), respectively (Dmitry)
- Dropped cpu_to_le16() conversion for
mipi_dsi_dcs_set_display_brightness() (Dmitry)
- Unset LPM flag after DCS commands are sent in _on() (Dmitry)
- Used real numbers for mode values (Dmitry)
- Used drm_connector_helper_get_modes_fixed() in get_modes() (Dmitry)
- Added BACKLIGHT_CLASS_DEVICE as a Kconfig dependency (Neil)
- Added error handling for mipi_dsi_picture_parameter_set() (Marijn)
- Dropped "0x" for dcs->bits_per_pixel value (Marijn)
- Link to v1: https://lore.kernel.org/r/20230516-b4-r66451-panel-driver-v1-0-4210bcbb1649@xxxxxxxxxxx

---
Jessica Zhang (2):
dt-bindings: display: panel: Add Visionox R66451 AMOLED DSI panel
drm/panel: Add driver for Visionox r66451 panel

.../bindings/display/panel/visionox,r66451.yaml | 59 ++++
drivers/gpu/drm/panel/Kconfig | 9 +
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu/drm/panel/panel-visionox-r66451.c | 390 +++++++++++++++++++++
4 files changed, 459 insertions(+)
---
base-commit: a5abc0900af0cfb1b8093200a265d2791864f26b
change-id: 20230516-b4-r66451-panel-driver-bf04b5fb3d52

Best regards,
--
Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>