From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73A0B4BEE5A for ; Mon, 19 Oct 2026 09:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792403860; cv=none; b=bAtLpAt7kx/09LKByBN/zY3uUzI+kOz14RYr+peASj3xzsWVZqj7sxPu1ta3YMnF6gi5B1vn+ZfLcRNx0B9EE151RCfb+ZOh4s/VjzpUBO+9icGpLb3oP/Na6vYXHzfD8MqpcOqiohH1umJ/7t1G0DYWJHriZjhCWnbexwbQLTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792403860; c=relaxed/simple; bh=gOvexMUpNDoLu8Fyf+jZcrGEhsQpvOrTCml/3XWBHt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=siZAqMkYKrjcqBxtdJGoU3pB0xT9C5WV0rW8V7kAjG9X+6XbPzptSVBm5ChSej270oz/nJWAmkFwqyKNBI72ITvwwyQJiRJ7DzkDzgtWSpIxrDcno+VK+fS9U97tMILsrno22jJjCIDIIa6rHOipxLOoQPCyUm/O6pzDyWDzbyM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WdajyxXM; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WdajyxXM" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4a1e34ecb02so6980905e9.2 for ; Mon, 19 Oct 2026 02:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792403857; x=1793008657; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=L+kDEcjvxo1VdT9r0bV/+sDHRVkc+YOrgN2LIdxxt1E=; b=WdajyxXMdFw4id22xNdRHR5EZ2EiyCJbZYb6AWLD5sa40R1mYCARnPVCPhY3f/e1KS iuag9nDXFkUS9+sr10UVZuf2O1bpUKHJcoLBiH6xDuIESGVPxMudUk7F7z4kUp8hsMjo HXfXtkBnzfq8pNN3TbkkYOWO+J/GxqxvEvEf49N8Pu2Atcq24ndZkmmNG6jdDYK24S0u 7P6ePqud0GNDRNvylFB93Cg8eCFIG+4qMYh7jQp7k3YPOElNYSFKyEyB8aEwDcYBYQhp qjlN6EMVi+HakNZoF4tiyXwAYMfSFHu9DtM9GnKRwAqNx3roorL3qld9fUttfnIWSzZn O63g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792403857; x=1793008657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=L+kDEcjvxo1VdT9r0bV/+sDHRVkc+YOrgN2LIdxxt1E=; b=McJAwtnsRgTyP85v2WYIbZx4i1951ssBdcUY0FtF4Rp/iW6ER53RJ11W0MUw0Hvwmb 6EStF3Xe2G1IFJbzQSM9d/H5aZqu8I1LigvAXQPnjI3WsSvs20X6nJ9s0bBGh7bnLC4N spiz7fwmWt8ruA0C9qiFkytrmSiC29p+HnV0Uk/LYc1gPfJGj+0T3ZOu1g812EImSLkE W/OPjJ+JPqAncG3jTB2spCR26MejXVP0UAz/S9+KgXdvv6Qr89M6C5lSka3DYRRB4M9B ySayNlG8s0qH1xbVLs4TACNRByTWercLPdwQl05gg8VX+o3DkKp0gOIP8Lu2HXNNN0mw wHJw== X-Forwarded-Encrypted: i=1; AKwUvBwg6XL+17Yvf2O+7jWHRRcRaHXJd6pTBsUpwMbAxxOW2jMGfCeOFfAUIhatwCrw04VetbUAOklQsd5V@vger.kernel.org X-Gm-Message-State: AFq9FYJnNE8DFPrrl4/8TSc/mFJpGvsp2MsCq4OMlrFIiJTiLZFMDbC3 1w064CkaxRk7JwQUhJoDBVVbF6t4NBdYJQ0pp2CoSbghD5aWEMjtzpAb X-Gm-Gg: AYBFou0hdd1jCOglq5Gx7jOr+vwcIG/7Oh/FyGGcLihEpp9fvCOVIFR0yiCrs9KrsL0 ntqNEAU53TW4rwKA+H92EiT1npaxALzZIr1apFK2O7CdV7J4jYM2NmLennvbIstUYwl24TqrJLa bcQof1d/bcEyJneXDwTPemKB6U+4YFWP71pls5al97QZEKgEHCY94XYw0J0KT3SfOnN7UxtsbTC 1H5nsI5Ye/j4TE65c/fdcIthA8lx2e8IJVNapH0Hfao0sYPlP35kxMNMPB4Kfk2776yiWTuUzq8 ImncBYm4twsPV6nDm2/XXKXBGhGcOx0UInzRBIXb0uCFBIFhbupDgDUE/SQv+lWpWz09PgBVIM/ qiboXYolskWnMGczjgzg8kkT79tlLKTR6afZxWo22NNuZvoP7pLjct2cnX+r+EwA76g6BLvRVi3 BlSaeUnR3IDbXB6A4bQL95eJD880abimoXjsKrgYb6KaS9iM1hAvVRZE7Yg5LnyOHZBEz6TiwcE qu4zllG1Gg19NLP1PVwgIqMxMvWcg== X-Received: by 2002:a05:600c:8b25:b0:49f:fe39:5bc8 with SMTP id 5b1f17b1804b1-4a1d75f987dmr191840115e9.12.1792403856223; Mon, 19 Oct 2026 02:57:36 -0700 (PDT) Received: from xeon ([188.163.112.62]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48dfd500e75sm21740089f8f.42.2026.10.19.02.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2026 02:57:35 -0700 (PDT) From: Svyatoslav Ryhel To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Mikko Perttunen , Svyatoslav Ryhel Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v3 6/7] drm/panel: Add Hitachi TX10D07VM0BAA MIPI DBI Type B panel driver Date: Mon, 19 Oct 2026 12:57:04 +0300 Message-ID: <20261019095705.91062-7-clamor95@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261019095705.91062-1-clamor95@gmail.com> References: <20261019095705.91062-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a driver for panel used in LG Optimus 2X P990. Panel is 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 | 297 ++++++++++++++++++ 3 files changed, 312 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 53a1fc2913fee..5f68b78526c3e 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -274,6 +274,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 MIPI DBI Type B panel" + 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 MIPI DBI Type B panel 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..c3434cb96c86c --- /dev/null +++ b/drivers/gpu/drm/panel/panel-hitachi-tx10d07vm0baa.c @@ -0,0 +1,297 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include