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 B8232CA5FC1 for ; Wed, 30 Sep 2026 09:02:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0323910F27B; Wed, 30 Sep 2026 09:02:12 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="OCZjJF9X"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id B07C910F28C for ; Wed, 30 Sep 2026 09:02:10 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 5689B405CC; Wed, 30 Sep 2026 09:02:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A895B1F000FF; Wed, 30 Sep 2026 09:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790758930; bh=RY63kWp+PbsjEiU5+ocjp3W6yFNFuU1hkXJ+MZQbGO0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=OCZjJF9XmEz32HdF2BbYnNA/v6uS4bjo2UMsGEkjEq0YrEMVxDmN067rY0fuvMWap V/XQZPLPTmCsPuRivuMhQOqew+NOsfH738t0lg1oFrnda4YWb4eOTAH7ykhlthvKpj fZiMFtIeoD0ImI54tlvLGRpGKnR9IUZCuQEPq2+YLNR4YkiODetzhWe1567x5M5+sB w1IJ/rzTMPaYppU/4n0L5ZHuQ6w9TLX4rMPqpmJUtOJysl5VZ5LdJGGPgqT3kiRtRB DGpL7cSqryg7WiX+u+YKOnJUjAL1+x6gIsttvWOFL2Mz+jy6pLMapAhYdrChHTqV/6 PqOAU/d4niL7g== Date: Wed, 30 Sep 2026 11:02:07 +0200 From: Thierry Reding To: Svyatoslav Ryhel Cc: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Hunter , Mikko Perttunen , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v1 6/6] drm/panel: Add Hitachi TX10D07VM0BAA and LG LH400WV3-SD04 MIPI DBI panel driver Message-ID: References: <20260930070535.47130-1-clamor95@gmail.com> <20260930070535.47130-7-clamor95@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tgtr4qv64tpbcraz" Content-Disposition: inline In-Reply-To: <20260930070535.47130-7-clamor95@gmail.com> 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" --tgtr4qv64tpbcraz Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v1 6/6] drm/panel: Add Hitachi TX10D07VM0BAA and LG LH400WV3-SD04 MIPI DBI panel driver MIME-Version: 1.0 On Wed, Sep 30, 2026 at 10:05:35AM +0300, Svyatoslav Ryhel wrote: > Add a driver for panels used in LG Optimus 2X P990. Both panels are 4" > WVGA MIPI DBI Type B linked to DRM encoder via RGB to DBI bridge. >=20 > Signed-off-by: Svyatoslav Ryhel > --- > drivers/gpu/drm/panel/Kconfig | 14 + > drivers/gpu/drm/panel/Makefile | 1 + > .../drm/panel/panel-hitachi-tx10d07vm0baa.c | 396 ++++++++++++++++++ > 3 files changed, 411 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c >=20 > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 747f47347521a..47962197a9c76 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -273,6 +273,20 @@ config DRM_PANEL_HIMAX_HX8394 > =20 > If M is selected the module will be called panel-himax-hx8394. > =20 > +config DRM_PANEL_HITACHI_TX10D07VM0BAA > + tristate "Hitachi TX10D07VM0BAA and LG LH400WV3 MIPI DBI panels" > + depends on OF > + depends on BACKLIGHT_CLASS_DEVICE > + select DRM_MIPI_DBI > + select VIDEOMODE_HELPERS > + help > + Say Y here if you want to enable support for the HITACHI > + TX10D07VM0BAA and LG LH400WV3 MIPI DBI panels found in the > + LG Optimus 2X P990 smartphone. > + > + To compile this driver as a module, choose M here: the module will > + be called panel-hitachi-tx10d07vm0baa. > + > config DRM_PANEL_HYDIS_HV101HD1 > tristate "Hydis HV101HD1 panel" > depends on OF > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makef= ile > index f2c9c80a218f0..414267a49d922 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_PANEL_HIMAX_HX83112A) +=3D panel-himax= -hx83112a.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX83112B) +=3D panel-himax-hx83112b.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX83121A) +=3D panel-himax-hx83121a.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) +=3D panel-himax-hx8394.o > +obj-$(CONFIG_DRM_PANEL_HITACHI_TX10D07VM0BAA) +=3D panel-hitachi-tx10d07= vm0baa.o > obj-$(CONFIG_DRM_PANEL_HYDIS_HV101HD1) +=3D panel-hydis-hv101hd1.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7807S) +=3D panel-ilitek-ili7807s.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7836A) +=3D panel-ilitek-ili7836a.o > diff --git a/drivers/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c b/driver= s/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c > new file mode 100644 > index 0000000000000..d2c3b63649288 > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c > @@ -0,0 +1,396 @@ > +// SPDX-License-Identifier: GPL-2.0-only > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include