From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 948F4C79FAD for ; Tue, 8 Sep 2026 10:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V2TCIVHLFUgANDNWEbBVnC10C0FF0MGdtrz2Vu9b1xk=; b=j6M5bauclCCaCHgdrLkYlVGhwd oDZ7/PmMQKCoBHJWLOnfZwSzfwn9NTDHBY+Of80dnL3sRp4zoy9RRYJFoBv66hZFDgKT4kf5eZGmR 17hg6pEwhF5MoHOvYqLbVPsWrt8wz6M+VgFcGVGPRGH92VNLxApf9nWp7Pbq1iFXiY/4pj6livVIr zZ8mlibFeuboAeNvA8+2h7FtnFGQaZkfslkMxTWeYMXd+oeebH7PGp4uHUWxQe+/Uvsx5DVy+ynZJ xOBqGLVfbuwUhNik03VXzz2Ko50szSTnh/47C+0NaW+tDbfoYZnEcmKE4qZ+YGv/hqL6ehnmK0ehd g5YBYfmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3sfG-00000008iRX-2rsi; Tue, 08 Sep 2026 10:02:54 +0000 Received: from mail11.truemail.it ([217.194.8.81]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3sf9-00000008iNO-3iGC for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2026 10:02:50 +0000 Received: from francesco-nb.corp.toradex.com (248.201.173.83.static.wline.lns.sme.cust.swisscom.ch [83.173.201.248]) by mail11.truemail.it (Postfix) with ESMTPA id BA7DB2037E; Tue, 8 Sep 2026 12:02:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1788861760; bh=V2TCIVHLFUgANDNWEbBVnC10C0FF0MGdtrz2Vu9b1xk=; h=From:To:Subject; b=dlshf81+8dGxY9ub4RsX410QT4OdtT7VMj5lG3Hdk+ZG3o/ngm01LaFuFB826Eo2l gSa2gp1yXwYmja5f5kqtZCFkSAwzvN8kPaUyC49R5zaBp+CaRX43GjCTxhYke7qSHh TEMuepx1zoP/Rj+vTyCiJJ+7hw2T5PiZuAZX9T+LJy1uTjeaM7djGVxbWnsK/lgtut uJPZD2VgFejbZMdoAEmwSKB5B7/y8aUbm9o0hfzEKZ8uRWtmnDEkjMm58tyDuTVdny Lne8pb+GzwUQHTf4E0yEXBr1RuYIdKml7w4CvKAGWeRkTcN9ne9ucTT7W2VjtF+Fgy OAUCESzA1631Q== From: Francesco Dolcini To: Francesco Dolcini , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 1/3] dt-bindings: display: bridge: Add THine THC63LVD827 Date: Tue, 8 Sep 2026 12:02:25 +0200 Message-ID: <20260908100230.83796-2-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260908100230.83796-1-francesco@dolcini.it> References: <20260908100230.83796-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260908_030248_250402_AFED125A X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Francesco Dolcini Add THine THC63LVD827 DPI to LVDS encoder. The THC63LVD827 is a simple DPI to LVDS encoder that can be configured with input pins. Link: https://www.thine.co.jp/en/products/detail/THC63LVD827.html Signed-off-by: Francesco Dolcini --- .../display/bridge/thine,thc63lvd827.yaml | 126 ++++++++++++++++++ MAINTAINERS | 5 + 2 files changed, 131 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml new file mode 100644 index 000000000000..ead50802e11e --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml @@ -0,0 +1,126 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/thine,thc63lvd827.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: THine THC63LVD827 DPI to LVDS encoder + +maintainers: + - Francesco Dolcini + +description: | + The THC63LVD827 converts a 24-bit parallel RGB interface plus HSYNC, + VSYNC and data-enable to single-link or dual-link LVDS. + + The LVDS output data mapping is configured using the MAP and 6B/8B inputs, + that can be controlled by GPIOs. + + The LVDS output link mode (single/dual) is configured using the MODE input. + + The parallel interface pixel clock sample polarity is configurable with the + R/F input strap option. + +properties: + compatible: + const: thine,thc63lvd827 + + map-gpios: + maxItems: 1 + description: + GPIO connected to the MAP input. A high level selects Mapping Mode 1 + and a low level selects Mapping Mode 2. + + mode-gpios: + maxItems: 1 + description: + GPIO connected to the MODE input. A high level selects single-link + LVDS output and a low level selects dual-link LVDS output. + + b6b8-gpios: + maxItems: 1 + description: + GPIO connected to the 6B/8B input. A high level selects 6-bit (21-bit) + mode and a low level selects 8-bit (27-bit) mode. + + powerdown-gpios: + maxItems: 1 + description: + GPIO connected to the active-low /PDWN input. A high level selects + normal operation and a low level power down the chip. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Parallel RGB input + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml + unevaluatedProperties: false + + properties: + pclk-sample: + description: + Sample data on falling (0) or rising (1) edges of the pixel + clock signal. + enum: [ 0, 1 ] + default: 0 + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: LVDS output 1st link, used in single- and dual-link mode. + + port@2: + $ref: /schemas/graph.yaml#/properties/port + description: Optional LVDS output 2nd link, for dual-link mode. + + required: + - port@0 + - port@1 + +required: + - compatible + - ports + +additionalProperties: false + +examples: + - | + #include + + lvds-encoder { + compatible = "thine,thc63lvd827"; + + map-gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; + mode-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + endpoint { + pclk-sample = <1>; + remote-endpoint = <&dpi_out>; + }; + }; + + port@1 { + reg = <1>; + + endpoint { + remote-endpoint = <&lvds_display_in>; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 6215fcb07770..0b5a25a35367 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8580,6 +8580,11 @@ F: Documentation/devicetree/bindings/display/rockchip/rockchip,dw-dp.yaml F: drivers/gpu/drm/bridge/synopsys/dw-dp.c F: include/drm/bridge/dw_dp.h +DRM DRIVER FOR THINE THC63LVD827 DPI TO LVDS BRIDGE +M: Francesco Dolcini +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/thine,thc63lvd827.yaml + DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE M: Jagan Teki S: Maintained -- 2.47.3