From a0678836a100071816c016d06ec05bbe1f911134 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Wed, 30 Nov 2022 07:48:42 +0100 Subject: [PATCH] linux-postmarketos-exynos5: use exynos5-mainline repo to get src (MR 3675) Patches are merged in that repo, so we then no longer have to keep them in the pmaports repo. [ci:skip-build]: already built successfully in CI --- ...u-drm-Add-Hardkernel-3.2-LCD-driver-.patch | 34 -- ...u-drm-Add-new-Tiny-DRM-driver-with-I.patch | 426 ------------------ ...mon-pwm-fan-fix-to-add-pwm1_enable-t.patch | 141 ------ ...u-drm-add-new-display-resolution-256.patch | 77 ---- ...vert-drm-dbi-Print-errors-for-mipi_d.patch | 32 -- ...N-add-symbol-to-device-tree-compiler.patch | 30 -- ...y-realtek-add-Wake-on-Lan-to-Realtek.patch | 107 ----- ...machine-description-for-ODROID-XU3-4.patch | 52 --- ...-Flush-tlb-before-swiching-domain-0-.patch | 37 -- ...ASoC-samsung-snow-add-jack-detection.patch | 164 ------- ...-ARM-dts-exynos-snow-add-mmc-aliases.patch | 31 -- ...dts-exynos-peach-pit-add-mmc-aliases.patch | 31 -- ...-dts-exynos-peach-pi-add-mmc-aliases.patch | 32 -- ...now-use-num-interpolated-steps-for-b.patch | 33 -- ...each-pit-use-num-interpolated-steps-.patch | 33 -- ...each-pi-use-num-interpolated-steps-f.patch | 34 -- ...-ARM-dts-exynos-peach-pit-enable-GPU.patch | 31 -- ...8-ARM-dts-exynos-peach-pi-enable-GPU.patch | 32 -- ...M-dts-exynos-snow-disable-HDMI-audio.patch | 43 -- ...-exynos-peach-pit-disable-HDMI-audio.patch | 29 -- ...s-exynos-peach-pi-disable-HDMI-audio.patch | 32 -- ...s-exynos-snow-add-atmel-mxt-touchpad.patch | 42 -- ...M-dts-exynos-snow-add-jack-detection.patch | 52 --- ...-exynos-peach-pit-add-jack-detection.patch | 52 --- ...s-exynos-peach-pi-add-jack-detection.patch | 53 --- ...0026-ARM-dts-exynos-snow-add-usb-hub.patch | 57 --- ...ER_ALLOW-flag-on-DRM_IOCTL_MODE_CREA.patch | 34 -- ...apping-implement-alloc_noncontiguous.patch | 93 ---- ...-arm-Fix-coherency-support-for-Mali-.patch | 37 -- ...s5p-mfc-Allow-cache-hints-for-queues.patch | 38 -- ...omains-Bring-back-old-driver-impleme.patch | 169 ------- ...samsung-document-Klimt-LTE-board-bin.patch | 35 -- ...ts-Add-support-for-Samsung-Klimt-LTE.patch | 120 ----- .../linux-postmarketos-exynos5/APKBUILD | 75 +-- 34 files changed, 5 insertions(+), 2313 deletions(-) delete mode 100644 device/testing/linux-postmarketos-exynos5/0001-ODROID-COMMON-gpu-drm-Add-Hardkernel-3.2-LCD-driver-.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0002-ODROID-COMMON-gpu-drm-Add-new-Tiny-DRM-driver-with-I.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0003-ODROID-COMMON-hwmon-pwm-fan-fix-to-add-pwm1_enable-t.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0004-ODROID-COMMON-gpu-drm-add-new-display-resolution-256.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0005-ODROID-COMMON-Revert-drm-dbi-Print-errors-for-mipi_d.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0006-ODROID-COMMON-add-symbol-to-device-tree-compiler.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0007-ODROID-COMMON-phy-realtek-add-Wake-on-Lan-to-Realtek.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0008-ARM-exynos-add-machine-description-for-ODROID-XU3-4.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0009-ARM-decompressor-Flush-tlb-before-swiching-domain-0-.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0010-ASoC-samsung-snow-add-jack-detection.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0011-ARM-dts-exynos-snow-add-mmc-aliases.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0012-ARM-dts-exynos-peach-pit-add-mmc-aliases.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0013-ARM-dts-exynos-peach-pi-add-mmc-aliases.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0014-ARM-dts-exynos-snow-use-num-interpolated-steps-for-b.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0015-ARM-dts-exynos-peach-pit-use-num-interpolated-steps-.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0016-ARM-dts-exynos-peach-pi-use-num-interpolated-steps-f.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0017-ARM-dts-exynos-peach-pit-enable-GPU.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0018-ARM-dts-exynos-peach-pi-enable-GPU.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0019-HACK-ARM-dts-exynos-snow-disable-HDMI-audio.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0020-HACK-ARM-dts-exynos-peach-pit-disable-HDMI-audio.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0021-HACK-ARM-dts-exynos-peach-pi-disable-HDMI-audio.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0022-ARM-dts-exynos-snow-add-atmel-mxt-touchpad.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0023-ARM-dts-exynos-snow-add-jack-detection.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0024-ARM-dts-exynos-peach-pit-add-jack-detection.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0025-ARM-dts-exynos-peach-pi-add-jack-detection.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0026-ARM-dts-exynos-snow-add-usb-hub.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0027-drm-set-DRM_RENDER_ALLOW-flag-on-DRM_IOCTL_MODE_CREA.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0028-ARM-dma-mapping-implement-alloc_noncontiguous.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0029-iommu-io-pgtable-arm-Fix-coherency-support-for-Mali-.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0030-media-s5p-mfc-Allow-cache-hints-for-queues.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0031-soc-samsung-pm_domains-Bring-back-old-driver-impleme.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0032-dt-bindings-arm-samsung-document-Klimt-LTE-board-bin.patch delete mode 100644 device/testing/linux-postmarketos-exynos5/0033-ARM-dts-Add-support-for-Samsung-Klimt-LTE.patch 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