From fd0310b6fe7db694e553a5407594d1361e68ce1e Mon Sep 17 00:00:00 2001 From: Xin Ji Date: Thu, 4 Nov 2021 11:36:39 +0800 Subject: drm/bridge: anx7625: add MIPI DPI input feature The basic anx7625 driver only support MIPI DSI rx signal input. This patch add MIPI DPI rx input configuration support, after apply this patch, the driver can support DSI rx or DPI rx by adding 'bus-type' in DT. Reviewed-by: Robert Foss Signed-off-by: Xin Ji Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20211104033639.2634502-1-xji@analogixsemi.com --- drivers/gpu/drm/bridge/analogix/anx7625.c | 247 +++++++++++++++++++++++------- drivers/gpu/drm/bridge/analogix/anx7625.h | 18 ++- 2 files changed, 205 insertions(+), 60 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index f48e91134c20..f7c3386c8929 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -32,6 +32,7 @@ #include #include +#include #include