From nobody Mon May 25 01:58:13 2026 Received: from out198-18.us.a.mail.aliyun.com (out198-18.us.a.mail.aliyun.com [47.90.198.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 CFCE923393F; Tue, 19 May 2026 10:50:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.198.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779187849; cv=none; b=pui9A1sT8eHRFeym/xjuUydG1u75IiT2d/N0+VIgqt5hIccYwZgjcojy0ensLINKBoz1np44cKADfZd8nMVax8ZI3y8uTkFFv7igd/OSdBbGxBKvre3b5Wz2+mReIdwx7CzOVjG9V2QdrSNEsujCz/B14tEEY069ioeN8J4zSg0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779187849; c=relaxed/simple; bh=FwZilHJvlu5BcKUF1QM9XkgeYWA0R8eDrcBtZ+1ty8U=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kRZDAOlOc1kfOuDX+LVhFU6h0I6t/fizovD3VoEBwtnMtDjTEXFFY811dZhcJFFuzi6U3dnKtulNOa+re+DOT7u42rYKTiqfNZsgF/251oZoz6c9UDQdMeIoYxg/8Zj8OJVMWbtPZrzCS+qq2RTaYJOqCDIMdjMBteeFmfLd6Q0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lontium.com; spf=pass smtp.mailfrom=lontium.com; dkim=pass (2048-bit key) header.d=lontium.com header.i=@lontium.com header.b=obJ+KhI0; arc=none smtp.client-ip=47.90.198.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lontium.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lontium.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lontium.com header.i=@lontium.com header.b="obJ+KhI0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lontium.com; s=default; t=1779187827; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=eVZn7MAONGMHowrlbF8Q4henpwp8Ya3lVGmR/icgdNU=; b=obJ+KhI04r6BXv801feKjAGuI7ak0BKPXMaym57GRyxvY0yc2k3+I3/euyysOFtbCLAlPF+DVL0p0VdwSnhgzI8+ldZSPQHefQLrnlrsO0A/NU1HkoAFquSzQ0M6LcpYHxVPPQC2oJKijIsU+VMx/EZyO5GiPeb+vkUy/XaHWucScYhz7SOsz19gzH/L/zMTOJXHubs9uTolYRYxOiVuOy9EAJySmxrHOU8sZGL6WpsqYJpOVNYtENAeL2qmjgr8itaYz7dIfj7R+MDxGPYSQf+rbcYjaNdO1apj/Psr9z5yw41FLxErjhljgEZTDloq48t5x6ll7JXvDjJF6D9Ygw== X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08633456|-1;BR=01201311R851ec;CH=green;DM=|CONTINUE|false|;DS=SPAM|spam_ad|0.867174-0.00121929-0.131607;FP=12538500737878943026|0|0|0|0|-1|-1|-1;HT=maildocker-contentspam033037006180;MF=syyang@lontium.com;NM=1;PH=DS;RN=22;RT=22;SR=0;TI=SMTPD_---.hb62lBI_1779187824; Received: from DESKTOP-V2MKAT2.localdomain(mailfrom:syyang@lontium.com fp:SMTPD_---.hb62lBI_1779187824 cluster:ay29) by smtp.aliyun-inc.com; Tue, 19 May 2026 18:50:25 +0800 From: syyang@lontium.com To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, dmitry.baryshkov@oss.qualcomm.com, maarten.lankhorst@linux.intel.com, rfoss@kernel.org, mripard@kernel.org Cc: Laurent.pinchart@ideasonboard.com, tzimmermann@suse.de, jonas@kwiboo.se, jernej.skrabec@gmail.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, xmzhu@lontium.corp-partner.google.com, xmzhu@lontium.com, rlyu@lontium.com, xbpeng@lontium.com, Sunyun Yang , Krzysztof Kozlowski Subject: [PATCH v9 1/2] dt-bindings: bridge: Add Lontium LT7911EXC eDP to MIPI DSI bridge Date: Tue, 19 May 2026 18:50:18 +0800 Message-Id: <20260519105019.22622-2-syyang@lontium.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260519105019.22622-1-syyang@lontium.com> References: <20260519105019.22622-1-syyang@lontium.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 Content-Type: text/plain; charset="utf-8" From: Sunyun Yang This commit adds the device tree binding schema for the Lontium LT7911EXC. This device is an I2C-controlled bridge that converts eDP 1.4 input to MIPI DSI output. Signed-off-by: Sunyun Yang Reviewed-by: Krzysztof Kozlowski --- .../display/bridge/lontium,lt7911exc.yaml | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/lontiu= m,lt7911exc.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt791= 1exc.yaml b/Documentation/devicetree/bindings/display/bridge/lontium,lt7911= exc.yaml new file mode 100644 index 000000000000..3290b10ce883 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt7911exc.ya= ml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/lontium,lt7911exc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lontium LT7911EXC eDP to MIPI DSI Bridge + +maintainers: + - Sunyun Yang + +properties: + compatible: + enum: + - lontium,lt7911exc + + reg: + maxItems: 1 + + reset-gpios: + maxItems: 1 + description: GPIO connected to RST_ pin. + + vdd-supply: + description: Regulator for 1.2V MIPI phy power. + + vcc-supply: + description: Regulator for 3.3V IO power. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for eDP input. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for MIPI DSI output. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - reset-gpios + - vdd-supply + - vcc-supply + - ports + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + mipi-bridge@41 { + compatible =3D "lontium,lt7911exc"; + reg =3D <0x41>; + reset-gpios =3D <&gpy8 8 GPIO_ACTIVE_LOW>; + vdd-supply =3D <<7911exc_1v2>; + vcc-supply =3D <<7911exc_3v3>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + bridge_in: endpoint { + remote-endpoint =3D <&edp_out>; + }; + }; + + port@1 { + reg =3D <1>; + bridge_out: endpoint { + remote-endpoint =3D <&panel_in>; + }; + }; + }; + }; + }; --=20 2.34.1 From nobody Mon May 25 01:58:13 2026 Received: from out28-53.mail.aliyun.com (out28-53.mail.aliyun.com [115.124.28.53]) (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 857CB40756E; Tue, 19 May 2026 10:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.28.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779187840; cv=none; b=FZfLGPkYkQo6S9G3RKxu/9sUNsywMo3VNfiZxqYIy/lK/1Tg+z1jB1nFKRJtNsB+OlByCzqMfp9m66yWBYDHmuWkkMyOzwHbMs/mdsEhhq3FNykfFqMVkXvLfAOIknt5D40cmQjiIcRo8WiCfWidJHcAs0lKGfGojLj+/N7Zz/I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779187840; c=relaxed/simple; bh=7bSgngUy6P5wPIXNseG/RcyZlAvAU94Gpq/0kHqjxls=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ba7M2KEYfrP5G38QjbQP2Ffe+fzsGDw2WGuu1U386TpHuWFLgCFsOQm4NDj5m3lmCk6Y/LrhZD11qw736eTIqum6Un/nEQbO0LUI/bpZ/4hf473usjrAR0OUjyeY3r0e63Bby9x6c1Ljv620ahEmdK0URsW+0znLj6S+mQsB+64= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lontium.com; spf=pass smtp.mailfrom=lontium.com; dkim=pass (2048-bit key) header.d=lontium.com header.i=@lontium.com header.b=uPBrxou6; arc=none smtp.client-ip=115.124.28.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lontium.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lontium.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lontium.com header.i=@lontium.com header.b="uPBrxou6" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lontium.com; s=default; t=1779187828; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=iN4PKsza+Xa9DpiCWMM/RMWKTImur1ze1Ufb0D4krNQ=; b=uPBrxou6T5pPJai2JjiH7c1oUq2fw2mb1kLnWae1XrEzdMcBdxCHyD/uoogqV7s/S4eQ9onA49tbfEq5SXVYIBWs2tatFvMHvaLPW+ibeth5Mj4r7iS8JzoDNkawrgVXU5AqixXa1AM+tAKbUcTNTRDqlRc/u6dTR1ukNoDa0nEgEXGLOf+SNW7AhoiFCL3hp/td1zrTsO8HloPoDuSO4SlXP0AJ6DdUs5rtWKz3G8AUH7u1stsAkXws949strJRpVa3ObmlKXklPaST0/bNIcI+7R+VYqNuypso53GCcnADqjNITPz3o2zwSzEQWnwFJABGLnzSXvUZyCx4p9Q8cA== X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07436259|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.00515167-0.000353307-0.994495;FP=18328311670539642618|0|0|0|0|-1|-1|-1;HT=maildocker-contentspam033023018039;MF=syyang@lontium.com;NM=1;PH=DS;RN=21;RT=21;SR=0;TI=SMTPD_---.hb62lCy_1779187825; Received: from DESKTOP-V2MKAT2.localdomain(mailfrom:syyang@lontium.com fp:SMTPD_---.hb62lCy_1779187825 cluster:ay29) by smtp.aliyun-inc.com; Tue, 19 May 2026 18:50:26 +0800 From: syyang@lontium.com To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, dmitry.baryshkov@oss.qualcomm.com, maarten.lankhorst@linux.intel.com, rfoss@kernel.org, mripard@kernel.org Cc: Laurent.pinchart@ideasonboard.com, tzimmermann@suse.de, jonas@kwiboo.se, jernej.skrabec@gmail.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, xmzhu@lontium.corp-partner.google.com, xmzhu@lontium.com, rlyu@lontium.com, xbpeng@lontium.com, Sunyun Yang Subject: [PATCH v9 2/2] drm/bridge: Add Lontium LT7911EXC eDP to MIPI DSI bridge Date: Tue, 19 May 2026 18:50:19 +0800 Message-Id: <20260519105019.22622-3-syyang@lontium.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260519105019.22622-1-syyang@lontium.com> References: <20260519105019.22622-1-syyang@lontium.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 Content-Type: text/plain; charset="utf-8" From: Sunyun Yang Add support for the Lontium LT7911EXC bridge chip, which converts eDP input to MIPI DSI output using an internal firmware-controlled pipeline. The driver provides: - DRM bridge integration for eDP-to-DSI routing - MIPI DSI host interface for downstream panel attachment - Firmware upgrade mechanism over I2C (erase/program/verify) - GPIO-based reset and regulator management Display timing and DSI packet generation are handled by the chip firmware and are not configured by the driver. Signed-off-by: Sunyun Yang Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/Kconfig | 16 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/lontium-lt7911exc.c | 657 +++++++++++++++++++++ 3 files changed, 674 insertions(+) create mode 100644 drivers/gpu/drm/bridge/lontium-lt7911exc.c diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index c3209b0f4678..013e431e8871 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -132,6 +132,22 @@ config DRM_ITE_IT6505 help ITE IT6505 DisplayPort bridge chip driver. =20 +config DRM_LONTIUM_LT7911EXC + tristate "Lontium eDP/MIPI DSI bridge" + depends on OF + depends on I2C + select CRC32 + select DRM_PANEL + select DRM_MIPI_DSI + select DRM_KMS_HELPER + select FW_LOADER + select REGMAP_I2C + help + DRM driver for the Lontium LT7911EXC bridge + chip.The LT7911EXC converts eDP input to MIPI + DSI output. + Please say Y if you have such hardware. + config DRM_LONTIUM_LT8912B tristate "Lontium LT8912B DSI/HDMI bridge" depends on OF diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makef= ile index beab5b695a6e..70ddca75dd3a 100644 --- a/drivers/gpu/drm/bridge/Makefile +++ b/drivers/gpu/drm/bridge/Makefile @@ -13,6 +13,7 @@ obj-$(CONFIG_DRM_I2C_NXP_TDA998X) +=3D tda998x.o obj-$(CONFIG_DRM_INNO_HDMI) +=3D inno-hdmi.o obj-$(CONFIG_DRM_ITE_IT6263) +=3D ite-it6263.o obj-$(CONFIG_DRM_ITE_IT6505) +=3D ite-it6505.o +obj-$(CONFIG_DRM_LONTIUM_LT7911EXC) +=3D lontium-lt7911exc.o obj-$(CONFIG_DRM_LONTIUM_LT8912B) +=3D lontium-lt8912b.o obj-$(CONFIG_DRM_LONTIUM_LT9211) +=3D lontium-lt9211.o obj-$(CONFIG_DRM_LONTIUM_LT9611) +=3D lontium-lt9611.o diff --git a/drivers/gpu/drm/bridge/lontium-lt7911exc.c b/drivers/gpu/drm/b= ridge/lontium-lt7911exc.c new file mode 100644 index 000000000000..e94188e7987a --- /dev/null +++ b/drivers/gpu/drm/bridge/lontium-lt7911exc.c @@ -0,0 +1,657 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2026 Lontium Semiconductor, Inc. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include