From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796255727; b=CBPqcHf9neADX4zNUCFXjWdHaK/ta/jzL148icl9F//iLUHTALZnYMv+rIodD66Okrbm pRVsIZHvS5LI/2DEchM13DlCC9udO0aujis9ko4FJKNlahgMmHut1kR9SYE1E3xILmpuE 8fDYjV1mF9OcnTDQOZohRbqE5UdAq5LjvfoJKlk6kZuurQkcLdJVZZ40NeRNUHNMD6+9J lyjfEmbHqcOjJ1tgCVPMTN9jJs+M97cbZ9Hi5NhnY4tA+9dA6zMkgcyIl4S+hJsuYHBLT wwN4YQZD3Ow6dgQlBAGrTWBCGXCRON87ARvbllm16Ev8wkMviaCxmvyNZRSdWctxj7A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796255727; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=5SuSwraB3A2rJ+eef524bz9/G9zBRh88zfM0uLgHn3k=; b=jHo/TO96cfdfYTaA9KGRElDLIblsAF29o08VdXRS19NWy95JHZoF53vertweBPC5xS/Q C7DOF6yY5s3ptXyffFs/NA2mcq+M95Lcr02otzKTzFV68CHXia8r/nfmCL6GImbvv3WN/ Sl2/xNkzZE65SLZnCFY+FeiqkHVSIg+VAWyRNxpqZ/lX0M8JgFAPmwkcSaawJfo/upXGe fLd+/CQpKG8GZlDILfqTAhwylPKfL8RgNzb4ZWjBraeVk0QwuedKDdLR6b98aXy+8Omr+ qv6uMfFZEbF/kkouJ7yF0JU16G/O1VdF5cFsrBvRHH9vN1osMxm7va0cMPBgVO7MOgQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=iTy2TmDn; arc=none smtp.remote-ip=209.85.128.44 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3616606A32C for ; Wed, 2 Dec 2026 23:55:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D3616606A32C 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.a=rsa-sha256 header.s=20260707 header.b=iTy2TmDn Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4a35a60499eso106779725e9.0 for ; Wed, 02 Dec 2026 15:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796255725; x=1796860525; 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=5SuSwraB3A2rJ+eef524bz9/G9zBRh88zfM0uLgHn3k=; b=iTy2TmDnZjs/fRYTLhYzd3E2KXaWBRd2vMhZqX1fw9EBSOfoLTCpV7juKO/hMoo9wZ ZOGatfB4pRKVBpzskWefIMmCzxvkl+Agrjcm3LQa6ijusFIjcHr0Cn0j4/aMy08yLgmg KXlw4kBd5TkssAujbTpk7XZk5xoMfz8JYKEDglC8XKyG4Odd7boGDH4XGwl2ISVRUd/3 MPVTU7XuhCHGL3HsfW/3GbRJ0ZMZr9jfJM4MkV9llcPDJkpfP4Z2IK8v1dosTEX1Mino 5IZk98WP8nGPIgq/ceVhxTk8+Z6n9WQdkrIehOuQOnghYTtJxTxl+MHUZeHGHet/3o8N ekew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796255725; x=1796860525; 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=5SuSwraB3A2rJ+eef524bz9/G9zBRh88zfM0uLgHn3k=; b=DnjAJu4+ofaV0CSVhIhEHvJkYShctS4auNpoCyCHvd3X2itiEK2eAGvkoJrPAsDFne db/aZidSOWfdtIpZ7tDm9KLwxyIphRlb6b3OEbhPsQCQI9Bg8ditNP4g7WnGgeJ+1vHa A340MLpNvZkWM10Ak9l9RCdJF7f65EGuJpjMAC7VQgFGyFw3hhFN92LZ2mcdyL7myk5R YDV2jTjKXYqUE/LUGHQU0KguSaaiZtDpCVJAwUqj89zgelQcwHhC1jJAuSBMcegk4bxp cN0z0vUzuYicTX/IWyM8bYBbIUISeU0L5F4s7B61IxIQdta85RbR/XE6cFjW89SN9MIA 2hpg== X-Forwarded-Encrypted: i=1; AL+hErGq5brZ5Nyii87LMx2YAkS+ZkgbysKCAs9aKR44a0na0uFHHvN3qQh/PhjCuBmsl6E7vSu1DdAeSllw+Ew=@vger.kernel.org X-Gm-Message-State: APuU4Z++0k/5SKpryt6RqSOgSNkkATsKPxghqQ4g71qsprKiN3YFz13F xvtEr6i/p45e/bHKxdz8Vc2WSrLoSWap7jRnJhKQyprHwDHIdh3dc84= X-Gm-Gg: AZFdTZcI8bnRvsH7P95TWB2YiaNQGTrZolBmV91vRRi5sQ5YpakTtunMwGKWpOsun8G fsO7QTCVPbIFkMQclGEVCrt+XsrFWWMxSfOe5PMCpCHxUmy5k3QDylpYgio4j5JwdT+p91+uaKV zWgpZTN42Ye38W2StDl7gMN3/GVLQZMZCDtyZQ3spEr2PhnhHSuqs8YOUT5TFHpWKfTUIz1ao8B CYXFipFVVSPKk5dUW4jW3xSoZstJtIuJVhnQGpLeDUf+BacUs+G1q40MQYfMocWMQwzM7kQqNXc 2nkqBIS4qMdnzBGMh3SS8B8bdRetl53UQRNO8Dj0aq3mjeHcnEGkOcWGBRrIs44mU9TZ1VzoB5o 7INH0ua15liOoBh6ZQ8JBHUJOJl+piclKivzGxQVSIcaykQ+oxmpV7Aa+w0dsnaH8U2hSyKelEp mRKdbX7OPcuvigIn5DIVkuzaebXfLTphuzDSDrFiOox733z9mp1w/hSj9NRnddgRUQPFW2EknTM g3Z2ZsZK2Kp0LXL9DSNxbuCLoLPUDcHj/8kW0egZ/8CmAb50K+BVJ9MqXxj4fyCET/47rRNTisB BdTtw2bCJDKek9MrTbvuaWAWiVx3HVC3n9LZjruqAPpQVGr3t/O0Do7MEDTjv84ztDrko1Ep4SF DNoy5+9ez87oGvuM= X-Received: by 2002:a05:600c:3555:b0:4a1:9663:7639 with SMTP id 5b1f17b1804b1-4bb8882907fmr856895435e9.34.1796255725203; Wed, 02 Dec 2026 15:55:25 -0800 (PST) Received: from localhost.localdomain ([193.207.72.118]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbe00daf7fsm25105385e9.13.2026.12.02.15.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 15:55:24 -0800 (PST) From: Gianfranco Mariotti To: Neil Armstrong , Dmitry Baryshkov , Robert Foss , Laurent Pinchart , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gianfranco Mariotti Subject: [PATCH v2 1/2] dt-bindings: display: bridge: Add Lontium LT9721 HDMI to eDP bridge Date: Thu, 3 Dec 2026 00:55:15 +0100 Message-Id: <20261202235516.10007-2-gianfranco.mariotti94@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20261202235516.10007-1-gianfranco.mariotti94@gmail.com> References: <20261202235516.10007-1-gianfranco.mariotti94@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- .../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 + +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 + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + bridge@33 { + compatible = "lontium,lt9721"; + reg = <0x33>; + reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; + vcc-supply = <®_3v3>; + vdd-supply = <®_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 = <®_panel_3v3>; + backlight = <&backlight>; + no-hpd; + + port { + edp_panel_in: endpoint { + remote-endpoint = <<9721_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 +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 R: WANG Xuerui -- 2.25.1