From 93161453a964831d9d904ec4d796e9b784fa8cd3 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 1 Feb 2022 15:27:01 +0000 Subject: [PATCH] drm/panel/panel-sitronix-st7701: Support SPI config and RGB data The ST7701 supports numerous different interface mechanisms for MIPI DSI, RGB, or SPI. The driver was only implementing DSI input, so add RGB parallel input with SPI configuration. Signed-off-by: Dave Stevenson --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 374 ++++++++++++++++-- 1 file changed, 351 insertions(+), 23 deletions(-) --- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -7,16 +7,21 @@ #include #include #include +#include #include #include #include +#include #include #include #include +#include #include