Received: by 10.213.65.68 with SMTP id h4csp370700imn; Tue, 20 Mar 2018 05:39:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELv3oYbZO8DLD1fhjXTjEs9aI/Xsixlv1yryP6Ypb63rb/ioSOMUBPBM+gxXWZYM/VTunqda X-Received: by 2002:a17:902:4827:: with SMTP id s36-v6mr16271387pld.269.1521549556203; Tue, 20 Mar 2018 05:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521549556; cv=none; d=google.com; s=arc-20160816; b=SlZfKqQUpuVtTIOnwl53+CU8D/rUlHQRqJWQP7iL16qN6Ma22ALj+jpAYnK/yvSUuS XOdPEybyZyFBFj8fkz7q6LnsDFGxNqzw7AGuTpEmi8UJrT4hLYKC/ip2GxOJUcFDbOek W5mxiXKyfXyy4+EekGo+BL42B6TzZTVy6rYHVoiEh/02xW1N9X6omd2N0JzoqEDqlPbY GCi+vbPq84mIV7Ti7wxF+fFhb07hqaB1CxdLdnv0WutKqCV3AEXN6QPOmA1frOiWjMla /hCXHGLmt7eCkb7mcbFL9K8dyIcs+c/EEZ7UKGJyVIWOlgD3IplaFn4ziDNGv/iC/nF0 MqWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=exNpBobcvXSPpnvnyifOThM6x9Ja3IVlETNF34c+DP4=; b=IoXQBQtwU+hI/BqhNCgVnAiZ5oWTypX6ZyOI18m7dhnYblbBbgDjK0uR+cXmmT8KAr D7O7IphwbwrTqV5B9uzcLRgjvNbUpgbUzrlSIjD3JmRfnKXjQD6Q/NAvvIfrRKhKTPY/ hCuLIPJu7V5155wuCpdo6fl8w4zFWFJWMaNob4CzEXAkK6OMDg2CD7XytPHC3+RTECg1 XpF/bkcO3Dq9BoNWtD3DcXpEtkrWhCILtwAmqQgkBZz06xjY5IIoo+QX5NY+dvnbTspb U8CHxNxyv7/BIAZYFwX0FiKTaAcLfBHEglHdVoggKCwmpyo/iTFwREVbSMq21aft2x0h iXQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=iKPfsCZo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d205si1201225pfd.191.2018.03.20.05.39.01; Tue, 20 Mar 2018 05:39:16 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=iKPfsCZo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753405AbeCTMhh (ORCPT + 99 others); Tue, 20 Mar 2018 08:37:37 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:33789 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753079AbeCTMh3 (ORCPT ); Tue, 20 Mar 2018 08:37:29 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:2788:664:35f:7f37:41ef:e87f:aea9]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 59BFA202DC; Tue, 20 Mar 2018 13:35:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1521549307; bh=iK2ZOvtECvWrH+JdQXrxeJH2Sl3775W/7dYobx1N/Hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iKPfsCZoWhCwbVLyRA2uqqqpF9OHOHR698wB9nzpNt9eyQZcP70QzvKaUvoxhqejt itOy+PcyZq7aHDHMg+8jY55EF0AVfoVc+yywQ9XYDDLCSrLBro8JJYBsPNcmSx+zcb o04OUcbgILbfJj4hLYs3ao/Z6jpHvO+TswX5ug7U= From: Laurent Pinchart To: jacopo mondi Cc: Niklas =?ISO-8859-1?Q?S=F6derlund?= , Jacopo Mondi , architt@codeaurora.org, a.hajda@samsung.com, airlied@linux.ie, horms@verge.net.au, magnus.damm@gmail.com, geert@linux-m68k.org, sergei.shtylyov@cogentembedded.com, robh+dt@kernel.org, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle Date: Tue, 20 Mar 2018 14:38:34 +0200 Message-ID: <7425649.OD69MjNjYI@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180316093953.GC31710@w540> References: <1521130316-1221-1-git-send-email-jacopo+renesas@jmondi.org> <20180316000004.GC3432@bigcity.dyn.berto.se> <20180316093953.GC31710@w540> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On Friday, 16 March 2018 11:39:53 EET jacopo mondi wrote: > On Fri, Mar 16, 2018 at 01:00:04AM +0100, Niklas S=F6derlund wrote: > > Hi Jacopo, > >=20 > > Thanks for your patch. > >=20 > > This one must depend on '[PATCH v2 0/5] arm64: dts: renesas: r8a77970: > > enable HDMI output' or something similar not yet in renesas-drivers > > repository correct? >=20 > Yes, I have listed dependencies of this series in my v1 cover letter: >=20 > -------------------------------------------------------------------------= =2D- > The series is based on Laurent's drm/next/du branch with patches on top f= or: > - Sergei: Enable PFC, I2c, GPIOs for r8a77970 > - Sergei: Add support for r8a77970 in DU and add display device nodes in > r8a77970 DTSI > - Niklas: Connect DU LVDS output to HDMI bridge adv7511w in Eagle DTS > - Sergei: fix video output on R8A77970 >=20 > A base branch with these patches applied is available at > git://jmondi.org/linux v3m/v4.16-rc3/base > -------------------------------------------------------------------------= =2D- >=20 > My bad I have not reported this in all cover letters (and I have not > reported the full name of the series) >=20 > PFC, GPIO and I2c support I have listed as dependencies seems to have > landed in renesas-drivers, while I don't see yet: >=20 > Sergei: > [PATCH v2 0/5] Add R8A77970/V3MSK LVDS/HDMI support >=20 > whose patches for r8a77970 dtsi are included in yours: > [PATCH v2 0/5] arm64: dts: renesas: r8a77970: enable HDMI output >=20 > On top I also have Sergei's/Laurent's: > [PATCH v4] v4l: vsp1: Fix video output on R8A77970 >=20 > > In the next version would you care to include the LVDS commit from the > > dependency series and squash this change into that one or in some other > > good manger stack to two? Laurent told me he did not like 5/5 in that > > patch-set as it did not yet have the LVDS decoder node due to no driver > > existed at that time when I posted that even if it's not strictly needed > > to get the display working :-) >=20 > I'll let Simon suggest how he preferes to handle this, if he wants me > to re-submit your series with this patch squashed on top or he prefers > to deal with this himself. >=20 > > I also think you should split this last patch out to a separate series > > as it should go in Simon's tree while the driver and documentation is > > going in earlier in a different tree right? >=20 > I assume bindings and driver go through DRM and Simon is to pick up > the Eagle changes. >=20 > > On a side note, do you plan to update the Gen2 boards DTS files which > > also have a decoder which are not yet described in DT? >=20 > Actually I'm not aware of Gen2 boards with this chip and similar > display pipelines. Can you point me to which one needs to have its > DTS brushed? It's the Lager board. > > On 2018-03-15 17:11:56 +0100, Jacopo Mondi wrote: > > > The R-Car V3M Eagle board includes a transparent THC63LVD1024 LVDS > > > decoder, connected to the on-chip LVDS encoder output on one side > > > and to HDMI encoder ADV7511w on the other one. > > >=20 > > > As the decoder does not need any configuration it has been so-far > > > omitted from DTS. Now that a driver is available, describe it in DT > > > as well. > > >=20 > > > Signed-off-by: Jacopo Mondi > > > Reviewed-by: Andrzej Hajda > > > --- > > >=20 > > > arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 33 ++++++++++++++++= =2D-- > > > 1 file changed, 30 insertions(+), 3 deletions(-) > > >=20 > > > diff --git a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > > > b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts index c0fd144..69f43= b8 > > > 100644 > > > --- a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > > > +++ b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > > > @@ -42,6 +42,33 @@ > > > }; > > > }; > > > }; > > > + > > > + thc63lvd1024: lvds-decoder { > > > + compatible =3D "thine,thc63lvd1024"; > > > + > > > + ports { > > > + #address-cells =3D <1>; > > > + #size-cells =3D <0>; > > > + > > > + port@0 { > > > + reg =3D <0>; > > > + > > > + thc63lvd1024_in_0: endpoint { > > > + remote-endpoint =3D <&lvds0_out>; > > > + }; > > > + }; > > > + > > > + port@2{ > > > + reg =3D <2>; > > > + > > > + thc63lvd1024_out_2: endpoint { > > > + remote-endpoint =3D <&adv7511_in>; > > > + }; > > > + > > > + }; > > > + > > > + }; > > > + }; > > > }; > > > =20 > > > &avb { > > > @@ -98,7 +125,7 @@ > > > port@0 { > > > reg =3D <0>; > > > adv7511_in: endpoint { > > > - remote-endpoint =3D <&lvds0_out>; > > > + remote-endpoint =3D <&thc63lvd1024_out_2>; > > > }; > > > }; > > >=20 > > > @@ -152,8 +179,8 @@ > > >=20 > > > ports { > > > port@1 { > > > - endpoint { > > > - remote-endpoint =3D <&adv7511_in>; > > > + lvds0_out: endpoint { > > > + remote-endpoint =3D <&thc63lvd1024_in_0>; > > > }; > > > }; > > > }; =2D-=20 Regards, Laurent Pinchart