build/patch/kernel/archive/odroidxu4-5.12/0078-ODROID-N2-C4-gpu-drm-Add-Hardkernel-3.2-LCD-driver-t.patch

35 lines
1.0 KiB
Diff

From 2d7c1d62d1f32e889bc4f5aabb975f2dfae66fe9 Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Wed, 10 Feb 2021 06:11:09 +0000
Subject: [PATCH 078/109] ODROID-N2/C4: gpu/drm: Add Hardkernel 3.2" LCD driver
to ili9341 driver
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
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 6ce97f0698eb..2dc471ee3503 100644
--- a/drivers/gpu/drm/tiny/ili9341.c
+++ b/drivers/gpu/drm/tiny/ili9341.c
@@ -163,12 +163,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.25.1