Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5084259imu; Wed, 19 Dec 2018 05:26:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/XdMSzTw9tFmLm3YbAq5OrXxDHAZUmH8WJ9gmVkQD+U7wNdggqw6TC++Do+bLd1n9v8KS28 X-Received: by 2002:a63:42c1:: with SMTP id p184mr19263266pga.202.1545226010284; Wed, 19 Dec 2018 05:26:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545226010; cv=none; d=google.com; s=arc-20160816; b=LGlTwUIp/ihqLAWjxD+u6jJPxDjdAcCwT8y67cV3pc7hCwbjUtB5I46e5TIEhGzCmX 0hKthwhSARAwEqU+zTqDgERic+iYmOtVXdNIpWn0h9vsNCuQh9DlyWzHE0DhzAL0xk+O bBeO5yv5+9+plkDCcp777zUMmxUiK/agVOILpyHJznMgmz+B44xd8DzSEpkomWjlMxtC eOWPJH2vHnKRvCVbTD8dmdnFZh6dz4FZGvg26yEdw7833ooTSFVzBcSWUPN2q1le/FUv jjFGow7Jk/ZW6NXsu2chKbpJi5pKr3EVtrLfgIyC5vlTb2P0QkYOdQz5EPpFz5trhbhy 2geA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=BbrRQ+3sSOd/B4Ver3awYRf9kwg/36Q23tHULdUpedA=; b=dOd+gEkgc8m1KJB7ARPnehsHsx6u3s0zxE7Tljg/uXUTotMEZDHVdES0UFx12ssMCM AP/MDZXp0brWgToUqJsBshoZnuX6luTvGPmgLPSXp5H3K+bmcVFC0V9sMD/smlOZPOYd qZ+E9YzjdX4MeKLsPfvhBoFFjiIxlMEP7IFZRm1XyKxbbJbTcSFewhioX02n5a+TCWv8 TTx3oCmbhQkN5paZT8pq2N2qxYovR6ZYREJF4InXMlqjPM2dSjaAkAUyc9TSRjca3zDS uji0XzlN2A7OCD5h9ksLwr4rnQDhB2C6ax8J8rjDtxaURL5CGDO1ic8mWp/CD9GAzyZE AbQg== 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=liu.se Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a193si17529781pfa.214.2018.12.19.05.26.33; Wed, 19 Dec 2018 05:26:50 -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=liu.se Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728903AbeLSNLp (ORCPT + 99 others); Wed, 19 Dec 2018 08:11:45 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]:60435 "EHLO mail.lysator.liu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728809AbeLSNLh (ORCPT ); Wed, 19 Dec 2018 08:11:37 -0500 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 693FA4002E; Wed, 19 Dec 2018 14:05:01 +0100 (CET) Received: from orc.pedanet (c-17f4e255.26241707-0-68616c6d7374616473746164736e6174.bbcust.telenor.se [85.226.244.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 17ADE40005; Wed, 19 Dec 2018 14:05:01 +0100 (CET) From: Peter Rosin To: linux-kernel@vger.kernel.org Cc: Peter Rosin , David Airlie , Rob Herring , Mark Rutland , Archit Taneja , Andrzej Hajda , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter Date: Wed, 19 Dec 2018 14:04:47 +0100 Message-Id: <20181219130449.31641-2-peda@lysator.liu.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181219130449.31641-1-peda@lysator.liu.se> References: <20181219130449.31641-1-peda@lysator.liu.se> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) + +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