ODROID-C5: tft: Add Hardkernel 3.2inch TFT LCD

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: If48bd4bda5b5281717accdb9d65faa9ca472758f
This commit is contained in:
2024-12-12 16:34:34 +09:00
committed by Dongjin Kim
parent 0c6659bf36
commit 2b1be17707
2 changed files with 3 additions and 1 deletions

View File

@@ -4153,7 +4153,7 @@ CONFIG_DRM_PANEL_BRIDGE=y
# CONFIG_DRM_SIMPLEDRM is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
CONFIG_TINYDRM_ILI9341=m
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set

View File

@@ -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);