Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp318697ybh; Wed, 18 Mar 2020 00:08:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsxXL0pZGJSiARgKCSt9YdmChE2WKYd4GNt1xdGu/AEb7E6xR0dPaIigyHHUH0i0NZ6KTop X-Received: by 2002:a9d:1708:: with SMTP id i8mr2704593ota.250.1584515329499; Wed, 18 Mar 2020 00:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584515329; cv=none; d=google.com; s=arc-20160816; b=i49gumfXXblWTGtIBeEkINXJ3NQOJESFnUoGZk+gh17pxs8cmhNUQS5b70i2TLkIRH tj1yJ0QC8vByB03jCPr3vySQthdnIZC4SxbzPwJBgZUkaEVf+xGIlQwnXc4fIWSpCdhw 4iZKYg/hPSw/YDRq9a1zHqNHt7JEI8aJKM7KX7JMUiTqRSS9Qjf6zIaZ/D1XoXmPn92c jPEwfgkuMbFtaqnjgivuInsYo9++x02piOg5Q8VQaGkVZ94dQMvwu6vfR2i63FYrtzxO FbcWuxyfaiJ3ox6HF/FuJQKskS5kY+ZBfilKcwtJi7ZEoE8oiI3N6sfHq4e33/zsLdcT GKkg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wMdUZQaZuY7DuT6YxtOUqaOfMI2bMEyzjg8QygQovlw=; b=Qq9qXqa+tON5Ka1Zo+x70HkNGIQMMFJVgJA7FdxFLKuw54GlwBas9nnC2LIrMF5uNt yZVS0IWKqGX2oVN7L2uH9IUbx8c10+EluLEZfV8uhqEeyVAV2SudK0/n4lIJLZRlq7Lj Sb/X/8A12weOR6ENyKWIQ36HukxC6t5al+Cayv2lZUkGUl7QCb1OvLwdfGuJVsQiSEbO +hCqJsG/wyN3FXB+cXqgLCklgcc2+A+avxbY7jiPBy0+b4my9SB8NXzpFLj5HMY9/M/A pRNkM/I3RClrfXYH0Q6uspFTpbYTJRzaYixk1A/kMwkvy8X31+5aTKPWhe24gSpLl0RR G+XQ== 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 67si2903953otj.108.2020.03.18.00.08.37; Wed, 18 Mar 2020 00:08:49 -0700 (PDT) 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 S1727354AbgCRHHr (ORCPT + 99 others); Wed, 18 Mar 2020 03:07:47 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40278 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbgCRHHl (ORCPT ); Wed, 18 Mar 2020 03:07:41 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 3FA6A2928C5 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , Andrzej Hajda , icenowy@aosc.io, anarsoul@gmail.com, Neil Armstrong , matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, megous@megous.com, Daniel Vetter , David Airlie , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v4 3/4] dt-bindings: Add ANX7688 HDMI to DP bridge binding Date: Wed, 18 Mar 2020 08:07:29 +0100 Message-Id: <20200318070730.4012371-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200318070730.4012371-1-enric.balletbo@collabora.com> References: <20200318070730.4012371-1-enric.balletbo@collabora.com> 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 the ANX7688 HDMI-DP converter. Signed-off-by: Nicolas Boichat Signed-off-by: Hsin-Yi Wang Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: - Adapt the bridge bindings for the multi-function device. Changes in v2: - Improve a bit the descriptions using the info from the datasheet. - Convert binding to yaml. - Use dual licensing. .../bridge/analogix,anx7688-bridge.yaml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7688-bridge.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7688-bridge.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7688-bridge.yaml new file mode 100644 index 000000000000..c56da3f39dd8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7688-bridge.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/analogix,anx7688-bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analogix ANX7688 HDMI to DisplayPort Bridge + +maintainers: + - Nicolas Boichat + - Enric Balletbo i Serra + +description: | + The ANX7688 bridge describes the HDMI 2.0 to DisplayPort 1.3 bridge block + included in the ANX7688 chip controller. These are meant to be used for + controlling display-related signals. + + The node of this device should be under an analogix,anx7866 node. Please refer + to Documentation/devicetree/bindings/mfd/analogix,anx7688.yaml for the ANX7688 + core bindings. + +properties: + compatible: + const: analogix,anx7688-bridge + + 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 + - ports + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + anx7688: anx7688@2c { + compatible = "analogix,anx7688"; + reg = <0x2c>; + + bridge { + compatible = "analogix,anx7688-bridge"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + anx7688_in: endpoint { + remote-endpoint = <&hdmi0_out>; + }; + }; + + port@1 { + reg = <1>; + anx7688_out: endpoint { + remote-endpoint = <&typec0_connector>; + }; + }; + }; + }; + }; + }; -- 2.25.1