Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1392820ybk; Thu, 14 May 2020 07:56:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBMc0ssBEsjkKlHPQLd1ML7+le1gmhrIIMDNs0dNsgwJEcBiCBKawWSHCAIPi9KQ/cZVZI X-Received: by 2002:a17:906:414b:: with SMTP id l11mr4422332ejk.292.1589468214574; Thu, 14 May 2020 07:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589468214; cv=none; d=google.com; s=arc-20160816; b=AeGs/LOyXcorRoPbzm2e9cQag5+6mbijqK8CC64+gglVA4mdOp73QE2hoRCSEBE40I r56TBYZGskvPLDrkp47pKU5gYy4+4fdlqohcNzaEkwVso2rjohBZLtcx1myX8j2+6HgS 8YuivD81ahXxzUF4QxL0W/Xzc+9Ark+9BZPoHOET1pA2/ymT+14kMnzj6zmen4fzDrC5 5Bm8sFq0rMw12X3BcsjPP4Z3gDNvH4LK6ESU/BDDAipU2jDe4YJ+Y1R8QXRvUXTjetLD z0esvidcUXZXnHqtNb0JqFKA+jMYsJGh3Rz7v9jUo3/NEu92GL9YALLYiBsDXWykJJPq sG2w== 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; bh=yB9VTl8KywTt9Ux7iGL6NMMzFHRwNMMveEGo6bB/Nqs=; b=X8DN1quWe1Mk8Lf5sFSII6DGBnQlY/q73CvufLwjL22dKcLdx/BemyAPsbdTqVSHoU d7IBBQWJ36wooHCcmWo15TUeQORNsqnsRqyil2nsMyczSqEIs5hIMuKZAKvPIe7Oj8Tl du5Qa9cnMCzvv5XyEKErUBhF1QBiWxM+3f2mxOMdji/99JPHzjSy8ETEVGuBeE7soEiS gswIXsF57P8e4g4cf5dxooSSLs1UYcg2m4lWVs1KRPEE3fkkuRLuGBZDF9GpIdEme83+ mPr83//ruOIMONpSEhhBGts3c7V0aOlFEo+Gc21ImxBR3gxIi6OetGfIG7ctSlaU2zy2 ZKFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z37si1732994ede.339.2020.05.14.07.56.31; Thu, 14 May 2020 07:56:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727780AbgENOyg (ORCPT + 99 others); Thu, 14 May 2020 10:54:36 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:35577 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726051AbgENOyf (ORCPT ); Thu, 14 May 2020 10:54:35 -0400 Received: by mail-oi1-f195.google.com with SMTP id o7so24782098oif.2; Thu, 14 May 2020 07:54:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yB9VTl8KywTt9Ux7iGL6NMMzFHRwNMMveEGo6bB/Nqs=; b=T0LHW//wg1PT5ZhYrD5YNYAJaFyvoLbvaDx5AvdpOhL/xcjcF7bgouQg23E1pzKwrh FTsUfm6uumwnDuAqUBSlF1+UxrAvB5aIroIXdil8bBXDfQ84m917KjJWv4cRhgRbhXkC viQn7d34JJxJYRxuqmDLJ+LSeFCwOA8C7K0pLgGK1w2weV99X/Rxcy6W5pQsRdRrc2hX ok0s3qhjJrCqmgoFd8rfYzn5UbyQF+GsoiMvXUQ4FFARGmUVkn/Oe2qzbfgO/Y+0GjBm m6d898f2rqwKLlRrBc5BuNq1kjQuMvs8/waZnm0qcCwbZx/Eh9ttZLAeITt65MRzHsJe ZUGA== X-Gm-Message-State: AGi0PuYxShKp4+FFQ+g/8AwPi3VIdPLOJAPvgBLTTTyo+AFH1qJpORPw XmtKtcAnRsZQzh+AW5K/Bw== X-Received: by 2002:a05:6808:a93:: with SMTP id q19mr31602743oij.6.1589468074296; Thu, 14 May 2020 07:54:34 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id n9sm819299otl.76.2020.05.14.07.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 07:54:33 -0700 (PDT) Received: (nullmailer pid 26910 invoked by uid 1000); Thu, 14 May 2020 14:54:32 -0000 Date: Thu, 14 May 2020 09:54:32 -0500 From: Rob Herring To: Xin Ji Cc: devicetree@vger.kernel.org, devel@driverdev.osuosl.org, Laurent Pinchart , Andrzej Hajda , Nicolas Boichat , Sam Ravnborg , Neil Armstrong , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Dan Carpenter , Nicolas Boichat , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Pi-Hsun Shih , Sheng Pan Subject: Re: [PATCH v10 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Message-ID: <20200514145432.GA6091@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 On Wed, May 06, 2020 at 03:04:20PM +0800, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI to DisplayPort 1.3 4K. > > You can add support to your board with binding. We have an example in the binding, no reason to also put in the commit msg. > > Example: > anx7625_bridge: encoder@58 { > compatible = "analogix,anx7625"; > reg = <0x58>; > status = "okay"; > enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; > reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; > > ports { > #address-cells = <1>; > #size-cells = <0>; > > mipi2dp_bridge_in: port@0 { > reg = <0>; > anx7625_in: endpoint { > remote-endpoint = <&mipi_dsi>; > }; > }; > > mipi2dp_bridge_out: port@1 { > reg = <1>; > anx7625_out: endpoint { > remote-endpoint = <&panel_in>; > }; > }; > }; > }; > > Signed-off-by: Xin Ji > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 98 ++++++++++++++++++++++ > 1 file changed, 98 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > new file mode 100644 > index 0000000..6e54176 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > @@ -0,0 +1,98 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2019 Analogix Semiconductor, Inc. > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/display/bridge/analogix,anx7625.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter) > + > +maintainers: > + - Xin Ji > + > +description: | > + The ANX7625 is an ultra-low power 4K Mobile HD Transmitter > + designed for portable devices. > + > +properties: > + "#address-cells": true > + "#size-cells": true These don't belong here. > + > + compatible: > + items: > + - const: analogix,anx7625 > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: used for interrupt pin B8. > + maxItems: 1 > + > + enable-gpios: > + description: used for power on chip control, POWER_EN pin D2. > + maxItems: 1 > + > + reset-gpios: > + description: used for reset chip control, RESET_N pin B7. > + maxItems: 1 > + > + ports: > + type: object > + > + properties: > + port@0: > + type: object > + description: > + Video port for MIPI DSI input. > + > + port@1: > + type: object > + description: > + Video port for panel or connector. > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + anx7625_bridge: encoder@58 { Drop any unused labels. > + compatible = "analogix,anx7625"; > + reg = <0x58>; > + enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + mipi2dp_bridge_in: port@0 { > + reg = <0>; > + anx7625_in: endpoint { > + remote-endpoint = <&mipi_dsi>; > + }; > + }; > + > + mipi2dp_bridge_out: port@1 { > + reg = <1>; > + anx7625_out: endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > + }; > + }; > -- > 2.7.4 >