drm/panel: nt36523: Add DCS backlight support
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 17 Apr 2023 14:39:04 +0000 (16:39 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 17 Apr 2023 15:27:26 +0000 (17:27 +0200)
commitaecb583cb997935fb4f4a667a8013469528a8d53
treec1ba8b70d48f46c0e764574c49a2b18dee8df7a7
parentb4b26ab24f8f9ad3aa9fbdfd211e51b051ddb91e
drm/panel: nt36523: Add DCS backlight support

This chip supports controlling the backlight via DCS commands, on at
least some panels. Add support for doing so.

Note this may only concern the NT36523*W* variant. Nobody knows, really,
there's no docs.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Jianhua Lu <lujianhua000@gmail.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230412-topic-lenovopanel-v3-2-bcf9ba4de46f@linaro.org
drivers/gpu/drm/panel/panel-novatek-nt36523.c