From 986b2200078643aa5c83a4be95334afc1c9e6be4 Mon Sep 17 00:00:00 2001 From: iamdrq Date: Sun, 12 Sep 2021 13:22:29 +0800 Subject: [PATCH] Add panel-simple-dsi --- drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-simple-dsi.c | 742 +++++++++++++++++++++++ 2 files changed, 743 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-simple-dsi.c diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index cae4d976c..a2a5fb781 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_NL6) += panel-boe-tv101wum-nl6.o obj-$(CONFIG_DRM_PANEL_DSI_CM) += panel-dsi-cm.o obj-$(CONFIG_DRM_PANEL_LVDS) += panel-lvds.o obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o +obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple-dsi.o obj-$(CONFIG_DRM_PANEL_EDP) += panel-edp.o obj-$(CONFIG_DRM_PANEL_ELIDA_KD35T133) += panel-elida-kd35t133.o obj-$(CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02) += panel-feixin-k101-im2ba02.o diff --git a/drivers/gpu/drm/panel/panel-simple-dsi.c b/drivers/gpu/drm/panel/panel-simple-dsi.c new file mode 100644 index 000000000..0d434cea7 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-simple-dsi.c @@ -0,0 +1,742 @@ +/* + * Copyright (C) 2021 + * This simple dsi driver porting from rock-chip panel-simple.c on linux-4.4 + */ + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include