Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2347482ybl; Thu, 29 Aug 2019 07:06:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6Uoe/j5FxlXHTP4QAUV1U9zbP2bnd4LkvPr/RhdY/ttoAwFAq9Y3pPTZGcTlX0lsZ7llu X-Received: by 2002:a17:902:ab8f:: with SMTP id f15mr10213060plr.301.1567087567414; Thu, 29 Aug 2019 07:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567087567; cv=none; d=google.com; s=arc-20160816; b=zfvVAm8LVMkhJ33C39CSPzyf+Y7hBbvVVSROOOfi3MnCr33k6aD7NCRkJvqFv6DGNI dk/8R39jvky7FX2ZYeQ0zGCbV5gG3MjHGQVtQUfh/OJme9pZw5sQElB/BmmDXIwfJDJ1 nrGApntq9wcgLUyo4v8llxTEff5/lIT1FlM4/PJV/awBMKb8PuNJEiXLHc8lD5Rri8kf jchquccF5qiPlDIQVsO/D2Yq54UzL6EPSUAxzXqLi4akDZeuePjD+eagFaj0Nu9YvnRb tp3CpHIiTX+d8v2QPB5L1EIR9B/Z/fQpQcTp1yqhLCS06LzJvBBRYPjreFfaVKHS2vwD G+tg== 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=bHOdCz78w/NPpgQYKIRM+SMcGoXgxlU8drShDoIJYck=; b=lyBUWo3aExwOQ+xXRzCujVQZZzDSmDmQZd+LUAl8EzyisWTeSuya+oBsWz3Hz6pUj5 N/G/TlJNa48z8xvnrKcYdmA+a9O+odZfGiX73PnyHvKyDy+5Rt+/xixMzcozHzZ/P+cN FgbR9eK1f8jcDGel7zq52Pk3yEeY7uUVLsw3fpQnXOZuuOsVbHxRrKHVUvt2W7AOA5Gl e07dZLc9LBt6NFZHvcqOjbXYqNzRvh4GHwaxjWeA4u8eTDipKGQD4ECd53ioTn0SSSs+ HmWpo0s8IIN5bu3NZKfRf8aj36YWvK6sYvz96u5Upka6lG3OZznc1OlB44jUsDmURouH RVeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m6ug5skv; 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 63si2757293pfz.212.2019.08.29.07.05.50; Thu, 29 Aug 2019 07:06:07 -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 header.i=@kernel.org header.s=default header.b=m6ug5skv; 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 S1728056AbfH2ODZ (ORCPT + 99 others); Thu, 29 Aug 2019 10:03:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:56668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbfH2ODY (ORCPT ); Thu, 29 Aug 2019 10:03:24 -0400 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (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 5206123428; Thu, 29 Aug 2019 14:03:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567087403; bh=R+LyN7YD9OZpXktE/UY/Qz8u2pZtDP3m3LN1pHcseyI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=m6ug5skv5gxH6F4G4GkDURiWoP18bgo1JHj7WztwX/K2MQgE2CF5mnlhAst2NkOrb TiCFHwQm7TGWYa97q6MUWMxuypUkfPCvavKaFKr4mwPIkztU/Znb1n/pC4TLIUjOPw xauQiGLn1GsOaEpJBfyGCuzap8oRfeIp6kb/vitQ= Received: by mail-qk1-f170.google.com with SMTP id u190so3025115qkh.5; Thu, 29 Aug 2019 07:03:23 -0700 (PDT) X-Gm-Message-State: APjAAAVxkWpO2qst8iOooo/mVYv/bICAql9VvQvbgW2wMHqKveMF+GWF 9uDdA+m2T2SP6GkcqP4d4BRKoODZwC5jvbROyg== X-Received: by 2002:ae9:e212:: with SMTP id c18mr3499796qkc.254.1567087402375; Thu, 29 Aug 2019 07:03:22 -0700 (PDT) MIME-Version: 1.0 References: <1567017402-5895-1-git-send-email-fabrizio.castro@bp.renesas.com> <1567017402-5895-2-git-send-email-fabrizio.castro@bp.renesas.com> In-Reply-To: <1567017402-5895-2-git-send-email-fabrizio.castro@bp.renesas.com> From: Rob Herring Date: Thu, 29 Aug 2019 09:03:10 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/8] dt-bindings: display: Add bindings for LVDS bus-timings To: Fabrizio Castro Cc: David Airlie , Daniel Vetter , Mark Rutland , dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das , "open list:MEDIA DRIVERS FOR RENESAS - FCP" , Laurent Pinchart , Kieran Bingham , Jacopo Mondi , Sam Ravnborg 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 Wed, Aug 28, 2019 at 1:36 PM Fabrizio Castro wrote: > > Dual-LVDS connections need markers in the DT, this patch adds > some common documentation to be referenced by both panels and > bridges. > > Signed-off-by: Fabrizio Castro > > --- > v2->v3: > * new patch > --- > .../bindings/display/bus-timings/lvds.yaml | 38 ++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bus-timings/lvds.yaml > > diff --git a/Documentation/devicetree/bindings/display/bus-timings/lvds.yaml b/Documentation/devicetree/bindings/display/bus-timings/lvds.yaml > new file mode 100644 > index 0000000..f35b55a > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bus-timings/lvds.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0 (GPL-2.0-only OR BSD-2-Clause) is preferred for new bindings. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bus-timings/lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Common Properties for bus timings of LVDS interfaces > + > +maintainers: > + - Thierry Reding > + - Fabrizio Castro > + > +description: | > + This document defines device tree properties common to LVDS and dual-LVDS > + interfaces, where a dual-LVDS interface is a dual-link connection with even > + pixels traveling on one connection, and with odd pixels traveling on the other > + connection. > + This document doesn't constitue a device tree binding specification by itself typo: constitute > + but is meant to be referenced by device tree bindings. > + When referenced from panel or bridge device tree bindings, the properties > + defined in this document are defined as follows. The panel and bridge device > + tree bindings are responsible for defining whether each property is required > + or optional. > + > +properties: > + dual-lvds-even-pixels: > + type: boolean > + description: > + This property is specific to an input port of a sink device. When The schema should define what nodes these go in. The description seems to indicate in 'port' nodes (or endpoint?), but your use in the panel binding puts them in the parent. > + specified, it marks the port as recipient of even-pixels. > + > + dual-lvds-odd-pixels: > + type: boolean > + description: > + This property is specific to an input port of a sink device. When > + specified, it marks the port as recipient of odd-pixels. However, I don't think you even need these. A panel's port numbers are fixed can imply even or odd. For example port@0 can be even and port@1 can be odd. The port numbering is typically panel specific, but we may be able to define the numbering generically if we don't already have panels with multiple ports. Also, aren't there dual link DSI panels? Rob