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. > > 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 > > 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 > > If M is selected the module will be called panel-himax-hx8394. > > +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/Makefile > 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) += panel-himax-hx83112a.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX83112B) += panel-himax-hx83112b.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX83121A) += panel-himax-hx83121a.o > obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o > +obj-$(CONFIG_DRM_PANEL_HITACHI_TX10D07VM0BAA) += panel-hitachi-tx10d07vm0baa.o > obj-$(CONFIG_DRM_PANEL_HYDIS_HV101HD1) += panel-hydis-hv101hd1.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7807S) += panel-ilitek-ili7807s.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7836A) += panel-ilitek-ili7836a.o > diff --git a/drivers/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c b/drivers/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