From 7c78a28fe476d116e9410730577e2d01e064daaf Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 1 Feb 2022 15:27:01 +0000 Subject: [PATCH 597/726] 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(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c index 225b9884f61a..3aed984d596f 100644 --- 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