Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8540720imu; Fri, 28 Dec 2018 21:36:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/V+EDlfcKAyXmOsH45RiCVCRdh1X9giVrRwaHmbr/+pCV9qDS4BsaU+hxzmIiEWQbMlwZV7 X-Received: by 2002:a62:848d:: with SMTP id k135mr30397208pfd.47.1546061784871; Fri, 28 Dec 2018 21:36:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546061784; cv=none; d=google.com; s=arc-20160816; b=CyfuhAZVTTgeM3xW+KN2+BJyZCMsa5jzFddT+NJWJ0O41bNd1UbS9QeqeyWV71tzOl kaaEcB6p9+w0Fw6EgoOrlxF8NA9z+LowFOdaYTxteBdvYNrklyUs/XdN1ofEEhbB8qW8 Band+cQrSqXoE69aeGgLiEBFGufusiBBhywdeMhABnsrNanWKjJPxfm7jrFxcxUFkypa BWpoUe+Bjk07opWEnbEf3w8RkA5MOVHsrPHA3swuGiVbE/dpLyBwEchEOIokRck+LnE3 h+sPy8QBnMOjhUd3fWE0y/CLelpc3/pQN8Vd2y845q3f/HaQYG/frQzEA0hrxgfJ98Ci akdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=alv/MTyKbZUsY1nnxD8exo99bqrxXurgF7EjqEOF6QI=; b=vXRhYC8OX0f348NOw3vBWKwIhFr68YsQKgaD7gDite8+w5Y6UONrglO4re/+KJAmBH Pr/wqsM5oBXGJu/dSlgROsC4m68nr+xVsWK6EtVk6vE131n5SULA1fmbR55KuwENpfzs jHLtZRzavPhj+mjx6pRfbyz1/WCb1eV/ujvNUGGZQ8pNHfsS4CEL70tbkD8DrrOsP2vB Nqfi1zNGWQglmUrEW9NXqKBxJ/9PG9M5rbkK6s7QGdEaWMCKidCF3oRSdKyu1v842m1o 6awIv0LozSOqzElQ7Wg/9FsAP4SlLb3EoViGcj1PQIGsDnOUi4ZPIvPzy7ezQbeeN5qq 33MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1CM8Tiz9; 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=pass (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 z20si5471807pgv.159.2018.12.28.21.36.09; Fri, 28 Dec 2018 21:36:24 -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 header.i=@kernel.org header.s=default header.b=1CM8Tiz9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387568AbeL1RlB (ORCPT + 99 others); Fri, 28 Dec 2018 12:41:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:39820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727954AbeL1RlA (ORCPT ); Fri, 28 Dec 2018 12:41:00 -0500 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 461B5214C6; Fri, 28 Dec 2018 17:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546018859; bh=91pubcS2yfOViRDqv2dDu8CrrFkjGijS+uXdfol8sRg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=1CM8Tiz9cktLHChPs43kzwr2E4sNADsv2xe86+LGlxKwNbvf+08Ojv991D2+6HL2d SJKCV85J7LTH2WG9Y08KyWIIsFKT5GXQeHqLIMo6nuREd+WareO8P2V0iQSHudPtFX JjrUmse68tvbDCx0aQr2+dtcsCMZbb2YX5T+uqGo= Received: by mail-qt1-f175.google.com with SMTP id d19so23988214qtq.9; Fri, 28 Dec 2018 09:40:59 -0800 (PST) X-Gm-Message-State: AJcUukf60fQGTu1RnX7JC1Fg9oO+pel9NbNsW5IMgoylQXrWUJuNMgOk PSV6y2t0YRimbyg1Ifeg7DzjLp4xEVhZDBNKpg== X-Received: by 2002:a0c:f212:: with SMTP id h18mr27562353qvk.106.1546018858387; Fri, 28 Dec 2018 09:40:58 -0800 (PST) MIME-Version: 1.0 References: <20181219130449.31641-1-peda@lysator.liu.se> <20181219130449.31641-2-peda@lysator.liu.se> <20181227212727.GA26893@bogus> <35e85643-b23c-4958-bb8c-f9536bc8d864@axentia.se> In-Reply-To: <35e85643-b23c-4958-bb8c-f9536bc8d864@axentia.se> From: Rob Herring Date: Fri, 28 Dec 2018 11:40:47 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter To: Peter Rosin Cc: Peter Rosin , "linux-kernel@vger.kernel.org" , David Airlie , Mark Rutland , Archit Taneja , Andrzej Hajda , Laurent Pinchart , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 27, 2018 at 4:54 PM Peter Rosin wrote: > > On 2018-12-27 22:27, Rob Herring wrote: > > 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. > > The lvds-encoder driver handles this binding, and that driver incidentally > also implements the thine,thc63lvdm83d binding which already has a > pwdn-gpios property. Should the thine,thc63lvdm83d binding be updated and > the driver be made to support both properties? > > Since the lvds-encoder driver never had support for the pwdn-gpios (at least > not upstream) I suppose there is also the option to simply go with > powerdown-gpios as you suggest and not bother with support for the > pwdn-gpios property. It is probably safe to just change it given it is not used in any dts nor supported in the driver. Rob