From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 876A9C433DF for ; Thu, 14 May 2020 14:54:46 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6050420643 for ; Thu, 14 May 2020 14:54:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6050420643 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 32AC987A9E; Thu, 14 May 2020 14:54:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tA7SIKUnIR5v; Thu, 14 May 2020 14:54:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1803487AA0; Thu, 14 May 2020 14:54:41 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E366B1BF3D6 for ; Thu, 14 May 2020 14:54:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DA442228E2 for ; Thu, 14 May 2020 14:54:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqG+O43E-UVf for ; Thu, 14 May 2020 14:54:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by silver.osuosl.org (Postfix) with ESMTPS id 33F3922721 for ; Thu, 14 May 2020 14:54:35 +0000 (UTC) Received: by mail-oi1-f196.google.com with SMTP id j145so2935797oib.5 for ; Thu, 14 May 2020 07:54:35 -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=l7NJSDv7sSfpYVprAoSCRINBNxXRqchI+6i/W5PsRFA8q8pRlk1mlqevEUjXppYmU6 M8xphbyPPMSQt0YIhkUTdEZPGeDmpjVfrEhukAfJ59opcgHiuiQgd4Vkhk89el0F4UEe FCbVNKmBFYlZZBunxqUODGekQZMjvMzG+T5w/9ilsuuQYAVbheX8OLok1R3I9Vw9ubza zgcpLkNOHMoII2APBWoaxOWz2DJ2WlUzSfClr5m1FQLj+2lkC+sFUb3uiUG5HK6VvcBa sl2/Kd6zdRZkCwhR+x50KDGrm3M4gEfIFnPQEXHF/8LliV1yCWP4PPRXifitjAJXG0OS WX9w== X-Gm-Message-State: AGi0PuZhx/koZIi8It0eFgiVeF7vvZ79+Q8w5C7U0QBHZhs0Pk2+oo2C N2c1iIRw+dDuB+NeXHsKfQ== X-Google-Smtp-Source: APiQypKK3YHethFZkt7Xx5I2o7MWAZ0bYDIOxjjLF2SWgo5qkdd1iKlpLeZMoOaRUFuLjsQuL2Qxeg== 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 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Jernej Skrabec , Nicolas Boichat , Pi-Hsun Shih , Nicolas Boichat , David Airlie , Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Jonas Karlman , Laurent Pinchart , Daniel Vetter , Sam Ravnborg , Dan Carpenter , Sheng Pan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" 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 > _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel