Devicetree
 help / color / mirror / Atom feed
From: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Dmitry Baryshkov <lumag@kernel.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
Subject: [PATCH 1/2] dt-bindings: display: bridge: Add Lontium LT9721 HDMI to eDP bridge
Date: Tue, 24 Nov 2026 20:18:02 +0100	[thread overview]
Message-ID: <20261124191803.283266-2-gianfranco.mariotti94@gmail.com> (raw)
In-Reply-To: <20261124191803.283266-1-gianfranco.mariotti94@gmail.com>

Document the Lontium LT9721 HDMI 1.4 to 1/2/4-lane eDP 1.4 bridge
device tree binding, including power supplies, reset GPIO, OF graph
input/output endpoints with lane/polarity remapping, and the DP AUX bus.

Signed-off-by: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
---
 .../display/bridge/lontium,lt9721.yaml        | 169 ++++++++++++++++++
 MAINTAINERS                                   |   7 +
 2 files changed, 176 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/lontium,lt9721.yaml

diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt9721.yaml b/Documentation/devicetree/bindings/display/bridge/lontium,lt9721.yaml
new file mode 100644
index 0000000000000..88c5c75c0d49c
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt9721.yaml
@@ -0,0 +1,169 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/bridge/lontium,lt9721.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lontium LT9721 HDMI 1.4 to eDP 1.4 Bridge
+
+maintainers:
+  - Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
+
+description:
+  The Lontium LT9721 is a bridge device that converts an HDMI 1.4 input
+  (up to 3.4 Gbps/lane) to a 1-, 2-, or 4-lane eDP 1.4 output (1.62 Gbps
+  RBR or 2.7 Gbps HBR per lane), controlled over I2C.
+
+properties:
+  compatible:
+    const: lontium,lt9721
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  reset-gpios:
+    maxItems: 1
+    description: Active-low GPIO connected to the RST_N pin.
+
+  vcc-supply:
+    description: Regulator for 3.3V analog and I/O power (VCC33_RX, VCC33_TX).
+
+  vdd-supply:
+    description: Regulator for 1.8V analog and core power (VCC18_RX, VCC18_TX, VDD).
+
+  aux-bus:
+    $ref: /schemas/display/dp-aux-bus.yaml#
+
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port@0:
+        $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
+        description: HDMI 1.4 input port.
+
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            unevaluatedProperties: false
+
+            properties:
+              lane-polarities:
+                minItems: 4
+                maxItems: 4
+                items:
+                  enum: [0, 1]
+                description:
+                  TMDS pair P/N polarity inversion for clock and data lanes.
+                  The LT9721 applies P/N inversion globally across all four
+                  TMDS pairs, so all entries must match.
+
+      port@1:
+        $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
+        description: eDP 1.4 output port.
+
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            unevaluatedProperties: false
+
+            properties:
+              data-lanes:
+                oneOf:
+                  - minItems: 1
+                    maxItems: 1
+                    items:
+                      enum: [0, 1, 2, 3]
+                  - minItems: 2
+                    maxItems: 2
+                    uniqueItems: true
+                    items:
+                      enum: [0, 1, 2, 3]
+                  - minItems: 4
+                    maxItems: 4
+                    uniqueItems: true
+                    items:
+                      enum: [0, 1, 2, 3]
+
+              lane-polarities:
+                minItems: 1
+                maxItems: 4
+                items:
+                  enum: [0, 1]
+
+            dependencies:
+              lane-polarities: [data-lanes]
+
+    required:
+      - port@0
+      - port@1
+
+required:
+  - compatible
+  - reg
+  - vcc-supply
+  - vdd-supply
+  - ports
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        bridge@33 {
+            compatible = "lontium,lt9721";
+            reg = <0x33>;
+            reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+            vcc-supply = <&reg_3v3>;
+            vdd-supply = <&reg_1v8>;
+
+            ports {
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port@0 {
+                    reg = <0>;
+
+                    lt9721_in: endpoint {
+                        remote-endpoint = <&hdmi_out>;
+                        lane-polarities = <1 1 1 1>;
+                    };
+                };
+
+                port@1 {
+                    reg = <1>;
+
+                    lt9721_out: endpoint {
+                        remote-endpoint = <&edp_panel_in>;
+                        data-lanes = <0 1>;
+                    };
+                };
+            };
+
+            aux-bus {
+                panel {
+                    compatible = "edp-panel";
+                    power-supply = <&reg_panel_3v3>;
+                    backlight = <&backlight>;
+                    no-hpd;
+
+                    port {
+                        edp_panel_in: endpoint {
+                            remote-endpoint = <&lt9721_out>;
+                        };
+                    };
+                };
+            };
+        };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index c00d3612c9acf..707cd862d4fc4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15790,6 +15790,13 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml
 F:	drivers/gpu/drm/bridge/lontium-lt8912b.c
 
+LONTIUM LT9721 HDMI TO EDP BRIDGE
+M:	Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
+L:	dri-devel@lists.freedesktop.org
+S:	Maintained
+T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
+F:	Documentation/devicetree/bindings/display/bridge/lontium,lt9721.yaml
+
 LOONGARCH
 M:	Huacai Chen <chenhuacai@kernel.org>
 R:	WANG Xuerui <kernel@xen0n.name>
-- 
2.25.1


  reply	other threads:[~2026-11-24 19:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 19:18 [PATCH 0/2] drm/bridge: Add Lontium LT9721 HDMI to eDP bridge support Gianfranco Mariotti
2026-11-24 19:18 ` Gianfranco Mariotti [this message]
2026-11-24 19:18 ` [PATCH 2/2] drm/bridge: Add Lontium LT9721 HDMI to eDP bridge driver Gianfranco Mariotti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124191803.283266-2-gianfranco.mariotti94@gmail.com \
    --to=gianfranco.mariotti94@gmail.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=lumag@kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox