Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1242113pxa; Thu, 13 Aug 2020 04:25:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR9tvFVah3QUq+u8zWuo6ZbVSs+XKwsGNTs2VMxrUW3biLyq2RE7Aey2RtYeNqzbC96oNC X-Received: by 2002:a17:906:6bc9:: with SMTP id t9mr4140592ejs.372.1597317914841; Thu, 13 Aug 2020 04:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597317914; cv=none; d=google.com; s=arc-20160816; b=Hu3WiQ4TodygI0v5d/Q6+0zFNMdZGdbvhDJt7T6GrF9zuyFVH7iSjFfLZJmyjimNCD q5QdEZiJph8rKSgfLG4u4G2wCuJVA4xhE+UPajP3ETp2+K9u4v0EZImaFBAOGbS/RHhk pytiwuSBURWbTRsBXaC+fuva7XM4+WdYPI8w0lJyvZG67L8SoNze4OequXY/vEFJd+Vm EcR3UUmE1xDHaubw1fkQ+FM1VTy0M68rAVX1awCkEiASLIB8oDFMEkKGeBpg+gKQOvw0 S5oVtn7WiTaILhjFuvdqwnN+oh9x2phiEASv7x89R0TnADuWCnHkuW/FQQn+Tw9BJLrR kE2w== 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=0SrbfwtjCL+Ch70ZV12lTDvT9PgGCIle5pOe2njGh38=; b=JDjMwgTfiELImQf+pjSnST+PJvuMsl5aXhMI3V3qo9OKFw+bXQGvNpaq7hZGdyWoVD vsadcSx41gVq5+gLhxTHJl8poEM5LydqfBfbYDXcxR/wwcyLMbJFV7967R0r6TyQnNDJ nuC4UvMj0ubCERL4Lt+WqrAVIzin0kdcHDbNoLmD2vQnu+jRjzz0F37/fCE6HlT15HN7 cPGnsUnAa4b7X3+lJWA81RILyNJ0w8NbqPeEs7sq7m6ikVDeQG/xbapyyyvhpVw7Gt0p ArMxc6tpE0gDuOCjNh0aL9xpeTWdaoLwvY0GeVaLbLrLv8fWvju5A2/dWE/91IiiH8GE vZjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uqSSJl1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v27si2997619edw.469.2020.08.13.04.24.52; Thu, 13 Aug 2020 04:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uqSSJl1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726778AbgHMLV1 (ORCPT + 99 others); Thu, 13 Aug 2020 07:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbgHMLVZ (ORCPT ); Thu, 13 Aug 2020 07:21:25 -0400 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44291C061383; Thu, 13 Aug 2020 04:21:25 -0700 (PDT) Received: by mail-yb1-xb43.google.com with SMTP id e14so3122038ybf.4; Thu, 13 Aug 2020 04:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0SrbfwtjCL+Ch70ZV12lTDvT9PgGCIle5pOe2njGh38=; b=uqSSJl1QBhCjyTIGGHPmllHzdNyHwp5crRG08NLkDMIuGqMzYtAS9sZ9UmerNqbuC8 RoVhDM8VWhxNtjfUpiP1IJs09F00r59FavT3pGpMyD0stSqPf5tuZ2Sqp55V7YMz7/k/ fMrtqojnocJHva2BoZ/XPyQXoSI3DnuL383sQhJhO+ehsq0xQlS7ZTJIfID6quVv8KPo JBX+FSPxQwb1qeD0jnC1k96eXtgIGnXv4YnnYUcy48Qq64qLQedxvBaVZnBGEftXhQoj RmeEz+SnUkpI6Ful0FLbfd0ugGEirEBWRPIgTvV7f/0NmNLGaxjV+a/uupC9fWTwrvaJ 0xnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0SrbfwtjCL+Ch70ZV12lTDvT9PgGCIle5pOe2njGh38=; b=Tv78kA6FEBegQ/JtteKmLI4iZuTL+dU6laAgmx9ZNRijkzrNEOHsqkrcRQitlaf+0n IFGQ6pA21FP4sVzAhHWA9TlOOC/09Z1IgbPOLO5PBLGrtYZ9d0BzoljbKQ92xlidCAuO LlpdwZcXMrSLQpflm6lE/9g78qXtuZ9QxHroz0BjWuKqDlrJ5nx3Sve5EYaAcymJx9H7 bHwQLJ+eKrpgVwepneYXfxdM81jzMVrW0C4npdSPUGTwhPmgegN2F771S5nToVXKFdVC NC921g14vhv0qvY6urskyz6TMMGaQwsRgCeZY2cPtlU4c9GeVKnaOavlOee49HqkaqBS LeJQ== X-Gm-Message-State: AOAM5317o7iUJbZ/3QZfUfom0znBjxAKXvp3mulF99xl6za7Oe3+pcQ2 PflkzKMzeYhijAqbVG9SeFDU2GKwnYmjT49/lG4= X-Received: by 2002:a25:c743:: with SMTP id w64mr5638674ybe.127.1597317684356; Thu, 13 Aug 2020 04:21:24 -0700 (PDT) MIME-Version: 1.0 References: <20200812140217.24251-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200812140217.24251-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200813105910.GB6057@pendragon.ideasonboard.com> <20200813111123.GD6057@pendragon.ideasonboard.com> In-Reply-To: <20200813111123.GD6057@pendragon.ideasonboard.com> From: "Lad, Prabhakar" Date: Thu, 13 Aug 2020 12:20:58 +0100 Message-ID: Subject: Re: [PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings To: Laurent Pinchart Cc: Geert Uytterhoeven , Laurent Pinchart , Kieran Bingham , Chris Paterson , Biju Das , Lad Prabhakar , David Airlie , Daniel Vetter , Rob Herring , Magnus Damm , DRI Development , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List 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 Hi Laurent, On Thu, Aug 13, 2020 at 12:11 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > On Thu, Aug 13, 2020 at 12:08:58PM +0100, Lad, Prabhakar wrote: > > On Thu, Aug 13, 2020 at 11:59 AM Laurent Pinchart wrote: > > > On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad, Prabhakar wrote: > > >> On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > >>> On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar wrote: > > >>>> From: Marian-Cristian Rotariu > > >>>> > > >>>> Document the RZ/G2H (a.k.a. r8a774e1) SoC in the R-Car DU bindings. > > >>>> > > >>>> Signed-off-by: Marian-Cristian Rotariu > > >>>> Signed-off-by: Lad Prabhakar > > >>>> --- > > >>>> Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ > > >>>> 1 file changed, 2 insertions(+) > > >>>> > > >>>> diff --git a/Documentation/devicetree/bindings/display/renesas,du.txt b/Documentation/devicetree/bindings/display/renesas,du.txt > > >>>> index 51cd4d162770..67cded5ad827 100644 > > >>>> --- a/Documentation/devicetree/bindings/display/renesas,du.txt > > >>>> +++ b/Documentation/devicetree/bindings/display/renesas,du.txt > > >>>> @@ -10,6 +10,7 @@ Required Properties: > > >>>> - "renesas,du-r8a774a1" for R8A774A1 (RZ/G2M) compatible DU > > >>>> - "renesas,du-r8a774b1" for R8A774B1 (RZ/G2N) compatible DU > > >>>> - "renesas,du-r8a774c0" for R8A774C0 (RZ/G2E) compatible DU > > >>>> + - "renesas,du-r8a774e1" for R8A774E1 (RZ/G2H) compatible DU > > >>>> - "renesas,du-r8a7779" for R8A7779 (R-Car H1) compatible DU > > >>>> - "renesas,du-r8a7790" for R8A7790 (R-Car H2) compatible DU > > >>>> - "renesas,du-r8a7791" for R8A7791 (R-Car M2-W) compatible DU > > >>>> @@ -75,6 +76,7 @@ corresponding to each DU output. > > >>>> R8A774A1 (RZ/G2M) DPAD 0 HDMI 0 LVDS 0 - > > >>>> R8A774B1 (RZ/G2N) DPAD 0 HDMI 0 LVDS 0 - > > >>>> R8A774C0 (RZ/G2E) DPAD 0 LVDS 0 LVDS 1 - > > >>>> + R8A774E1 (RZ/G2H) DPAD 0 HDMI 0 LVDS 0 - > > >>> > > >>> As LVDS 0 is the fourth channel (DU3), should it be listed under port 3 > > >>> instead of port 2? > > >>> > > >>> I know we did it the same for R-Car M3-N and RZ/G2N. > > >>> But my main worry is adding support for R-Car H3-N later. > > > > > > Why should we do so ? The port number here isn't tied to the DU channel > > > number. It only identifies the output port. Many DUs can route DU > > > channel outputs to different output ports. > > > > > The binding document (renesas,du.txt) does state that "The following > > table lists for each supported model the port number corresponding to > > each DU output.", hence the confusion. > > It can be a bit confusing indeed. "DU output" here refers to the output > of the whoel DU, made of individual DU channels. Each DU channel is > listed as a DU device in the datasheet, and collectively they are the DU > device that Linux handles. > Thanks for the clarification, that clears up the confusion. Cheers, Prabhakar