drm/panel: sitronix-st7789v: avoid hardcoding invert mode
authorSebastian Reichel <sre@kernel.org>
Fri, 14 Jul 2023 01:37:48 +0000 (03:37 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 1 Aug 2023 08:29:56 +0000 (10:29 +0200)
commit7a6288726cf6bc0fa1bca0f24922a06425b84bf1
tree5f8bf83328fed68f23615812bfb9853c7f89ef5c
parenta4b563b1d19dea9de366f81cae6342d80b663a45
drm/panel: sitronix-st7789v: avoid hardcoding invert mode

While the default panel uses invert mode, some panels
require non-invert mode instead.

Reviewed-by: Michael Riesch <michael.riesch@wolfvision.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230714013756.1546769-12-sre@kernel.org
drivers/gpu/drm/panel/panel-sitronix-st7789v.c