Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp683499ybi; Fri, 2 Aug 2019 02:33:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2MslYSnMWlOQtWsAWbjTLo2a3Hb8tOIMczFxL6wB0O5uq6ELnm5M/xvgrTgNQPGaAd9mv X-Received: by 2002:a17:902:5a2:: with SMTP id f31mr127832789plf.72.1564738422879; Fri, 02 Aug 2019 02:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564738422; cv=none; d=google.com; s=arc-20160816; b=z+UnXiUFNf5qPoWIb84U15Kp3J8japChoJOkyN/D6vNR3/xcZFhN3utg/QK/GjQsyy URFzgCyGS8K5PoMiZWZ1Az5RPcEt3K4QGGqDXWJPFpG1sxk5Xqfb8l+n7Do5q8e0/H45 X9lU52fEDuC2DNn/LHQZ58NGxyQa/eUauFleaFf7FLIfvsSLhk3Hm3qVPls7lN0LxPhv seasF4zLTGHv7XcyTjrhpWNXqdWDqR5QwJFWkOb7lnb7Kzu+NSuQJsVNGuSgd86sHDP1 U+LBO/oMC+cLMpduVDgLWMyAZVOMnQRyPl4Rls2XTeQy120U0sMQIPtDvNagQXG8KgDF kcYw== 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=kKfIxLGRUiqvAvg0EOpTwgPcF6f7it60rIcC4aq52bs=; b=0c9TMO4lscpkmzonY3GfcowjQU/hu/jht3QwXvXBzTbWibvs11JgBrWXp6QxybNLSV LP+OeZqbcfBhjUr59MxzcO4SrzUWl2nwRq34TjbwV6lcjqHbOXAD+m1+49WGpGICaZoW jIwCHhQVJMHYXThxp2VlJyr7+Lyo1ar+Xa3988DbnEcQzcuvk4BkV7ANcQcuPVGwhF29 6b7ewt5FYNY0d8kxp4qtO8AOoOPjko4V4E59v0tX8oB2v49N034XzcymJpNbwW+fZaMQ nCRMIlgoc2dHuqdCRw1izjGbBHSHklWkzA1CMee4AIZ7hUTRo9KGM2/YH76VVpVqNGVy eM7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ByplI92x; 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 q19si37913384pgg.521.2019.08.02.02.33.27; Fri, 02 Aug 2019 02:33:42 -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=ByplI92x; 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 S2390644AbfHBIA1 (ORCPT + 99 others); Fri, 2 Aug 2019 04:00:27 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:42168 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728268AbfHBIA0 (ORCPT ); Fri, 2 Aug 2019 04:00:26 -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 36C14CC; Fri, 2 Aug 2019 10:00:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1564732824; bh=fHqUhHxv+dowCFnK+aKicU4wDKUIzOBIeuo7dm5vB4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ByplI92xC0wpHm5YCI11P+eb6h5qb4wIW9Qa2sdGhh8DVpMeKRCCmToK9LYCrxMqH DeTROF2bfKL3qiHRKLuxTdZU160cqtSOqWxn1p00W8L3Yio92VqXMLj0Nr8PiSXKtO ksTIKB9MAbKL3K4fVcWbAogOppUFhyMG1uq1fEHQ= Date: Fri, 2 Aug 2019 11:00:14 +0300 From: Laurent Pinchart To: Fabrizio Castro Cc: Kieran Bingham , Jacopo Mondi , Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Sam Ravnborg , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH/RFC 03/12] dt-bindings: panel: lvds: Add dual-link LVDS display support Message-ID: <20190802080014.GD5008@pendragon.ideasonboard.com> References: <1564731249-22671-1-git-send-email-fabrizio.castro@bp.renesas.com> <1564731249-22671-4-git-send-email-fabrizio.castro@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1564731249-22671-4-git-send-email-fabrizio.castro@bp.renesas.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 Hi Fabrizio, Thank you for the patch. On Fri, Aug 02, 2019 at 08:34:00AM +0100, Fabrizio Castro wrote: > Dual-link LVDS displays have two ports, therefore document this > with the bindings. > > Signed-off-by: Fabrizio Castro > --- > .../bindings/display/panel/panel-lvds.txt | 91 ++++++++++++++++------ > 1 file changed, 67 insertions(+), 24 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > index 250850a..07795441 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > +++ b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > @@ -41,7 +41,8 @@ Required nodes: > > - panel-timing: See panel-common.txt. > - ports: See panel-common.txt. These bindings require a single port subnode > - corresponding to the panel LVDS input. > + (for a single link display) or two port subnodes (for a dual link display) > + corresponding to the panel LVDS input(s). I think you should expand this a bit to explain what the ports correspond to in the dual link mode. > LVDS data mappings are defined as follows. > @@ -92,30 +93,72 @@ CTL3: 0 > Example > ------- > > -panel { > - compatible = "mitsubishi,aa121td01", "panel-lvds"; > - > - width-mm = <261>; > - height-mm = <163>; > - > - data-mapping = "jeida-24"; > - > - panel-timing { > - /* 1280x800 @60Hz */ > - clock-frequency = <71000000>; > - hactive = <1280>; > - vactive = <800>; > - hsync-len = <70>; > - hfront-porch = <20>; > - hback-porch = <70>; > - vsync-len = <5>; > - vfront-porch = <3>; > - vback-porch = <15>; > +Single port: > + panel { > + compatible = "mitsubishi,aa121td01", "panel-lvds"; > + > + width-mm = <261>; > + height-mm = <163>; > + > + data-mapping = "jeida-24"; > + > + panel-timing { > + /* 1280x800 @60Hz */ > + clock-frequency = <71000000>; > + hactive = <1280>; > + vactive = <800>; > + hsync-len = <70>; > + hfront-porch = <20>; > + hback-porch = <70>; > + vsync-len = <5>; > + vfront-porch = <3>; > + vback-porch = <15>; > + }; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&lvds_encoder>; > + }; > + }; > }; > > - port { > - panel_in: endpoint { > - remote-endpoint = <&lvds_encoder>; > +Two ports: > + panel { > + compatible = "advantech,idk-2121wr", "panel-lvds"; > + > + width-mm = <476>; > + height-mm = <268>; > + > + data-mapping = "vesa-24"; > + > + panel-timing { > + clock-frequency = <148500000>; > + hactive = <1920>; > + vactive = <1080>; > + hsync-len = <44>; > + hfront-porch = <88>; > + hback-porch = <148>; > + vfront-porch = <4>; > + vback-porch = <36>; > + vsync-len = <5>; > + }; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + lvds0_panel_in: endpoint { I would name the label panel_in0 and panel_in1 below to have a common prefix showing that both refer to the same panel. > + remote-endpoint = <&lvds0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + lvds1_panel_in: endpoint { > + remote-endpoint = <&lvds1_out>; > + }; > + }; > }; > }; > -}; -- Regards, Laurent Pinchart