drm/panel: sitronix-st7789v: add media bus format
authorSebastian Reichel <sre@kernel.org>
Fri, 14 Jul 2023 01:37:47 +0000 (03:37 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 1 Aug 2023 08:29:56 +0000 (10:29 +0200)
commita4b563b1d19dea9de366f81cae6342d80b663a45
tree4c8e3d2d307b647a1d80c937ee8c245e8eb67f3c
parent4098d1867f27de2443c33e116b064ad3082aecb9
drm/panel: sitronix-st7789v: add media bus format

Add support for describing the media bus format in the
panel configuration and expose that to userspace. Since
both supported formats (RGB565 and RGB666) are using 6
bits per color also hardcode that information.

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-11-sre@kernel.org
drivers/gpu/drm/panel/panel-sitronix-st7789v.c