Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2708385ybl; Thu, 19 Dec 2019 19:23:55 -0800 (PST) X-Google-Smtp-Source: APXvYqwqMrUZmOItsgZ7BKk3clhar8nncUW27yg56mjaUvLfzwvjlIAWKNbbxwabYkYNwkY3tnz1 X-Received: by 2002:a92:844b:: with SMTP id l72mr10577527ild.262.1576812235620; Thu, 19 Dec 2019 19:23:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576812235; cv=none; d=google.com; s=arc-20160816; b=rTryxkZ/oIDX6VC2FTYvsMmx9yDitdfAUAgePCjnfHWFcv1T8zR19J7+26bnA+i3YC kSEKtIq+GN+5nqu0X/53k5vTdgy5uLNWp8BTzU79yW1RZEkgDuwqOu9qjXt7jbwf8TDL F2+fzvmEMSw01GzftoJmn1FrslZl1MLBx2ckRZO5MjK1ACkMwguDC/5/I9aJwVZ2Qprb QM+wqqSSr2PKD+QxaJBsB6xaGm5cLQrNUy6Rlaiu776gAoLha11uGZcNsuO9JDwQ6Npw 9AkwhrcmSp49exsOWBYOWYjCRVQbydfer1p9nNoEHXl4aLN7sGqy8E9uy5FxZnQpPX91 HJ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aF14rzuM5JWjkD3jt+t2c7zTZ/dgTezfa1GgXlm+qcc=; b=mST8PCFwIblQSkjwBMYNofj/qxKGYJhEbaRrzErDylBd+VUTkhMkmjLJWR3COmgo6Z aTNTI4Wg9aC4Ey28vDCvsCWZx17UP1qteirAP03UwRkWZZecECZOOw+/N3neTawT6YqD CxVf8uhk76yEfyPEMf2PnLS09R+9vXLa9cPdyI4Hcr2q9MU4+gSezBIKDZIcZhZ1zDw4 TS15I+k3OrOGnv5Cz7timj7k7d6qKmAQJB16lT27hkTABgvFjJZBJUh7uQv9Wat3Xky5 qThOabGZ/G6npaBwTS3E7NJ4WyKSMuKJICa11NAlCuVOP8dK89vxo6dA55Qp5JND8ZdW a5Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=eiD5P2Vs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si4292164oih.206.2019.12.19.19.23.44; Thu, 19 Dec 2019 19:23:55 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=eiD5P2Vs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727135AbfLTDWy (ORCPT + 99 others); Thu, 19 Dec 2019 22:22:54 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:43036 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbfLTDWy (ORCPT ); Thu, 19 Dec 2019 22:22:54 -0500 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3794E97D; Fri, 20 Dec 2019 04:22:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1576812171; bh=GbjWOXoHbTc7o/70pzRDyb6harPQRgq/1uJqetbyvEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eiD5P2Vs/QXwTU749YgX3ffncRsvHu/csSN90zm5CA5+AlOF58zlIMNsA70unsJOI eTeBk6rzNvZ3sY8nTxruTgXtU/2o65/rPpx0hz333tRbfP07RPFYLk3YE47zhV77oV Maus3i0cm/+PvRN9WVjB48J3KzFdIMLu27tzAQBE= Date: Fri, 20 Dec 2019 05:22:38 +0200 From: Laurent Pinchart To: Hsin-Yi Wang Cc: Rob Herring , dri-devel , David Airlie , Daniel Vetter , Mark Rutland , Nicolas Boichat , Devicetree List , lkml , Andrzej Hajda , Neil Armstrong , Jonas Karlman , Jernej Skrabec , Philipp Zabel , Enric Balletbo i Serra , Matthias Brugger , Russell King Subject: Re: [PATCH RESEND 1/4] dt-bindings: drm/bridge: analogix-anx7688: Add ANX7688 transmitter binding Message-ID: <20191220032238.GA5342@pendragon.ideasonboard.com> References: <20191211061911.238393-1-hsinyi@chromium.org> <20191211061911.238393-2-hsinyi@chromium.org> <20191219204524.GA7841@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hsin-Yi, On Fri, Dec 20, 2019 at 11:20:13AM +0800, Hsin-Yi Wang wrote: > On Fri, Dec 20, 2019 at 4:45 AM Rob Herring wrote: > > On Wed, Dec 11, 2019 at 02:19:08PM +0800, Hsin-Yi Wang wrote: > > > From: Nicolas Boichat > > > > > > Add support for analogix,anx7688 > > > > > > Signed-off-by: Nicolas Boichat > > > Signed-off-by: Hsin-Yi Wang > > > --- > > > Change from RFC to v1: > > > - txt to yaml > > > --- > > > .../bindings/display/bridge/anx7688.yaml | 60 +++++++++++++++++++ > > > 1 file changed, 60 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..cf79f7cf8fdf > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/display/bridge/anx7688.yaml > > > @@ -0,0 +1,60 @@ > > > +# SPDX-License-Identifier: GPL-2.0 > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/display/bridge/anx7688.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Analogix ANX7688 SlimPort (Single-Chip Transmitter for DP over USB-C) > > > + > > > +maintainers: > > > + - Nicolas Boichat > > > + > > > +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 eDP output > > > + > > > + required: > > > + - port@0 > > > > Sometimes you have no output? > > Yes, only input is required. But what happens in that case ? What's the use of a bridge with a non-connected output ? :-) > > > + > > > +required: > > > + - compatible > > > + - reg > > > + - ports > > > > The example will have errors because it is missing 'ports'. Run 'make > > dt_binding_check'. > > > > Add: > > > > additionalProperties: false > > > > Ack, will fix this. Thanks > > > > + > > > +examples: > > > + - | > > > + anx7688: anx7688@2c { > > > + compatible = "analogix,anx7688"; > > > + reg = <0x2c>; > > > + > > > + port { > > > + anx7688_in: endpoint { > > > + remote-endpoint = <&hdmi0_out>; > > > + }; > > > + }; > > > + }; -- Regards, Laurent Pinchart