This adds optional backlight support via DSI commands. If a max_brightness is set in the panel description the backlight is created.
While at that we fold in the already sent out clock fix and a fix that prevents us from clearing all mode flags when we only want HS mode. Signed-off-by: Guido Günther <a...@sigxcpu.org> --- Changes in v3: - Use clock formula in `visionox_rm69299_1080x2160_60hz` rather than the calculated value, thanks Dmitry Baryshkov - Link to v2: https://lore.kernel.org/r/20250906-shift6mq-panel-v2-0-aa5e585d8...@sigxcpu.org Changes in v2: - Add Fixes: to the first two commits to make backports simpler - Collect Reviewed-by:, thanks Neil Armstrong - Link to v1: https://lore.kernel.org/r/20250901-shift6mq-panel-v1-0-444b4abbf...@sigxcpu.org --- Guido Günther (3): drm/panel: visionox-rm69299: Fix clock frequency for SHIFT6mq drm/panel: visionox-rm69299: Don't clear all mode flags drm/panel: visionox-rm69299: Add backlight support drivers/gpu/drm/panel/panel-visionox-rm69299.c | 71 +++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 2 deletions(-) --- base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0 change-id: 20250901-shift6mq-panel-959b3087ecd2 Best regards, -- Guido Günther <a...@sigxcpu.org>