Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6873295ybf; Fri, 6 Mar 2020 06:13:09 -0800 (PST) X-Google-Smtp-Source: ADFU+vviU4ExAHHvSfh/y0/79PoK/1lJ4cEBvFBXORjT+fYfbZpL4dI22cXMYTDvxOAPfrwj6HHm X-Received: by 2002:aca:5109:: with SMTP id f9mr1686963oib.14.1583503989392; Fri, 06 Mar 2020 06:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583503989; cv=none; d=google.com; s=arc-20160816; b=HAczA96fgVlmmITiX6g90Apy5cvBhN/BzBQWpgpweyFnreKnuNqpon6VEaoDkEQKuq GcgidwAW1ANdoQEDy0hzkLcS3rzvdhiNEK1hyI++eRoI8SXwkIhW58sWIM+dRkvXEWPj fAc58Qo4bVqqjsNNRIkLPGuiYcmqdFgRq9XyxjVNjUHDJ2WAPgHopFwAN1s5j4h0/v0e VF5vJo7F+q0nHSKAd1FhzdeI5+MklXpGxE0mWbT+wNide0yJ4z2vajemqfRRjYcs4OSK T5WYOYEf3/PocoQmsdiOkqK8F9ajq5Ye29RT43VHD+hWhwHMjqksJRCjGOLx87RpUeoq rMGw== 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=E+YTR227M74iW0pCsruz/cgvaw/hO0dccRHKEw3zjBg=; b=L5Ge0MLQnnpJfbvDvy8Xl6CqNhjmTiSkB9yQ0POKolXjKv8upTk2nTr4rfmLs91WvO u8PCuKSQCWmfADltYauqCcYgyVCqs6rX68eUiCJI0K7idRNsEFXPe0mOkTwEmf3PgHS1 MzfoaO3/6N8a6RoVjN2tZSEg3Swf0sRTgg6PL/H18a2n9FNNoP1NQNxe9ubZdJGXLsJd UOyJdgBChGSqJ7iMQDItGtnXG+ubwqNbS+JrwyRuSNV2KgBMguu9J6wXmZMTl21i6aQY HGeRtz4UPxA3oocCjfKLTHmcsxdBEWJQD0zG07rYb6/gRRu+sIw5+AzGr/lxJDBGcJdk 2jZg== 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 73si1398341otf.257.2020.03.06.06.12.56; Fri, 06 Mar 2020 06:13:09 -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 S1727101AbgCFOMc (ORCPT + 99 others); Fri, 6 Mar 2020 09:12:32 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39044 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgCFOMa (ORCPT ); Fri, 6 Mar 2020 09:12:30 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id D7F48296C97 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , Andrzej Hajda , megous@megous.com, anarsoul@gmail.com, Neil Armstrong , matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, icenowy@aosc.io, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , David Airlie , Mark Rutland , Daniel Vetter Subject: [PATCH v3 3/4] dt-bindings: Add ANX7688 HDMI to DP bridge binding Date: Fri, 6 Mar 2020 15:12:15 +0100 Message-Id: <20200306141217.423914-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200306141217.423914-1-enric.balletbo@collabora.com> References: <20200306141217.423914-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 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