From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794774024; b=mLoHY7b7S9gsA8m/IfLcz42Mpcu7HvUbJD4Y7IAKyDZ8HdUnZ/gj+BkuA+XDriTALyit PpxMGrhTT8zaxzklxSnDw92kHSiRujBQ+hS2DFM91chWQaVm8IZKbpSjxBreQRXDYHoip mxNiHdwZS931P0YuXdnpUFCEpKf/gvvdj26/7ttAvLrvctRo8pn3DqTBGhL1Wei2zl+Mn hfxymIWnkidYzaPQ8muC8DeAeFNpkavpv5d3jIQ/1UBLhZ4oEVn3jwN4lS0a/W943A2He D22zlVbB8ddaVjgKP7C2NRdvKSWggmzeiPexTJmDU3Egaxjs4HM7G7UeBzeHEY7aSIw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794774024; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=FciyfdlyV1GuCQuOWY6R0EjzDWoTRRgQD09Av1cYKoQ=; b=yrVcaeVsXxHfjx6z1mMTDR9lyJW+03A80mORn+gzm/wP01oWykGwlC/oU6l8LMrvO2qc HXJPOK+yc9Y80olA2IyYm0aSo6gBbfzwQifBbfzW+84/TaFFsf2T5fWBYI5meJpNtnA58 BZTv9CWx0BZwqI2vAhf9gE4HE3sIr+CpRDgx4v6dek0eebcYC0UMRBLfVeiB/aTzF3zJy YKBniuTfle2Gt2Pk4wV20t4MJF1Z9ohsIhsYx3wXEFqaS+9TZyEaHTA7b3mLo0wqJy2SR xJeyeZ8Yfmfw+y8hfxp77wixH52Oe6vrPuF/B+5TUq6ogyprZoYMPGvPmOlQcLRsiJg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CSCfPs0w; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1864260A6F4F; Sun, 15 Nov 2026 20:20:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CSCfPs0w Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1794774024; b=fDm8Hz0lt0+230TVsLyJZV4EQFjGqhv5nVFlOlNpsixB0SLOyk1vzrnHfZUW97ljFiTA TCLjoKDqAsBXh0S2t98K3ZK8i5fm6Jhjp7KAGUumNUaEvjqC1SOJSfA9GSGGGGxVYm0WO 8QuRGG6AC8+CPXFiNuz8P0gowBUzDSbqpfE6/EtDSE9/0quJ8wzH15uTEjTwAddhA8JKD p3M9ljN/s0Pw59VRlyqra9IHJXlqVPl4Ka7lDTlQPQDMZ/2Zy+McCVx2mxXXUSBK0yOI7 J8Vx/wViwsaZBZ7FOJuLw1xJBgJ8NguFJUVU+Y0HCRSt4SvkgA3aacAB2HCulC+QseQ== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1794774024; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=FciyfdlyV1GuCQuOWY6R0EjzDWoTRRgQD09Av1cYKoQ=; b=zGKnJBQ28AoeQcYAgC/GLefVNYdrdiPv75DEhZ+2cKr1ZoAD5MJEEornIK4mrqfBDafZ LXNWv6a02ktg9oYgPzTuLTcEpUFJb0gUvVcjp6wGCocepDlE9H30z2l+Z1vCW9eGujkBK MgSsE/lakZWhq5Wv3TCq2iqJ6MkVrtQW2mkFmZyC1s+a4kM0S3uqeEHQXjVXGiAVCaLC2 6swTNP2a7RlP3KcMx4jGkBNS2dPqv0qyy7sYhPUSUctwjoNaqlZKxWpzl0K3b4Inh9KLu VoQ+W3Y9nZVZjY0HqA0cMZVcqZx7ej0V+WvHI6BlJ7OBYeD/vNKehvFbtCLkrshFimA== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 448431F0089E; Sun, 15 Nov 2026 20:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794774023; bh=FciyfdlyV1GuCQuOWY6R0EjzDWoTRRgQD09Av1cYKoQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=CSCfPs0wApbAzoGwei1jVDJhCDrsUhhjqUhTSnOC3f6RB/WtUPjKO0R8ku3g8SMW5 ymgghb7uz7UT7YRnm/Q91yWP6mvizrH9qZI1H7ytKHdsRORjnWv/YYzGocG0G1MGk1 5bXlqCeEM2+DHo6616KLCIHNeqcRJtM48Wyk9KpLayKPs2LoquQR5LAW1jcNZFaTf9 aFNfzj6+vzsELCKZPjJ0GG456F9sbqxnnSCA3VXmQ7DiEVftzr0zZLVh80WMjZ8sb1 VbReU2qG+UBD4IfY6Tol1L0QFCcWqZlCYSeNZFuX7lED6vuTOrM1prxuapK/CLPy+A S1+uHDloIbUeQ== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id C911C4A1B3; Sun, 15 Nov 2026 20:20:21 +0000 (UTC) From: Venkat Yadlapati via B4 Relay Date: Mon, 16 Nov 2026 01:50:22 +0530 Subject: [PATCH 2/2] drm/panel: Add Ilitek ILI97680A DSC command mode panel driver X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20261116-vantage-panel-v1-2-30b95bd49216@yahoo.com> References: <20261116-vantage-panel-v1-0-30b95bd49216@yahoo.com> In-Reply-To: <20261116-vantage-panel-v1-0-30b95bd49216@yahoo.com> To: Venkat Yadlapati , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794774020; l=24550; i=venkat.yadlapati@yahoo.com; s=20261023; h=from:subject:message-id; bh=ooNLDlItE3PZijHO5fXg3hjtZ/rD6M1LJnPjEBYVuTA=; b=xCKX8MqBXYfN6kuyqFZaRmP7flO11q6i9NHWOx/Ckrhb2Bk2oQaPzxCNNrLvAzbAWdE7KYweS 4TuLCYH50huA9pxkmz8ZByHtnIbli/DB4+IfJYsKMWSxgv9s2WlFJJH X-Developer-Key: i=venkat.yadlapati@yahoo.com; a=ed25519; pk=e8KStCtEMvUP1Se/riB/KVnDAQFEVR2Dw2PcuA8/eME= X-Endpoint-Received: by B4 Relay for venkat.yadlapati@yahoo.com/20261023 with auth_id=1303 X-Original-From: Venkat Yadlapati Reply-To: venkat.yadlapati@yahoo.com Content-Transfer-Encoding: 7bit From: Venkat Yadlapati Add a driver for the 1264x2780 BOE AMOLED panel driven by an Ilitek ILI97680A, found in the Motorola Signature. The panel runs in DSI command mode on four lanes with DSC 1.2 at 10 bits per component and 8 bits per pixel, two 632x20 slices per line. The picture parameter set is not taken from the standard DSC PPS packet but written to a vendor register on command page 7. Brightness is controlled through DCS with a range of 0 to 16180. Assisted-by: LLM Signed-off-by: Venkat Yadlapati --- drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili97680a.c | 494 +++++++++++++++++++++++++ 3 files changed, 511 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 26ffa2378f55..070f152f01e2 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -353,6 +353,22 @@ config DRM_PANEL_ILITEK_ILI9488 Say Y if you want to enable support for panels based on the Ilitek ILI9488 controller. +config DRM_PANEL_ILITEK_ILI97680A + tristate "Ilitek ILI97680A-based DSC command mode panels" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER + select DRM_DISPLAY_HELPER + help + Say Y here if you want to enable support for Ilitek ILI97680A-based + DSI command mode panels with DSC, such as the 1264x2780 BOE panel in + the Motorola Signature. The panel is driven in command mode with + Display Stream Compression and its brightness is controlled over DCS. + + To compile this driver as a module, choose M here: the module + will be called panel-ilitek-ili97680a. + 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 365f2e73f6b4..3ac5685662e3 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -34,6 +34,7 @@ obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7836A) += panel-ilitek-ili7836a.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_ILI97680A) += panel-ilitek-ili97680a.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_CORE) += panel-ilitek-ili9806e-core.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI) += panel-ilitek-ili9806e-dsi.o diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili97680a.c b/drivers/gpu/drm/panel/panel-ilitek-ili97680a.c new file mode 100644 index 000000000000..e7fca51d70d5 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ilitek-ili97680a.c @@ -0,0 +1,494 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Ilitek ILI97680A based DSI command mode panel with DSC, as found in the + * Motorola Signature (BOE 1264x2780). + * + * Copyright (c) 2026 Venkat Yadlapati + */ + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include