From bf46a7be6f5355d9ea63fec37e283058a6679d2e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 1 Feb 2022 15:27:01 +0000 Subject: [PATCH 0414/1085] 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 | 397 ++++++++++++++++-- 1 file changed, 370 insertions(+), 27 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