diff --git a/device/testing/linux-postmarketos-exynos5/0001-ODROID-COMMON-gpu-drm-Add-Hardkernel-3.2-LCD-driver-.patch b/device/testing/linux-postmarketos-exynos5/0001-ODROID-COMMON-gpu-drm-Add-Hardkernel-3.2-LCD-driver-.patch deleted file mode 100644 index 52f75f4dc..000000000 --- a/device/testing/linux-postmarketos-exynos5/0001-ODROID-COMMON-gpu-drm-Add-Hardkernel-3.2-LCD-driver-.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 3ac942aa2d00ee837d2630794654e78e52d8b491 Mon Sep 17 00:00:00 2001 -From: Dongjin Kim -Date: Wed, 10 Feb 2021 06:11:09 +0000 -Subject: [PATCH 01/33] ODROID-COMMON: gpu/drm: Add Hardkernel 3.2" LCD driver - to ili9341 driver - -Signed-off-by: Dongjin Kim -Change-Id: I890f0369126eda88ef16723efec828cd85d25b53 ---- - drivers/gpu/drm/tiny/ili9341.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/gpu/drm/tiny/ili9341.c b/drivers/gpu/drm/tiny/ili9341.c -index 5b8cc770ee7b..97f342c53f31 100644 ---- a/drivers/gpu/drm/tiny/ili9341.c -+++ b/drivers/gpu/drm/tiny/ili9341.c -@@ -162,12 +162,14 @@ static const struct drm_driver ili9341_driver = { - - static const struct of_device_id ili9341_of_match[] = { - { .compatible = "adafruit,yx240qv29" }, -+ { .compatible = "hardkernel,hktft32" }, - { } - }; - MODULE_DEVICE_TABLE(of, ili9341_of_match); - - static const struct spi_device_id ili9341_id[] = { - { "yx240qv29", 0 }, -+ { "hktft32", 0 }, - { } - }; - MODULE_DEVICE_TABLE(spi, ili9341_id); --- -2.38.0 - diff --git a/device/testing/linux-postmarketos-exynos5/0002-ODROID-COMMON-gpu-drm-Add-new-Tiny-DRM-driver-with-I.patch b/device/testing/linux-postmarketos-exynos5/0002-ODROID-COMMON-gpu-drm-Add-new-Tiny-DRM-driver-with-I.patch deleted file mode 100644 index 8e3c751fc..000000000 --- a/device/testing/linux-postmarketos-exynos5/0002-ODROID-COMMON-gpu-drm-Add-new-Tiny-DRM-driver-with-I.patch +++ /dev/null @@ -1,426 +0,0 @@ -From b0cff15a7f5d1e6fac51089e3613f9f20027a7a6 Mon Sep 17 00:00:00 2001 -From: Dongjin Kim -Date: Tue, 9 Feb 2021 13:27:41 +0900 -Subject: [PATCH 02/33] ODROID-COMMON: gpu/drm: Add new Tiny DRM driver with - Ili9488 - -Signed-off-by: Dongjin Kim -Change-Id: I6e4f783ab642cc735ef445d010afb1cd930757c6 ---- - drivers/gpu/drm/tiny/Kconfig | 13 + - drivers/gpu/drm/tiny/Makefile | 1 + - drivers/gpu/drm/tiny/ili9488_pio.c | 366 +++++++++++++++++++++++++++++ - 3 files changed, 380 insertions(+) - create mode 100644 drivers/gpu/drm/tiny/ili9488_pio.c - -diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig -index 627d637a1e7e..3a0f50a094e3 100644 ---- a/drivers/gpu/drm/tiny/Kconfig -+++ b/drivers/gpu/drm/tiny/Kconfig -@@ -147,6 +147,19 @@ config TINYDRM_ILI9486 - - If M is selected the module will be called ili9486. - -+config TINYDRM_ILI9488_PIO -+ tristate "DRM support for ILI9488 display panels (8bit PIO)" -+ depends on DRM -+ select DRM_KMS_HELPER -+ select DRM_KMS_CMA_HELPER -+ select DRM_MIPI_DBI -+ select BACKLIGHT_CLASS_DEVICE -+ help -+ DRM driver for th following Ilitek ILI9488 panels: -+ * Hardkernel 3.5" 480x320 TFT (HKTFT 3.5") -+ -+ If M is selected the module will be called hktft35. -+ - config TINYDRM_MI0283QT - tristate "DRM support for MI0283QT" - depends on DRM && SPI -diff --git a/drivers/gpu/drm/tiny/Makefile b/drivers/gpu/drm/tiny/Makefile -index 1d9d6227e7ab..2d617bb921c7 100644 ---- a/drivers/gpu/drm/tiny/Makefile -+++ b/drivers/gpu/drm/tiny/Makefile -@@ -11,6 +11,7 @@ obj-$(CONFIG_TINYDRM_ILI9163) += ili9163.o - obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o - obj-$(CONFIG_TINYDRM_ILI9341) += ili9341.o - obj-$(CONFIG_TINYDRM_ILI9486) += ili9486.o -+obj-$(CONFIG_TINYDRM_ILI9488_PIO) += ili9488_pio.o - obj-$(CONFIG_TINYDRM_MI0283QT) += mi0283qt.o - obj-$(CONFIG_TINYDRM_REPAPER) += repaper.o - obj-$(CONFIG_TINYDRM_ST7586) += st7586.o -diff --git a/drivers/gpu/drm/tiny/ili9488_pio.c b/drivers/gpu/drm/tiny/ili9488_pio.c -new file mode 100644 -index 000000000000..f3a0b1fb885a ---- /dev/null -+++ b/drivers/gpu/drm/tiny/ili9488_pio.c -@@ -0,0 +1,366 @@ -+// SPDX-License-Identifier: GPL-2.0-or-later -+/* -+ * DRM driver for Hardkernel 3.5 ISP TFT display -+ * -+ * Copyright 2021 Dongjin Kim -+ * -+ */ -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include