From 6e9d09063a883bd69c84a95f6e854a7dbe7720af 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 | 382 ++++++++++++++++-- 1 file changed, 359 insertions(+), 23 deletions(-) --- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -7,15 +7,20 @@ #include #include #include +#include #include #include +#include #include #include #include +#include #include