Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp15208imu; Tue, 22 Jan 2019 12:55:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN60KLoBAKslZybTJQW6vR4KDCBP+JiTOh2qrT0JvX9RO7x7cOkZNX6CLlidLewAIQihp1OS X-Received: by 2002:a63:2d46:: with SMTP id t67mr34085404pgt.140.1548190525996; Tue, 22 Jan 2019 12:55:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548190525; cv=none; d=google.com; s=arc-20160816; b=tjlfymR9mpDs1k8+8qNw4UDETxs4IxcV39y4/y+egk8ueRxQBRhpCg/54wjMig7ERp fYKwAr9ThgyYmnFq67YIU1nPoX0X9zS0+wmrmG6GxeDB6PATX2lDgITgf4Vz6b5MA20G mOA5TqkcYFp8gSQPVSuwVL3obcetHGJpCRpcYLY6gkdT/GoIQ/wEudWTFrRkX7LAwqNE y56SUtxCuDNp7OUSebripXbc7uZggMuAOYYt1gJ2OXjkIaLD03+Nrnoh0+FdhzQINbJU mSfflsB903ShQgvN/NwrXBhdgN1HGwhXOkYhbg1oxRAZpIKLw2rtlUFf/SQyPhs0uonR WnFQ== 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=WpBF4jAIUy+5yM4QQRmOz4OD0mUg//SuV+fFHt9aHns=; b=M8gj8uPXzJoPMwWaU0ZPFHnMj5+M7ghk64k4C9y8S8QtoTHKk6a+3yBqj8tzGZb5vi I0YHZDtGKiX+zYg3d6tfmXaDctmAIeVm1kLcv0b9fKY46OfKJfATZpursmksPUkraaSk vpeh3qD8+Wz8XQJ33k1rXJUlm+sNBzhon5RYF4EP18+h73l4d0RYN+xg0t4Iiz5R63hK y5aayGfssKkWuk2x5baf6rdHgLloZ04LYAiLAL37fTXXeHh2AEpwFTKDsLnGmEqkwsdD WNvnbMT7rU404tv3OT4vQ7Fcg8s98aspLBO7SuEiAlFO9zvDLrHZDIB7++eSd1caJcfC ZPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Q9WOOGSe; 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 g33si16690759pgm.426.2019.01.22.12.54.58; Tue, 22 Jan 2019 12:55:25 -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=Q9WOOGSe; 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 S1726359AbfAVUxt (ORCPT + 99 others); Tue, 22 Jan 2019 15:53:49 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:55386 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfAVUxt (ORCPT ); Tue, 22 Jan 2019 15:53:49 -0500 Received: from pendragon.ideasonboard.com (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 93780575; Tue, 22 Jan 2019 21:53:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1548190426; bh=QGo0DUwfA7Z7zXNfbOwkABnYildWi/mItLvCeCe0cno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q9WOOGSeNjlxOuYfwtkGyQ4eKz7hOohudvxuo/7LU94kiu8wu1tblvzqLS/y9q+aX 3HNQOF8OYyNGrV01H6OXZM5ER7jHSSD4817gDgF0VnINagMJfoy70enXF0SzmsmRnX pL52gM8nyWZ7LOQtnUlcIeipo8FKecpis03sWwcU= Date: Tue, 22 Jan 2019 22:53:45 +0200 From: Laurent Pinchart To: Rob Herring Cc: Peter Rosin , "linux-kernel@vger.kernel.org" , David Airlie , Mark Rutland , Archit Taneja , Andrzej Hajda , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH v3 1/5] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter Message-ID: <20190122205345.GF3264@pendragon.ideasonboard.com> References: <20181229070649.21308-1-peda@axentia.se> <20181229070649.21308-2-peda@axentia.se> <20190111144904.GA5052@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190111144904.GA5052@bogus> 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, On Fri, Jan 11, 2019 at 08:49:04AM -0600, Rob Herring wrote: > On Sat, Dec 29, 2018 at 07:07:19AM +0000, Peter Rosin wrote: > > DS90C185 has a shutdown pin which does not fit in the lvds-transmitter > > binding, which is meant to be generic. > > > > The sister chip DS90C187 is similar to DS90C185, describe it here as well. > > > > Signed-off-by: Peter Rosin > > --- > > .../bindings/display/bridge/lvds-transmitter.txt | 8 +--- > > .../bindings/display/bridge/ti,ds90c185.txt | 55 ++++++++++++++++++++++ > > 2 files changed, 56 insertions(+), 7 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt b/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt > > index 50220190c203..fd39ad34c383 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt > > +++ b/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt > > @@ -22,13 +22,7 @@ among others. > > > > Required properties: > > > > -- compatible: Must be one or more of the following > > - - "ti,ds90c185" for the TI DS90C185 FPD-Link Serializer > > - - "lvds-encoder" for a generic LVDS encoder device > > - > > - When compatible with the generic version, nodes must list the > > - device-specific version corresponding to the device first > > - followed by the generic version. > > I think you should keep something here. I'd reword it to say any encoder > with additional properties must have a device specific compatible in > addition. I was going to mention this too. Maybe - compatible: Shall contain a device-specific compatible string follow by "lvds-encoder". That's stronger than Rob's suggestion, as I don't think we should allow omitting the device-specific compatible string in any case to make sure we can preserve backward compatibility in the future. > > +- compatible: Must be "lvds-encoder" > > > > Required nodes: > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt b/Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt > > new file mode 100644 > > index 000000000000..e575f996959a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/bridge/ti,ds90c185.txt > > @@ -0,0 +1,55 @@ > > +Texas Instruments FPD-Link (LVDS) Serializer > > +-------------------------------------------- > > + > > +The DS90C185 and DS90C187 are low-power serializers for portable > > +battery-powered applications that reduces the size of the RGB > > +interface between the host GPU and the display. > > + > > +Required properties: > > + > > +- compatible: Should be > > + "ti,ds90c185", "lvds-encoder" for the TI DS90C185 FPD-Link Serializer > > + "ti,ds90c187", "lvds-encoder" for the TI DS90C187 FPD-Link Serializer s/ for/ for/ With these fixed, Reviewed-by: Laurent Pinchart > > + > > +Optional properties: > > + > > +- powerdown-gpios: Power down control GPIO (the PDB pin, active-low) > > + > > +Required nodes: > > + > > +The devices have two video ports. Their connections are modeled using the OF > > +graph bindings specified in Documentation/devicetree/bindings/graph.txt. > > + > > +- Video port 0 for parallel input > > +- Video port 1 for LVDS output > > + > > + > > +Example > > +------- > > + > > +lvds-encoder { > > + compatible = "ti,ds90c185", "lvds-encoder"; > > + > > + powerdown-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; > > + > > + ports { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + port@0 { > > + reg = <0>; > > + > > + lvds_enc_in: endpoint { > > + remote-endpoint = <&lcdc_out_rgb>; > > + }; > > + }; > > + > > + port@1 { > > + reg = <1>; > > + > > + lvds_enc_out: endpoint { > > + remote-endpoint = <&lvds_panel_in>; > > + }; > > + }; > > + }; > > +}; -- Regards, Laurent Pinchart