35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From b6c2246f68640312621461268b71e7ec84f94c96 Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Wed, 10 Feb 2021 06:11:09 +0000
|
|
Subject: [PATCH 42/75] 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.25.1
|
|
|