Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp293835ybl; Thu, 12 Dec 2019 18:31:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwzBG9dwFxEvbvxk43Ts2AfaCWo2aKdLjD4re331sPDCleH0pl5GiYsOyMvr3rkGQKFIFoM X-Received: by 2002:a05:6830:1689:: with SMTP id k9mr12287189otr.311.1576204318876; Thu, 12 Dec 2019 18:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576204318; cv=none; d=google.com; s=arc-20160816; b=SzU+n1EeahWSgzwU3pify9YF+auftAgrEon0dNhb+Kd3W0zRBHNPAWFMGXV/AHgbwC MFk7AFbt1BF4lI6gFmrfNmaSi2B9x8VUmf1N4JFcLtT6dH71e9pzcEKPgxhyeLvEkAYf UU2lIM1TvozjODR5DlE4tM9V1vN4eJzn7jFlAq4F0gaOk9Xj2ZTs7ap5b1RvTSkEXnlL ovhTuaYeE6ABK0Dg75ZtyM87gPEfGn5dbvEMQw4O/tgL7fJKHqK2mG8Y3q60Zr85pUGH GvmxYcyHvFRPLyaJVX84ZxMW6SJ3JvyMqi3grPhheEgMcq1QEpS/K5wrRWRDyFH5JVEW pNug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qio3+5wGBBws9gLrwDsnyG9rTDSaf5aK+1rSnoK7B3M=; b=LWg7ud42tqQpEUm7wp2340fC6xSqtF2CqPoXm2jhztVMMD0JaBxwsvApsWFltdg92G w2oHzegbTK5JYCgrKLEbhsKxxzvXwRu0zxZv18mmtc4xmJwP2RVkPKJTQWVOM1D8uyTq E/6YEtCFMxRreRhy9B/7bBw01WS279XMlJKDE0FnsNCtDLlg748IveiCE4zYIjvNaU75 SxSyKYhYnzek7xX6i4pjlySF0Fi+26G98XmsgeA/02oFUy9dzCxPtbnEWydj7tzLPRcS xX5aVUSggN+fncJO+ZutAh6xZkNO2Euof2nJbJxFDB0L9BdRyN3g2bqdpXCgILNIoxhJ ZJJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=gYQepg5l; 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 a9si4414598oib.59.2019.12.12.18.31.37; Thu, 12 Dec 2019 18:31:58 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=gYQepg5l; 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 S1731412AbfLMAs1 (ORCPT + 99 others); Thu, 12 Dec 2019 19:48:27 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:58452 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731026AbfLMAs0 (ORCPT ); Thu, 12 Dec 2019 19:48:26 -0500 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9A265440; Fri, 13 Dec 2019 01:48:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1576198104; bh=fzDDFuwCssKk2Lvp2zwH1/AsL1CDBTeNOlHZdV77jgY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gYQepg5lJbxpmxMaRo6gyvtBboTn6WuGhBG29W42OR/vsxfAhXdyS0Bnv8ywu1ER5 2qop6RsqkdzWK/Bpnn1FZ6EtXv3o+mNjBpZ2Lvnpsncfl2SOHEfmhlHyWz+nWJA2ma l9prcEVWJCOund9jveN6q7IEGJgiBP3yHricQz0A= Date: Fri, 13 Dec 2019 02:48:12 +0200 From: Laurent Pinchart To: Kieran Bingham Cc: Simon Horman , Sergei Shtylyov , linux-renesas-soc@vger.kernel.org, David Airlie , Daniel Vetter , "open list:DRM DRIVERS FOR RENESAS" , open list Subject: Re: [PATCH] drm: rcar-du: Add r8a77980 support Message-ID: <20191213004812.GA27328@pendragon.ideasonboard.com> References: <20190911192502.16609-1-kieran.bingham+renesas@ideasonboard.com> <70b94265-69f3-d18f-1b67-b5b814723b1b@cogentembedded.com> <20190913082129.lvusbp6pbcayqh5r@verge.net.au> <20190913090359.GC29992@pendragon.ideasonboard.com> <2eeacacc-f190-4ba8-32bc-b4103b41db46@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2eeacacc-f190-4ba8-32bc-b4103b41db46@ideasonboard.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, On Mon, Dec 09, 2019 at 12:41:07PM +0000, Kieran Bingham wrote: > On 13/09/2019 10:03, Laurent Pinchart wrote: > > On Fri, Sep 13, 2019 at 10:21:29AM +0200, Simon Horman wrote: > >> On Thu, Sep 12, 2019 at 01:00:41PM +0300, Sergei Shtylyov wrote: > >>> On 11.09.2019 22:25, Kieran Bingham wrote: > >>> > >>>> Add direct support for the r8a77980 (V3H). > >>>> > >>>> The V3H shares a common, compatible configuration with the r8a77970 > >>>> (V3M) so that device info structure is reused. > >>> > >>> Do we really need to add yet another compatible in this case? > >>> I just added r8a77970 to the compatible prop in the r8a77980 DT. That's why > >>> a patch like this one didn't get posted by me. > >> > >> The reason for having per-SoC compat strings is that the IP blocks > >> are not versioned and while we can observe that there are similarities > >> between, f.e. the DU on the r8a77970 and r8a77980, we can't be certain that > >> differences may not emerge at some point. By having per-SoC compat strings > >> we have the flexibility for the driver to address any such differences as > >> the need arises. > >> > >> My recollection is that this scheme has been adopted for non-versioned > >> Renesas IP blocks since June 2015 and uses of this scheme well before that. > > > > Sure, but we could use > > > > compatible = "renesas,du-r8a77980", "renesas,du-r8a77970"; > > > > in DT without updating the driver. If the r8a77980 turns out to be > > different, we'll then update the driver without a need to modify DT. I'm > > fine either way, so > > > > Reviewed-by: Laurent Pinchart > > Thanks, > > This patch has an RB tag from you, and Simon, but alas I don't believe > it has been picked up in your drm/du/next branch. > > Is this patch acceptable? Or do I need to repost? Could you just confirm I should apply this patch, and not go for the alternative proposal above ? > >>>> Signed-off-by: Kieran Bingham > >> > >> Reviewed-by: Simon Horman -- Regards, Laurent Pinchart