34 lines
1 KiB
Diff
34 lines
1 KiB
Diff
From c9bf2897793c8ee7d5845e23e072acd646f40300 Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Wed, 10 Feb 2021 06:11:09 +0000
|
|
Subject: [PATCH 01/16] ODROID-COMMON: 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 37e0c33399c8..96f0d67b1702 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.34.1
|
|
|