From patchwork Sat May 9 11:17:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srk@48.io X-Patchwork-Id: 11539771 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6328915E6 for ; Mon, 11 May 2020 07:17:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 417302080C for ; Mon, 11 May 2020 07:17:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=48.io header.i=@48.io header.b="x6raWZpo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 417302080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=48.io Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 150E66E200; Mon, 11 May 2020 07:17:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 528 seconds by postgrey-1.36 at gabe; Sat, 09 May 2020 11:27:01 UTC Received: from pruto.48.io (48.io [IPv6:2a01:430:17:1::ffff:361]) by gabe.freedesktop.org (Postfix) with ESMTPS id 930126E33A for ; Sat, 9 May 2020 11:27:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pruto.48.io (Postfix) with ESMTPSA id 8B55A94C8D; Sat, 9 May 2020 13:18:10 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 pruto.48.io 8B55A94C8D Authentication-Results: pruto.48.io; dmarc=none (p=none dis=none) header.from=48.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=48.io; s=default; t=1589023090; bh=D3x6JnWefErO/TazipsOhJ7MREKFaWlPTxw8f1HkRrE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=x6raWZpoEGEB1rMVVeudi3uDHkbdRcFBR3qdMfM94S2C+ipI5PRt8XPBWFQs7A65Z vX/YBgWpdK1EA+XdZV+W5yBx07ICHMsKIse+QhdqRwgplK+qCb3zqTHGklCV2Uh6/B JQYCGPudiqzcw+cABjV8xybSohSW5Nj30x3VZ68o= From: srk@48.io To: Andrzej Hajda Subject: [PATCH 1/2] dt-bindings: it6251: add bindings for IT6251 LVDS-to-eDP bridge Date: Sat, 9 May 2020 13:17:31 +0200 Message-Id: <20200509111732.26102-2-srk@48.io> In-Reply-To: <20200509111732.26102-1-srk@48.io> References: <20200509111732.26102-1-srk@48.io> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 11 May 2020 07:17:27 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , devicetree@vger.kernel.org, Jernej Skrabec , Richard Marko , Jonas Karlman , David Airlie , Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Lubomir Rintel , Rob Herring , Laurent Pinchart , Sean Cross Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Marek Vasut Add DT bindings for ITE IT6251 LVDS-to-eDP bridge. Signed-off-by: Marek Vasut Signed-off-by: Richard Marko Cc: Daniel Vetter Cc: Rob Herring Cc: Sean Cross Cc: devicetree@vger.kernel.org To: dri-devel@lists.freedesktop.org --- .../bindings/display/bridge/ite,it6251.yaml | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6251.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6251.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it6251.yaml new file mode 100644 index 000000000000..8daa44a30fa1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6251.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/ite,it6251.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ITE IT6251 LVDS-to-eDP bridge bindings + +maintainers: + - Marek Vasut + - Richard Marko + +description: | + The IT6251 is a high-performance single-chip + De-SSC LVDS to DisplayPort converter. + Combined with LVDS receiver and DisplayPort Transmitter, + the IT6251 supports LVDS input and DisplayPort 1.1a + output by conversion function. + +properties: + compatible: + const: ite,it6251 + + reg: + items: + - description: I2C address of the bridge + - description: I2C address of the LVDS part + + reg-names: + items: + - const: bridge + - const: lvds + + ports: + type: object + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + port@0: + type: object + description: | + Video port for eDP output (typically panel). + + port@1: + type: object + description: | + Video port for LVDS input. + + required: + - port@0 + - port@1 + + additionalProperties: false + + power-supply: true + +required: + - compatible + - reg + - reg-names + - power-supply + - ports + +additionalProperties: false + +examples: + - | + it6251@5c { + compatible = "ite,it6251"; + reg = <0x5c>, <0x5e>; + reg-names = "bridge", "lvds"; + power-supply = <®_display>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_out_edp0: endpoint { + remote-endpoint = <&panel_in_edp0>; + }; + }; + + port@1 { + reg = <1>; + bridge_in_lvds0: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; + };