From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 867E941F7EA; Wed, 30 Sep 2026 09:02:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790758931; cv=none; b=h4YVJTgqerU/yywY489GtBV+rYOEwlKUtNChlUg2E78MRXj9K4Z+1RU/cIbanZOHu+cs9HEtDfRJDyQBzCtbfhn3Am1NGtnEU0rawk+wvBIH+EfQhoo+f33fUKmpat8buqZpcsO2/pEEz9OMXdgA3tZ0jZ6hb7hJvm9DRWF2HeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790758931; c=relaxed/simple; bh=/iJ1zp0/AeFYDxMJzHH93zkwZAhemPWmLiNcX0blDUY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p15xtqQpfPDnX7ahUJTcWCu5PRPpf74tV4STP3kXo5zOp2dbleElhV+Y+jCV6uVgq/T8E6tLy6kRj3ek+zXqSnmSSg/T5k9+mtopllgai95YMAuDHS9WQ9EjYFDc3hS/BUvh44NulSbgw3l5ncpd3vAWTdfR7/CAmlQz3ZATwBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OCZjJF9X; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OCZjJF9X" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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> --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