From patchwork Sat Feb 27 16:12:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrien Grassein X-Patchwork-Id: 1445184 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=M5cpSdVz; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4Dns6J1bYKz9sBJ for ; Sun, 28 Feb 2021 03:14:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbhB0QNh (ORCPT ); Sat, 27 Feb 2021 11:13:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbhB0QNS (ORCPT ); Sat, 27 Feb 2021 11:13:18 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 313EEC061788; Sat, 27 Feb 2021 08:12:35 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id o16so10365272wmh.0; Sat, 27 Feb 2021 08:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3zBUcE8OjRKKFCJPCaa9dvaEFr+ZbWy6syWrW42zrkM=; b=M5cpSdVzI2ms5szSIOmR2LVks3ZFLE67qPHIEvokX8N/+arOiECJVH7ps2gjzlZ4at W6eHECa8/UIdf9Co6IVpsaG4AsUFBo4yYdC8rvnG9DeTnygDUzo5doB8oUxCiCiKz8Wh 8VMjWSPIATN6/Ik91WB3H6n4cnhjnbl3OOEkyXgOrV8yuoiyWIvUb3cCxg0Kh4OQvIIy Eil5yn/5+oVlSeVITJrcrEGRwCxCwU91PTNvbF9ZCUR4kgsYigJSjW0wLvZjJsSAVsUU vMQxRFdhdpzQHpp+KC7AYZeVYtmAXk5VqC2EW0Rw5ZIN1I99Gn5fuJLv8pC1ebfDUa8r KDzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3zBUcE8OjRKKFCJPCaa9dvaEFr+ZbWy6syWrW42zrkM=; b=bG3whZS/Vf6ClnKcUa42YeEWwcVvNJihfUjdm7ssBowPzfsGD4dxcPnuLIOiUCJ+Ng ny7cMWJJhbWkPOOGxPh/l1X0T3z7Ep5VP4HYquux4ZbEvZBlTpJVE+QlQ8Ff3g3BRok4 HrNfa5mhsy25ukswBhiVhq890Jfd15zgoU3Udmbge1bTxswUB8ve6VYZ7KEkJFmgsA9w vdSNSCn/d1F5QtsO7aUgWb4FkE+chaijj8kUlLhf9b3kWUoSer0S6k3Ooe1Ftwihfp/l meLYjFeb5HXtbUHdg19koGIzDPuYzbd1iTazqHnzpj0ZpCAuz0Qy2ZdYwOr+0uEuyW5n HR8w== X-Gm-Message-State: AOAM531vL5cpZMmOgpUuSsavuMsiNfOukwGt1bvIBUk8OTLMgFaCNAX6 77FZGPCZ7FBLPyzkQEs7hMo= X-Google-Smtp-Source: ABdhPJzlS31zgpMMMIewRLpvxiM7pRHD56eq6D+Skd2WJiHZPBIO7PMzHnmsfVlSvR93cfkKT6qG9g== X-Received: by 2002:a1c:e388:: with SMTP id a130mr8000154wmh.187.1614442353854; Sat, 27 Feb 2021 08:12:33 -0800 (PST) Received: from adgra-XPS-15-9570.home (2a01cb0008bd2700289c166d32b9da85.ipv6.abo.wanadoo.fr. [2a01:cb00:8bd:2700:289c:166d:32b9:da85]) by smtp.gmail.com with ESMTPSA id b15sm18390027wmd.41.2021.02.27.08.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Feb 2021 08:12:33 -0800 (PST) From: Adrien Grassein Cc: robert.foss@linaro.org, airlied@linux.ie, daniel@ffwll.ch, a.hajda@samsung.com, robh+dt@kernel.org, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Adrien Grassein , Rob Herring Subject: [PATCH v5 1/2] dt-bindings: display: bridge: Add documentation for LT8912B Date: Sat, 27 Feb 2021 17:12:27 +0100 Message-Id: <20210227161228.1632521-2-adrien.grassein@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210227161228.1632521-1-adrien.grassein@gmail.com> References: <20210227161228.1632521-1-adrien.grassein@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Lontium LT8912B is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein Reviewed-by: Rob Herring --- .../display/bridge/lontium,lt8912b.yaml | 102 ++++++++++++++++++ MAINTAINERS | 5 + 2 files changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml new file mode 100644 index 000000000000..735d0233a7d6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml @@ -0,0 +1,102 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/lontium,lt8912b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lontium LT8912B MIPI to HDMI Bridge + +maintainers: + - Adrien Grassein + +description: | + The LT8912B is a bridge device which convert DSI to HDMI + +properties: + compatible: + enum: + - lontium,lt8912b + + reg: + maxItems: 1 + + reset-gpios: + maxItems: 1 + description: GPIO connected to active high RESET pin. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Primary MIPI port for MIPI input + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: true + + required: + - data-lanes + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: | + HDMI port, should be connected to a node compatible with the + hdmi-connector binding. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - reset-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + + i2c4 { + #address-cells = <1>; + #size-cells = <0>; + + hdmi-bridge@48 { + compatible = "lontium,lt8912b"; + reg = <0x48>; + reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + hdmi_out_in: endpoint { + data-lanes = <0 1 2 3>; + remote-endpoint = <&mipi_dsi_out>; + }; + }; + + port@1 { + reg = <1>; + + endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 16ada1a4b751..6366b8eac3f6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10460,6 +10460,11 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git F: drivers/hid/hid-lg-g15.c +LONTIUM LT8912B MIPI TO HDMI BRIDGE +M: Adrien Grassein +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml + LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) M: Sathya Prakash M: Sreekanth Reddy