Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6874672ybf; Fri, 6 Mar 2020 06:14:28 -0800 (PST) X-Google-Smtp-Source: ADFU+vtmN+dhsVRl797niz/JUaQP2OI++HSjWmrbowM5hVkqYqMfqxxA6VMflP8oT+xY8WffuaDE X-Received: by 2002:aca:ad11:: with SMTP id w17mr2680042oie.66.1583504068711; Fri, 06 Mar 2020 06:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583504068; cv=none; d=google.com; s=arc-20160816; b=TT2SGHUttibrDZMkGjONZXQKrkh7wrtpRaDKsYs27tHG56MJE/71G5IZW2eoCDgw+A ZIebheOQZKHJTpwYdl5CobDN/L82TGd/l9p8kjZ+61s+7m99BdH7/Ge7auKH4LCqTiC5 J0NPAg1+q9l3RgVNgzrdWgUlTvBFskz3FxiFbAuspa7coYvBgT42hPp3B7x3rCVJmv0s cI3hf76QtLE6F3uVeSXHacLJ1hNoGAxAxvgC8MZ2gwcH/lZLIO8cb4DaIIKwGSRdkMQ4 WP+jnfAuH6dvSTphTc25AmjTJ8Pk4F3tlHqmbSknWleWaXgZ8sQZ2ibv6qzAO3BnnZOj BkYw== 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=fY6vpFeB4uJdMGyyZz8ZLbQ1r4DX7qFOnngpD85EpzY=; b=vUV2RFXEV7yMdDlBWEO6pGaMDSLF5Oppus8Jvg73CWE5q7SfXmz/YdCnoex4FumhTr paj5KxsE5dRixVoIrutL6oy6bkEIyG746gD+4JREKsXYl5DGbC9XLG+ViFnuj2YeZtEl mEW+JjEYOM4h/anvB77qUGUDoaKyD7eAiA0z+BSJKsIcYy0bkrY9K2ndLezG7pSv9CGA xkvlTUULXuCumgq38nT2B3YUgXdg/m33T6YQOZNXYV1x1TJAIK8n0B/B2L574QTeHlI+ 668jYn2D/y1eJPdqsSrZI64rW8gMDuwC1M0RbsKX27lMGRX1B6kdUL5jZPdTSjDLU9y5 LbQQ== 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 18si1310663oin.182.2020.03.06.06.14.16; Fri, 06 Mar 2020 06:14:28 -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 S1726988AbgCFOM2 (ORCPT + 99 others); Fri, 6 Mar 2020 09:12:28 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38996 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgCFOM2 (ORCPT ); Fri, 6 Mar 2020 09:12:28 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 7EB0C28ED15 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, Mark Rutland , Rob Herring , Lee Jones Subject: [PATCH v3 1/4] dt-bindings: Add binding for the Analogix ANX7688 chip Date: Fri, 6 Mar 2020 15:12:13 +0100 Message-Id: <20200306141217.423914-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 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