Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp631685ybv; Thu, 13 Feb 2020 06:54:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxqZorx8bXmE99oEX+iBNjRJMGK7svn5hfFiUdRoOvBBPeWKz2v3hm5OtC+lxrLUlwcgjcU X-Received: by 2002:a9d:6415:: with SMTP id h21mr14127181otl.152.1581605685058; Thu, 13 Feb 2020 06:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581605685; cv=none; d=google.com; s=arc-20160816; b=UQ07hc0PnXGqTuTxGqQEulCW2rNEryL4tgeL1Ul0NKygq0hAQXxK6DLbU52ZO1dHw7 cIr/zJHQBrpOTW5iAdUxZMWuTvcL5WMr0opejaD7PqWzTXLJLyVK9xUfkrUyPmModAN5 EtYiBIG5XH/rjsekyDtLb5ciNC4qkQ/MrP1grK5wH27FILsYOEKnMtYTonaIadEMAJQ4 Zfueg5nKMcYAczPvLpR2rCocD37lV/kJ0beeromayxQS/hYtzURpMdHUKY06G5cNl8Yz 8wMhTclFPZUWOgohNsrE/yar6TqipHIq+FtCrUaQAlHlDq2bdtwVn3sUIzstwKKkNNGD /VSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ved8q5VA1grGqolA61j4GvAsGn/wnhwa7IFbDb8QM1c=; b=Zm+PE/nlp7F99XQakL/WdYwIcavZNlHsJ5VOWq6ksgWQxPp65PZ2pGsdDdMBbqXXso xJLx9Q490j5c86weqMRVZ4MVry3mqe/H/xVKwUgjPVkt1RtlLKFVuAJcgLx49Y8M9SwS BV88pJ8rXb9Wqnkq3GQTrIup2AxI5XWIlcG8OzBeqGLLngCwdVoxVlrHYJuA5Mv269NB shJREHTngz01z+GETg45+9jYKRA+X9UFYDoWsFsuw5XvTuB0huUZsbYYqfH20xIDjZlH 09IBLws3RWbYLTg3Qn1lthC0ZybCHTNBoEFMCCblMzqqtnRmGnnOlj8OXEV46TutbRAQ K/WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s21si1370350otr.304.2020.02.13.06.54.31; Thu, 13 Feb 2020 06:54:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727455AbgBMOy2 (ORCPT + 99 others); Thu, 13 Feb 2020 09:54:28 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33816 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727076AbgBMOy1 (ORCPT ); Thu, 13 Feb 2020 09:54:27 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 9267B295246 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , Andrzej Hajda , matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Neil Armstrong , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , David Airlie , Mark Rutland , Daniel Vetter Subject: [PATCH v2 1/2] Documentation: bindings: Add ANX7688 HDMI to DP bridge binding Date: Thu, 13 Feb 2020 15:54:15 +0100 Message-Id: <20200213145416.890080-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicolas Boichat Add documentation for DT properties supported by anx7688 HDMI-DP converter. Signed-off-by: Nicolas Boichat Signed-off-by: Hsin-Yi Wang Signed-off-by: Enric Balletbo i Serra --- Changes in v2: - Improve a bit the descriptions using the info from the datasheet. - Convert binding to yaml. - Use dual licensing. .../bindings/display/bridge/anx7688.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/anx7688.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/anx7688.yaml b/Documentation/devicetree/bindings/display/bridge/anx7688.yaml new file mode 100644 index 000000000000..c1b4b5191d44 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/anx7688.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/anx7688.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analogix ANX7688 HDMI to USB Type-C Bridge (Port Controller with MUX) + +maintainers: + - Nicolas Boichat + - Enric Balletbo i Serra + +description: | + The ANX7688 is a single-chip mobile transmitter to support 4K 60 frames per + second (4096x2160p60) or FHD 120 frames per second (1920x1080p120) video + resolution from a smartphone or tablet with full function USB-C. + + This binding only describes the HDMI to DP display bridge. + +properties: + compatible: + const: analogix,anx7688 + + reg: + maxItems: 1 + description: I2C address of the device + + ports: + type: object + + properties: + port@0: + type: object + description: | + Video port for HDMI input + + port@1: + type: object + description: | + Video port for DP output + + required: + - port@0 + +required: + - compatible + - reg + - ports + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + anx7688: dp-bridge@2c { + compatible = "analogix,anx7688"; + reg = <0x2c>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + anx7866_in: endpoint { + remote-endpoint = <&hdmi0_out>; + }; + }; + + port@1 { + reg = <1>; + anx7866_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + }; + }; -- 2.25.0