Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp591256ybh; Thu, 12 Mar 2020 07:35:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvEYzapPg4D/tZF60xL4zUUes9KmRfJNdv6SB8TTJzSzTUPm19+J5O1NtuQ0UV8jOhqXoLk X-Received: by 2002:a9d:264a:: with SMTP id a68mr6543407otb.176.1584023706040; Thu, 12 Mar 2020 07:35:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584023706; cv=none; d=google.com; s=arc-20160816; b=jIj/GKCEBm4FEVUIqR4DWqagb/ZCsoPYr2BjSVHYbFrYglW0asXUH6f08BepNbXGKG CxzDy5n1F8/gyrbKP9J6F660j7yaWi+hyMxfCfOFEIb7NZYryEb32v1EBLJWOhoyCil8 qHQQv9KSyxEMDi1jsWJJsL07ESUnOHdS/G6kbqH/oxJGqASFe+9J7n8FxRnu73fB/3fc OPHy9795/rcJNedQ0h2O4UfrPXFxGutr1oHL6JvzI7D0cjM+Z1upElKTuYnAxhk6WWAx mbYhTgTxlo/AlF5zvpxpPLrPW1zbwui5aGrJIKK7QTnmeJ7WfAbfw1OrkYGlZ2lMdjc1 ng1A== 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=V6JalVY/OlpGiCxi/T9AAYxTHelWMtIH6Urn1Gvu1h0=; b=o8HM1OWzwWIsdXhsiCQMDNmKoEJgZvqN+dlbAbik1KZlrKLEvylohsWv4NKgnkkVJc UCkcWF2EYin80tE3S0aHr4ezGEhEh7TxLj0C/RdgNJCNmHhiEf5S17NHfR4fCMly4gqU gX7v/+aXByARHEjSrLXCIY2FqF3cxj19RVlzVPbPGN93mXP7LY6dhJgntQtF3d8M+yeA ESPgeXgKE+1ei9wgeIKYepTtazDhcVnWziQII4YGdYCN0v33hcXMpKO52/zVx0VrY+sk bUXx8Rn8VetD12asqHiISgLfFsKQZskx3Gg8lV0/y7ScJE38HyDixisDg52bQinsF4zr 3z2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ujwItTFW; 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 v1si3040139otj.204.2020.03.12.07.34.53; Thu, 12 Mar 2020 07:35: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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ujwItTFW; 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 S1727578AbgCLOdM (ORCPT + 99 others); Thu, 12 Mar 2020 10:33:12 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:53012 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727505AbgCLOdM (ORCPT ); Thu, 12 Mar 2020 10:33:12 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B9FC65F; Thu, 12 Mar 2020 15:33:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584023590; bh=HcQB9Xy2uexkm38VBtX52etqOWXe+C3DlyJo4F6NXB4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ujwItTFWan1VCw9gjNez+hwU1uYE5Q8fFPGn+HqVz7GGlwFMCNWOrM82L2bmzrDaJ yjHrilVwq8Xhi5XfevmbaYUeFl/mYXjdEiuUGJKSZN8LhwyVSeU9dDQTuoxShVda8q M0GjH+zB5oAfoFeMhmdlaBMhiqgg8CT+Vmtsxwm4= Date: Thu, 12 Mar 2020 16:33:07 +0200 From: Laurent Pinchart To: Vinay Simha BN Cc: Andrzej Hajda , David Airlie , Daniel Vetter , Rob Herring , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH 1/2] dt-binding: Add DSI/LVDS tc358775 bridge bindings Message-ID: <20200312143307.GC4876@pendragon.ideasonboard.com> References: <1583920112-2680-1-git-send-email-simhavcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1583920112-2680-1-git-send-email-simhavcs@gmail.com> 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 Hello Vinay, Please take into account the review comments from v1. We can discuss them in replies to v1 if you have any question. I'll skip reviewing this version. On Wed, Mar 11, 2020 at 03:18:24PM +0530, Vinay Simha BN wrote: > Add yaml documentation for DSI/LVDS tc358775 bridge > > Signed-off-by: Vinay Simha BN > > --- > v1: > Initial version > --- > .../bindings/display/bridge/toshiba-tc358775.yaml | 174 +++++++++++++++++++++ > 1 file changed, 174 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba-tc358775.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba-tc358775.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba-tc358775.yaml > new file mode 100644 > index 0000000..e9a9544 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/toshiba-tc358775.yaml > @@ -0,0 +1,174 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/toshiba-tc358775.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > + > +title: Toshiba TC358775 DSI to LVDS bridge bindings > + > +maintainers: > + - Vinay Simha BN > + > +description: | > + This binding supports DSI to LVDS bridge TC358775 > + > +properties: > + compatible: > + const: toshiba,tc358775 > + > + reg: > + maxItems: 1 > + description: i2c address of the bridge, 0x0f > + > + tc, dsi-lanes: 1 > + maxItems: 1 > + description: Number of DSI data lanes connected to the DSI host. It should > + be one of 1, 2, 3 or 4. > + > + tc, dual-link: 1 > + maxItems: 1 > + description: To configure the LVDS transmitter either as single-link or dual-link. > + > + vdd-supply: > + maxItems: 1 > + description: 1.2V LVDS Power Supply > + > + vddio-supply: > + maxItems: 1 > + description: 1.8V IO Power Supply > + > + stby-gpios: > + maxItems: 1 > + description: Standby pin, Low active > + > + reset-gpios: > + maxItems: 1 > + description: Hardware reset, Low active > + > + ports: > + type: object > + > + properties: > + port@0: > + type: object > + description: | > + DSI Input. The remote endpoint phandle should be a > + reference to a valid mipi_dsi_host device node. > + port@1: > + type: object > + description: | > + Video port for LVDS output (panel or connector). > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - dsi-lanes > + - vdd-supply > + - vddio-supply > + - stby-gpios > + - reset-gpios > + - ports > + > +examples: > + - | > + i2c@78b8000 { > + /* On High speed expansion */ > + label = "HS-I2C2"; > + status = "okay"; > + > + tc_bridge: bridge@f { > + status = "okay"; > + > + compatible = "toshiba,tc358775"; > + reg = <0x0f>; > + > + tc,dsi-lanes = <4>; > + tc,dual-link = <0>; > + > + vdd-supply = <&pm8916_l2>; > + vddio-supply = <&pm8916_l6>; > + > + stby-gpio = <&msmgpio 99 GPIO_ACTIVE_LOW>; > + reset-gpio = <&msmgpio 72 GPIO_ACTIVE_LOW>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + d2l_in: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + d2l_out: endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > + }; > + }; > + > + panel: auo,b101xtn01 { > + status = "okay"; > + compatible = "auo,b101xtn01", "panel-lvds"; > + power-supply = <&pm8916_l14>; > + > + width-mm = <223>; > + height-mm = <125>; > + > + data-mapping = "jeida-24"; > + > + panel-timing { > + /* 1366x768 @60Hz */ > + clock-frequency = <72000000>; > + hactive = <1366>; > + vactive = <768>; > + hsync-len = <70>; > + hfront-porch = <20>; > + hback-porch = <0>; > + vsync-len = <42>; > + vfront-porch = <14>; > + vback-porch = <0>; > + }; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&d2l_out>; > + }; > + }; > + }; > + > + mdss@1a00000 { > + status = "okay"; > + > + mdp@1a01000 { > + status = "okay"; > + }; > + > + dsi@1a98000 { > + status = "okay"; > + .. > + ports { > + port@1 { > + dsi0_out: endpoint { > + remote-endpoint = <&d2l_in>; > + data-lanes = <0 1 2 3>; > + }; > + }; > + }; > + }; > + > + dsi-phy@1a98300 { > + status = "okay"; > + .. > + }; > + }; -- Regards, Laurent Pinchart