Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7631928imu; Fri, 28 Dec 2018 01:57:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kA6ohmJyOysSqeGx+G+7yunO7PduWofJtjW4pzzVAWWuLEtcBPIx9auta4gECwYfHvVF3 X-Received: by 2002:a17:902:b83:: with SMTP id 3mr25738870plr.42.1545991068793; Fri, 28 Dec 2018 01:57:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545991068; cv=none; d=google.com; s=arc-20160816; b=y5KJbE4bupSrMal/20wxiNfJquOXFds0ijXTc6dbuN6PAZ65e4z83i7q8fGtkbSYja 4pTGgovL6N12vyTgHQ8T9/fRJPOGsV1HIBLpTzXGrhSxGiwjhReQfeviEUNgQ54U2CLw DJiH2PXU48YJHlHC4h3mEsZhbtzDeDmnkfWEhCgvr9cubWnSnPDB2cfW1E6zsTSLoy53 XCV3m8zw9KKns2dcfDEVItgw4EgoacJyE2dExJpF42HFoVAuLRBvNdSX1ODcYu6nP9w/ O7Ox/pl7Wla5UQLDBr3Ga1tniA7lX01befe0uYk8qlv9/DuHfYe5DMahdscR2GPaWKxE qowA== 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=wcIs0jYxaDCY9d5DGstg8bzmeo8EqvUv156DAybiExA=; b=wV/HJHRWWhVL3lU5YA1KWa8FbCnqUjQORy97oJhtNvnGID3LUP2LKoWvBcqTGJOBXr oeZ9MfbVwVrbLk8frWyUiJfAr/i7c3dkB5gjUFHyWMxdCVY8d1mLroR27ZWO61iCyfAZ So/LBgAj/ZleFB5gr2pKzg3WDZK606n837w1GXsc3K+CydZ35LxOTeIKkp/KNJd/tLzj gNWfiyYVJhTl1+ecgHHRZcLWp2CRlpV1OYnxoy1yOwnXDOuzI5LhGWqapEYM+JpnkkjB 0lJN1OmjD9bNLyxy0xV/U6MO/xmaD7h0Butj96f1dicFPKx32gcTaUtijVJe3BpmxGF3 nEKA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k62si2241216pfc.208.2018.12.28.01.57.21; Fri, 28 Dec 2018 01:57:48 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730323AbeL0V1b (ORCPT + 99 others); Thu, 27 Dec 2018 16:27:31 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:54336 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730299AbeL0V1a (ORCPT ); Thu, 27 Dec 2018 16:27:30 -0500 Received: by mail-it1-f196.google.com with SMTP id i145so26091693ita.4; Thu, 27 Dec 2018 13:27:29 -0800 (PST) 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=wcIs0jYxaDCY9d5DGstg8bzmeo8EqvUv156DAybiExA=; b=Y517z1opTWLjTLVDJ8gRcmHL8eIHuFzUpyIueMsp7SiLLRH7SxRdPOyOM3BvH6wJ2B EqM+20vaUPRtCl9ciHpezbjB7+jxs2MAeaHnjnkZTdty6M0zgHUD69H1ftcC0ck6j5qF ZjTt+x5Y2ZiVVPAj/g4tUrw7gfJU9OtUSVStGAhMRk2V3jLzrx0Slv2twzisBvCtDGDy dZ6SHBkDUoG+AwtRQ2VOfeEWXfeD51ZCJqZyWjSo1Z0Ep6Ezzv8vNtyLHuKNkZIjDuAL n0fw7icyiwWBEzrqf5dX1YwP08l4aq8zjECI2e5usPnjFGz1HkZEiCurtpbesOi7lzRG 1KqQ== X-Gm-Message-State: AA+aEWZCb4W4AOP7S34kUZSYTNieAvyjSWNiMj1F2lPLPvbNOsoiZf7K a/v+mgwoCBCEBjMcZoh9zA== X-Received: by 2002:a02:590:: with SMTP id 16mr16861160jal.48.1545946049135; Thu, 27 Dec 2018 13:27:29 -0800 (PST) Received: from localhost ([24.51.61.172]) by smtp.gmail.com with ESMTPSA id c2sm17688610ioh.29.2018.12.27.13.27.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Dec 2018 13:27:28 -0800 (PST) Date: Thu, 27 Dec 2018 15:27:27 -0600 From: Rob Herring To: Peter Rosin Cc: linux-kernel@vger.kernel.org, Peter Rosin , David Airlie , Mark Rutland , Archit Taneja , Andrzej Hajda , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter Message-ID: <20181227212727.GA26893@bogus> References: <20181219130449.31641-1-peda@lysator.liu.se> <20181219130449.31641-2-peda@lysator.liu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181219130449.31641-2-peda@lysator.liu.se> 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, Dec 19, 2018 at 02:04:47PM +0100, Peter Rosin wrote: > From: Peter Rosin > > 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. > +- 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..a13e778503e6 > --- /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 > + > +Optional properties: > + > +- pwdn-gpios: Power down control GPIO (the PDB pin, active-low) powerdown-gpios is the standard name. > + > +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"; > + > + pwdn-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>; > + }; > + }; > + }; > +}; > -- > 2.11.0 >