From: Icenowy Zheng Date: Sun, 19 Jul 2020 17:04:07 +0000 (+0800) Subject: drm/panel: ilitek-ili9881c: prepare for adding support for extra panels X-Git-Tag: v5.10.7~1332^2~33^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7d71b6e1f039873e05b2d53f88200757316f931;p=platform%2Fkernel%2Flinux-rpi.git drm/panel: ilitek-ili9881c: prepare for adding support for extra panels There're more panels with ILI9881C controller than the Bananapi one supported by this driver. Extract the mode and init sequence part, to prepare the driver for adding new panels. Signed-off-by: Icenowy Zheng Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20200719170411.275812-2-icenowy@aosc.io --- diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c index 066ef6c..02ef275 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -20,14 +21,6 @@ #include