From nobody Sun Feb 8 11:25:54 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1AFD27FD5B for ; Tue, 21 Oct 2025 07:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761032074; cv=none; b=Ek8d0SYDmXdyywpl/wFpxW1KUJ76JHBnnEEp11Dzr/xbauyROlM0efVl9PZ/1iJ8afG/S8UvPk+zsy/BKoH3ItwRBMv8YeMB0t0RZOsw9oU0C/D6mX/8JaFvcfADh6Mt1/+RhVqwKdSwHGXJZiHF2zHcwHLaxsSB39S44xxBios= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761032074; c=relaxed/simple; bh=LM4Hs4vlibx2m4PZlvUgsHtt/4N1l9HgqRZQEpZba7U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LRbCfvv7qcNMgdQ4EFMwtQDcmbxPUpg6rdT3ev+NDJhaQK+Ft10ipTNIKI4FuvcoTbthDqorUESiGmYJQw5yUwLZkId6xcMCpsp34YKtdRVObeSQ0hUMUAVkzOj+0UhuK2pbpxzI2f/pUyF1GF1jYdd2pbT2P7NE8a9WQ54tnBw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=szKPQfOV; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="szKPQfOV" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id D7AE51A158B; Tue, 21 Oct 2025 07:34:29 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AAA00606DC; Tue, 21 Oct 2025 07:34:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C2AF5102F23E1; Tue, 21 Oct 2025 09:34:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761032068; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=SK5U992WcNiHhzxd6gYrUFb9wH/LgMgdeebB8EqGaB8=; b=szKPQfOVCfCay7Q/JMT/iu4hqIFBDUTVPlI4caPMUUmRE9XDUluENSysZPN2hpcgaTdZTo ZVv7W250LD3BZATANzQJJDb7VWsZg//uKug65D1wW2+TOp1iQVGQB1bPUq7FKrLC11rcbA B4HzQTx3BectcgV/SB8YwOwwN3sS1SDW7kcAarhNdKpdQ49+0PfJZJphnRr+Er+2fPV6oI j7PZ5Dtu/D5Yvof58EWZ1a766HgYugAAZ5gtsqyei0z5TiCQqFY5HE5q7FFnLEO5wzi0MV wTGClqLCTHRt0+H/zQkqO16DHyxkoa2ZRbprVd9pOZ16KlvomdExnQl65RV1hA== From: Herve Codina To: Herve Codina , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni Subject: [PATCH 1/3] dt-bindings: display: panel: Add the Leadtek LTK08QV25BYL panel Date: Tue, 21 Oct 2025 09:34:03 +0200 Message-ID: <20251021073408.195959-2-herve.codina@bootlin.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251021073408.195959-1-herve.codina@bootlin.com> References: <20251021073408.195959-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" The Leadtek LTK08QV25BYL is a 2.8" 240x320 DSI display. Signed-off-by: Herve Codina Reviewed-by: Conor Dooley --- .../display/panel/leadtek,ltk028qv25byl.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/leadtek= ,ltk028qv25byl.yaml diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk028= qv25byl.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk0= 28qv25byl.yaml new file mode 100644 index 000000000000..c10365984057 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk028qv25byl= .yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/leadtek,ltk028qv25byl.yam= l# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Leadtek LTK028QV25BYL 2.8in 240x320 DSI panel + +maintainers: + - Herve Codina + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: leadtek,ltk028qv25byl + + reg: + maxItems: 1 + + backlight: true + port: true + reset-gpios: true + + iovcc-supply: + description: regulator that supplies the IOVCC voltage + + vci-supply: + description: regulator that supplies the VCI voltage + +required: + - compatible + - reg + - backlight + - iovcc-supply + - vci-supply + +additionalProperties: false + +examples: + - | + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + panel@0 { + compatible =3D "leadtek,ltk028qv25byl"; + reg =3D <0>; + backlight =3D <&backlight>; + iovcc-supply =3D <&vcc_1v8>; + vci-supply =3D <&vcc3v3_lcd>; + }; + }; + +... --=20 2.51.0 From nobody Sun Feb 8 11:25:54 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D86324678F for ; Tue, 21 Oct 2025 07:34:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761032075; cv=none; b=fWrmkOB+q9Lvl/m5Z5M/WoxfAPRJhA8u7IHsSqzyspBHvjM61kjZ/xxYCtdPKjTc7YUmF1lk5Cyh1/8wGZqBD7Y13ID6L1D7RqF8kO0J71RIbSYS7gK0OBWWIgp8xh9NSjElU1MxJJjftY1chotZX56MbXuWejsyialEEBLNb/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761032075; c=relaxed/simple; bh=VWcsQQmtMMPprJYFhwx9LBpXMjquD6WWswAcguEEYnU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HtQGL9+WFQBque4Ih13xXjOgucey3Br/arpKUg+HQlMK6R1meWqKLGnvdUYQgScyaa5w4k/LR7o67v52KbWuIo3oSkPy8Xj70cDXxNivd9vz5arvnbi3DC8vuAOcFKtcM0hiqpykF4mjvhqm1EEriM3vyhMWFitBZf6L9Kcr9I4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=VfPFD/Ip; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="VfPFD/Ip" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id C51BE4E4123A; Tue, 21 Oct 2025 07:34:31 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9B85F606DC; Tue, 21 Oct 2025 07:34:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7D373102F23F0; Tue, 21 Oct 2025 09:34:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761032070; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=z+kgTQOFPEDg9FXXA69hvmT2E05f/I1KjA7iDvn7ytE=; b=VfPFD/IpvEJY0YfN21snvcb4YRxewqOfLQv4SmHueocAbm8wnJJLbezfOBMTXKrCbO381G CZg8ZUfD8NpBy83kXXsv//DgvSTrOpG7J4HgjKL3HccybaZ/sgRZ3KJ9GN5zAaThCmhvbo Nisx4ZKJsAQ3c+u4pcD914p3gSVO3mN2TgX1YVS7UkkZfoUE+UvBG47nZ9ssW9LfFl7cVB O+waUV4FN6MdsAqI0SwuA8fC01fppVJYZGFXeJuyDG8jppEkAQeCVbg9R4/2rpUJuOlbxu /chP/9ACj5RJqWTRtLV2KUYK9MNShUf9msnVHUMYSCpJNuVlCdinveehlPFnyg== From: Herve Codina To: Herve Codina , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni Subject: [PATCH 2/3] drm/panel: Add support for the Leadtek LTK08QV25BYL panel Date: Tue, 21 Oct 2025 09:34:04 +0200 Message-ID: <20251021073408.195959-3-herve.codina@bootlin.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251021073408.195959-1-herve.codina@bootlin.com> References: <20251021073408.195959-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" The Leadtek LTK08QV25BYL is a 2.8" 240x320 DSI display. Signed-off-by: Herve Codina --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + .../drm/panel/panel-leadtek-ltk028qv25byl.c | 304 ++++++++++++++++++ 3 files changed, 317 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-leadtek-ltk028qv25byl.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 407c5f6a268b..faa417195b6e 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -367,6 +367,18 @@ config DRM_PANEL_KINGDISPLAY_KD097D04 24 bit RGB per pixel. It provides a MIPI DSI interface to the host and has a built-in LED backlight. =20 +config DRM_PANEL_LEADTEK_LTK028QV25BYL + tristate "Leadtek LTK028QV25BYL panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for Leadtek LTK028QV25BYL + TFT-LCD modules. The panel has a 240x320 resolution and uses + 18 bit RGB per pixel. It provides a MIPI DSI interface to + the host and has a built-in LED backlight. + + config DRM_PANEL_LEADTEK_LTK050H3146W tristate "Leadtek LTK050H3146W panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 3615a761b44f..12073c34e0f5 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -37,6 +37,7 @@ obj-$(CONFIG_DRM_PANEL_JDI_LPM102A188A) +=3D panel-jdi-lp= m102a188a.o obj-$(CONFIG_DRM_PANEL_JDI_R63452) +=3D panel-jdi-fhd-r63452.o obj-$(CONFIG_DRM_PANEL_KHADAS_TS050) +=3D panel-khadas-ts050.o obj-$(CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04) +=3D panel-kingdisplay-kd097d= 04.o +obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK028QV25BYL) +=3D panel-leadtek-ltk028qv2= 5byl.o obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W) +=3D panel-leadtek-ltk050h314= 6w.o obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829) +=3D panel-leadtek-ltk500hd18= 29.o obj-$(CONFIG_DRM_PANEL_LINCOLNTECH_LCD197) +=3D panel-lincolntech-lcd197.o diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk028qv25byl.c b/drivers/= gpu/drm/panel/panel-leadtek-ltk028qv25byl.c new file mode 100644 index 000000000000..2e3482b2b95c --- /dev/null +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk028qv25byl.c @@ -0,0 +1,304 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Leadtek LTK08QV25BYL 2.8" MIPI-DSI panel driver + * Copyright (c) 2025, Bootlin + * + * base on panel-leadtek-ltk050h346w.c + * Copyright (C) 2020 Theobroma Systems Design und Consulting GmbH + */ + +#include +#include +#include +#include +#include + +#include