From: Sebastian Reichel Date: Fri, 14 Jul 2023 01:37:47 +0000 (+0200) Subject: drm/panel: sitronix-st7789v: add media bus format X-Git-Tag: v6.6-rc1~136^2~16^2~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4b563b1d19dea9de366f81cae6342d80b663a45;p=thirdparty%2Flinux.git 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 Signed-off-by: Sebastian Reichel Signed-off-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/20230714013756.1546769-11-sre@kernel.org --- diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index aa11a1dc07528..d05d7a9caefc1 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -10,6 +10,7 @@ #include #include