Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp318132ybh; Wed, 18 Mar 2020 00:08:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv+47BMbPw3oRsxfNZlAfh+WAN18GQiohCDyojC8NoYYokJSnvjHu9lH52JQKwe6OyMD8Nd X-Received: by 2002:aca:5508:: with SMTP id j8mr2145298oib.71.1584515286889; Wed, 18 Mar 2020 00:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584515286; cv=none; d=google.com; s=arc-20160816; b=lcFXSRmfXFlDEfxZDTmgdFSNUmECGpqIqQiovcJBBmRNgq7E7k0R+nIHz3LYrZKiCV ZNRrrs6rjDaAb6q1zSes8SHVmnFG7iISZqYKaGRMgOvY/r+bgGPbueTN4V2Cd7v123EN cUMylJ0uL/dIal1+MU9vpZSi6ANZKaWaCjz9NKfPS5upX9YSgwY0hw3JzkQUPeyqLvxZ KkZ2bOA9Ac0cOem85RoB+Qk/hgoh4ouHBXNQqcfJdIU7Z0kjdehcG2lAZMPuBTyvKJwc BG0qTZM3UhVhJAdM4Sbj1dlPzyoEzkk58VaixwxcFHDO0NBvTvh1v24wwGGTkAandQOd aZyw== 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=lDjjIaCcB9hq5Ri9TnEmDrMMgcLrazQNhmqychXi+dk=; b=CAPR1YQnaYL4As9Ezh8TDt9ZYpXOvEydQzWe6p5NIsKAcs5AhkLabYBVDAMAP7fYAC /ozufNVwsRvYICaJaueizygooBrmLZrj+HHyW8Ttr+KzSPhtit6/r5ObRBEKY0VQjeHz wGIf/GmROMXhvGLqH8ZsQSqjrRIpOLrT0IxuR63k15jsheT2jYGnr7cdAg09AfIBPDP0 HzPM4Z1zdkeE0SvwAjWKFsgucTlKfydvFU9ePDuCcXD9T5SMtxhdJiJzwoacrllZROxR KKfVWDUpYMAVHrCGG9AvTArYY4bDjvQeazVfiQi8W6oPQ5zNdyYopaFqKHJ2bs2tH5CB HaIQ== 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 a7si2695331oia.120.2020.03.18.00.07.54; Wed, 18 Mar 2020 00:08:06 -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 S1727029AbgCRHHj (ORCPT + 99 others); Wed, 18 Mar 2020 03:07:39 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40236 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbgCRHHj (ORCPT ); Wed, 18 Mar 2020 03:07:39 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 0C0FD292457 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, Lee Jones , Mark Rutland , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v4 1/4] dt-bindings: Add binding for the Analogix ANX7688 chip Date: Wed, 18 Mar 2020 08:07:27 +0100 Message-Id: <20200318070730.4012371-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 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 The ANX7688 chip is a Type-C Port Controller, HDMI to DP converter and USB-C mux between USB 3.0 lanes and the DP output. For our use case a big part of the chip, like power supplies, control gpios and the usb-c part is managed by an Embedded Controller, hence, this is its simplest form of the binding. We'd prefer introduce these properties for someone with a different use case so they can test on their hardware. Signed-off-by: Enric Balletbo i Serra --- Changes in v4: None Changes in v3: - Add binding for ANX7688 multi-function device. Changes in v2: None .../bindings/mfd/analogix,anx7688.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/analogix,anx7688.yaml diff --git a/Documentation/devicetree/bindings/mfd/analogix,anx7688.yaml b/Documentation/devicetree/bindings/mfd/analogix,anx7688.yaml new file mode 100644 index 000000000000..bb95a4e87188 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/analogix,anx7688.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/analogix,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: | + ANX7688 converts HDMI 2.0 to DisplayPort 1.3 Ultra-HDi (4096x2160p60) + including an intelligent crosspoint switch to support USB Type-C (USB-C). + The integrated crosspoint switch supports USB 3.1 data transfer along with + the DisplayPort Alternate Mode signaling over USB Type-C. Additionally, + an on-chip microcontroller (OCM) is available to manage the signal switching, + Channel Configuration (CC) detection, USB Power Delivery (USB-PD), Vendor + Defined Message (VDM) protocol support and other functions as defined in the + USB TypeC and USB Power Delivery specifications. + + As a result, a multi-function device is exposed as parent of the video + bridge, TCPC and MUX blocks. + +properties: + compatible: + const: analogix,anx7688 + + reg: + maxItems: 1 + description: I2C address of the device + +required: + - compatible + - reg + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + anx7688: anx7688@2c { + compatible = "analogix,anx7688"; + reg = <0x2c>; + }; + }; -- 2.25.1