From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EC1134F46C for ; Sat, 31 Jan 2026 03:41:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769830869; cv=none; b=dUg6UDgViPXZWhi8dT/FUjsZDyg2gmZDp74E6gjK2rZd86xVO8az55bhfg898sPx87JFI2FBl/AZm8rGngMTepfTKAIs2ZCWpy4XHhi8xQWbGX/4ufXYTPRrQLWxMOqdvHcoNYXNpp7sg7l/zZsAFhJvaJKhcE9Ybz2dnlIO9U4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769830869; c=relaxed/simple; bh=zufNfSOMSdO9Chv/nu0rFZ76co69CahgcxDaETRNVQI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SmmMIDhZrfKdIl1Ij/1Sqb5OJYpQQSVhHrYOyXbbcou0fmidKCC2BEvs08yeJiq5i/QjreOVdeo3+wJK6w6BDAvOlbqLV5KmVMJ40HyxktO2D43RHfwgu/DjEg0u713c7pcoP3zv9gEhUlYQIdB0a0DvemIcr7AXTaT4e/QP9oI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=reznichenko.net; spf=none smtp.mailfrom=dpplabs.com; dkim=pass (2048-bit key) header.d=reznichenko.net header.i=@reznichenko.net header.b=mJvxrenH; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=reznichenko.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=dpplabs.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=reznichenko.net header.i=@reznichenko.net header.b="mJvxrenH" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-c2a9a9b43b1so1598209a12.2 for ; Fri, 30 Jan 2026 19:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reznichenko.net; s=google; t=1769830867; x=1770435667; darn=vger.kernel.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=mJvxrenHZB7YODnCdsC/1KoShIjqJakqOPybAk+e4lDIW8X47lRd7vwOObr1NjUQ2T snZnbPeypcIhU1vTcRSzrjnX0j07d2bS/8B3TFQkeMEKtf6wS043R82RPMUDfu7OvvSq qgJlEdJZ7Mn5X7gR69XIKAUEb1BzJhn6BcwkSKsnShLqIXv01kx2cL3yJNyh36HcbW+V hNOoEath+uPijuJWP0ubot7CpfUNHEPvtcPrggT/a3eD4qmrFO6Mii95oFqYUoaebZ94 gbNthn8G6+Y2QrV0UOrm1xzfq0/43mFMAa4a4YjNpbX9lTcaFguJkfb/2UKrUHrdcy/U /k5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769830867; x=1770435667; 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=SXoUTKjoXpA3IhfgWztl50SxELL0wzZv6sDSX/QJ6N+awPRu/X28u4D8R2+lgtC0At hPiUpeiuPdhv16r/ixL0Sru1P9mooADC0czLuBzYX86WLv15hgdI7GQOFx9Od4VvwPmS GPA+UcFl2J3PQ430FoPAOr/WgsJvrCNtYy4HltsE2DHcrwmMYS/sHSQzBhfpCyljzGEM xFWvDuQQrWreKQ+SJ98TzP+ALuuVTJNCLNtULtf6n8lSzBmvdHJWEDTUg50tFOuQ8LJQ ulFRhQ6euQ1vQDooZpKpDETU/c2uXooAbB/4TsyCoc0OT1OPNDnEOd+7fVt055hcn1xC +jMg== X-Forwarded-Encrypted: i=1; AJvYcCXOcTj/UHh2fv4SK/X8YbHi5r4dSWIEYjuZGiQxTaU5rELFDCzK83S8Ggfv7gpb5XAnWXCyURBjE79a@vger.kernel.org X-Gm-Message-State: AOJu0YxP+MRFM+Icxiqlx0kWNim0mj4+ZgggOpOGE6x9paZsr8c7SdRA HHBpsGMenkGft9ApSI4wi3dZF8lY5142bYd/kSJKVRdmF1CC9Of6t/5rGsWJRL+vntc= X-Gm-Gg: AZuq6aJryIVF+K3DmEy3AcDtgRYZOJQYPqkqhUjN72AIDq742uIEt0OhICgvVlLthFS Y8BCU+fEqN15bbq4IunGPCh9u4BJmqNcfeiwvtuquSZzmAxBlJWgETBNlaZ52S4ZH/v+jAlnoTV eQVRhM9r2zdBBpPtlVQbh+dBnBNUIzrNhvsij2kGir6UGJC6S2f3mTkb6KUUSUfIBgbFvNqmso3 N2HGgVQKTs7KR1Gj69wQ3SXrD4eS3f53i9Rwqi5RzKsGHtl2ZSOW6KsBLMhNWOPgJSZe4s/MwFU /GkpBTdSiHMl+/686j4iEjEIubQY4pcws5l73moMAPv551wCT/XCOSufep+Fzl8p4px/swz0AXR Fi2yv851xmPVI5PFyaVmVvmQul7WI2TWZSNfUXMN/99q14kA/bQG2rtnaRhfUVzWPS2k4Gf1W3Z i8/cTp4ZHOFnzkPLBa X-Received: by 2002:a05:6a21:3a85:b0:38d:f8e6:fc87 with SMTP id adf61e73a8af0-392e01a7c46mr5228981637.76.1769830866746; Fri, 30 Jan 2026 19:41:06 -0800 (PST) Received: from z440.. ([2601:1c0:4502:2d00:f8d:9478:bfbf:7332]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3540f3cc71bsm8986062a91.11.2026.01.30.19.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 19:41:06 -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 2/2] drm/panel: Add Ilitek ILI9488 controller driver Date: Fri, 30 Jan 2026 19:41:01 -0800 Message-ID: <20260131034101.307486-3-igor@reznichenko.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260131034101.307486-1-igor@reznichenko.net> References: <20260131034101.307486-1-igor@reznichenko.net> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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