From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C1BDE8305D for ; Tue, 3 Feb 2026 08:15:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D796710E57A; Tue, 3 Feb 2026 08:15:26 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=reznichenko.net header.i=@reznichenko.net header.b="DE1YFkaJ"; dkim-atps=neutral Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04AAB10E53D for ; Tue, 3 Feb 2026 05:41:32 +0000 (UTC) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-81dab89f286so2590900b3a.2 for ; Mon, 02 Feb 2026 21:41:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reznichenko.net; s=google; t=1770097291; x=1770702091; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0F/+WwJ4GgbOYPy3UtQ/y6jWwOMUeMh//woYhmhU11g=; b=DE1YFkaJahbDkRMF86WTNALKgihMhkZZ37XyQSHMyEmhgl3fbQ1UtwM6AgR/HaDAj0 t8U033wrPnovtS7rYUPPVOP4MgREF39WNKTQHbc4VhM8lCHhNHZ2N1KRmlXyb1fInJe6 QX58Ww1bY/05pDD6GFmgXTA/C5Yd/ys+7oxBiuu0fz8H8ZoYXjiK8nPuvlE3qc+Qw9pA UZJrrsSGvoP9YoJ6DKhEy4hSvToR5X1BdxaZRuA596u3J4N23pPjRomM3EfhDnPb9oRo nhLTQd/h76Fk7MENp83i5lhgiDGXGI7tRUj74yMdp/SVqBdriuuWAmKiNYwvyiReUPU9 mKBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770097291; x=1770702091; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0F/+WwJ4GgbOYPy3UtQ/y6jWwOMUeMh//woYhmhU11g=; b=d4tpWq+06sQrhSkWL6efXgMOQ9jK4tLKhXObBQvK8WoWaXN83nwtcioLsDn42Z66oB mg27vAxa3nUZlMEVM6oHVQLltqNZgaXh9fIL4jBYVpwtWh8ZLOXymkeRA3nYHoEQVDPo JyndRg9YV201877r4lcgiGUg0UPU5cCaWu1f6fLx3UdVmSAKKdD+APUbhDhQ+WUmN7i2 sbPs65BT3COO/sXCsL4Z+gCKb/z5UzRzGcBownD5vYMlbj+uIUcHaahZDrCCHbteLFcL 9H3FiETVNsOJWLBk9uTMzyIYG+Y5vSBLSJF08aHS2p4VXOJXkFROGyM3hqDPs86jquGp Vd6w== X-Gm-Message-State: AOJu0YzgQrhNYDRIWe6D0l5olwcUqj7YoJx1AH0YkbJJVhEyzPK0WBS+ u7VJUt4IWlgZlGLfweT1ePjHRfQXWeDQNBBtvXGUQnDINzbWnw/er8L/FWB0FmtkSO4= X-Gm-Gg: AZuq6aICfGak3j8LNBBK3WR6bKcI2IdHvEH0gi755n2qMBfNcv6befbLQxxlf3tvjBz 7BWZzs7AzMDPOPI+kcMpgNHfIKtACBz/inPmYScM+BXkSPDa73TMsUGxOj3rD9Sb/lElochH2XR dy50Q0nx6NjpmRWxhoeCZCMF7JKLqU2TE6zDZhqADDOv6hP1WkXd1AI+QYjzOMPmSo9PR/Ye09t VNX6ND2LIsl0DKDZ6jTyTk0Q/XL0RKe3UdeXzcxD7ooh2f5q/cNpdmG4jxa74zJ1bgBnnA8YxuP LvbxKVAIlIK+t2e185mZUKnLTrgbC6kda4Pr3El1TfegZ7plD4RB0QZVORNxczTAecepRCCUwHF 6c08FW1z69QSMm4Eo05hCadct1QNK/YJojK9Q2o/869/tvijIM4EpwHA4G1huEjYmkzFffyg4XT /pbLhAszpDKy8qmtzWJQ== X-Received: by 2002:a05:6a20:a11d:b0:38e:90ca:5a1d with SMTP id adf61e73a8af0-392dffd9293mr13957429637.11.1770097291458; Mon, 02 Feb 2026 21:41:31 -0800 (PST) Received: from z440.. ([2601:1c0:4502:2d00:361d:bbce:3ed0:c3b6]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c6427da845csm16051669a12.12.2026.02.02.21.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 21:41:31 -0800 (PST) From: Igor Reznichenko To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Lad Prabhakar , Manivannan Sadhasivam , "Kael D'Alcamo" , Kever Yang Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] drm/panel: Add Ilitek ILI9488 controller driver Date: Mon, 2 Feb 2026 21:41:20 -0800 Message-ID: <20260203054121.335441-3-igor@reznichenko.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260203054121.335441-1-igor@reznichenko.net> References: <20260203054121.335441-1-igor@reznichenko.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 03 Feb 2026 08:15:23 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for Ilitek ILI9488 controller which is used in FocusLCDs E35GH-I-MW800-CB 320x480 MIPI DSI panel. Signed-off-by: Igor Reznichenko --- MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9488.c | 299 +++++++++++++++++++ 4 files changed, 315 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9488.c diff --git a/MAINTAINERS b/MAINTAINERS index 67db88b04537..19f7806bbb56 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7908,6 +7908,12 @@ T: git https://gitlab.freedesktop.org/drm/misc/kernel.git F: Documentation/devicetree/bindings/display/ilitek,ili9486.yaml F: drivers/gpu/drm/tiny/ili9486.c +DRM DRIVER FOR ILITEK ILI9488 PANELS +M: Igor Reznichenko +S: Maintained +F: Documentation/devicetree/bindings/display/panel/ilitek,ili9488.yaml +F: drivers/gpu/drm/panel/panel-ilitek-ili9488.c + DRM DRIVER FOR ILITEK ILI9805 PANELS M: Michael Trimarchi S: Maintained diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 7a83804fedca..2a764d3d5097 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -248,6 +248,15 @@ config DRM_PANEL_ILITEK_ILI9341 QVGA (240x320) RGB panels. support serial & parallel rgb interface. +config DRM_PANEL_ILITEK_ILI9488 + tristate "Ilitek ILI9488-based panels" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y if you want to enable support for panels based on the + Ilitek ILI9488 controller. + config DRM_PANEL_ILITEK_ILI9805 tristate "Ilitek ILI9805-based panels" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index b9562a6fdcb3..62e49a322f21 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -25,6 +25,7 @@ obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o obj-$(CONFIG_DRM_PANEL_HYDIS_HV101HD1) += panel-hydis-hv101hd1.o obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9488) += panel-ilitek-ili9488.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) += panel-ilitek-ili9806e.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9488.c b/drivers/gpu/drm/panel/panel-ilitek-ili9488.c new file mode 100644 index 000000000000..2bb5622ae506 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9488.c @@ -0,0 +1,299 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include + +#include