Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp545784ybe; Fri, 13 Sep 2019 02:06:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzm2JhwEOPywft6cqlEqBMxJmbpe3hDzVeTwWMGaStlzKSBUi7D/XihdHwQWYtHH2BTedy X-Received: by 2002:a50:fc17:: with SMTP id i23mr13012006edr.287.1568365575677; Fri, 13 Sep 2019 02:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568365575; cv=none; d=google.com; s=arc-20160816; b=EdfG6DKcAF2z48wTzHs0nXza9KgXC2gs7+S42e5TjaAf6LgONq+5prUI0C/mAeVqv+ HfcEdMniVtOZISpvlQ74mZhgFPwdt4bjuYbYXaYW73+mG5/hhkIKI03OP3v7RccHmTE3 YyHxeg3e9ugxO3kV5wA/Hccft5tk2iiSDvcaRLsjgRaBdrZjOmQG7rRJCKwKFtJMuNjY 2hXmNZe6DsNRYG2McmUS++V22LSt6Yr44nQisT3pxJ3Kzgvkz+jBvt9vi/BOlDgfRRzq 636lrWUyNTxAO8VA/41ZgLmHreRfSGkISPfJtuw5ZTzkc58OR87VzGSyB7kU8UvYk5re Fa6A== 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=lRSVkF12/Uac3CInLpgFSbmyIzJmmKU9JbML3rmGlCU=; b=DjGxkuHwIAEAVUBZqIs96aaG0UaonqAREq6Ynw/YtT7Ai9x7tPb/AQGSic+Q/Pah63 8XDLZNk8j/K8nSD6LNaWwIKPZDsY4Iw9nUvgwWqcFUWfxXkp6swud4Q3H20YaaEqaibT lKNXxtaRMItY3UfIBbIBHvFURhn5JQoVXeWoLsP8Wzz+7v7wNQOUN4AQrSgvAACQYOHb WcMOPpEsmcm+BrtnO4db1Ua+EqqfUmOatzuTJdEycKlIyJm4Mvct2NDfyW4yFcoSuAEI QyZxhgmZ2PGzhoIP+hZwM/MA9kEzCTO1halhIv+mmi+RuNCH4XT7UHrGFOIyWQ230C59 3E5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZpddhD4W; 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 j18si14464898ejb.240.2019.09.13.02.05.51; Fri, 13 Sep 2019 02:06:15 -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=ZpddhD4W; 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 S2387610AbfIMJEK (ORCPT + 99 others); Fri, 13 Sep 2019 05:04:10 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:37348 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387513AbfIMJEJ (ORCPT ); Fri, 13 Sep 2019 05:04:09 -0400 Received: from pendragon.ideasonboard.com (bl10-204-24.dsl.telepac.pt [85.243.204.24]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4DFB033A; Fri, 13 Sep 2019 11:04:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1568365447; bh=rBMYwvvqL3UBs1e6XFztfLKo2R8+K/g/9AvBH5KoQa0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZpddhD4Wm8ABiqJwt0ssORXff5gBpf5FQpURY4pipMIeYTH48wsk1C7BKluVcFLPD o997vSNrqnHnVX7h3Bvsr1PmmEL0fW+vae3NDxcXf4ASWNvaxP82EdHYVZ6rCOw30S KUI2lEiRSANkrnCFWRel45Xazuu0hEDEZRFgnB+E= Date: Fri, 13 Sep 2019 12:03:59 +0300 From: Laurent Pinchart To: Simon Horman Cc: Sergei Shtylyov , Kieran Bingham , 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: <20190913090359.GC29992@pendragon.ideasonboard.com> References: <20190911192502.16609-1-kieran.bingham+renesas@ideasonboard.com> <70b94265-69f3-d18f-1b67-b5b814723b1b@cogentembedded.com> <20190913082129.lvusbp6pbcayqh5r@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190913082129.lvusbp6pbcayqh5r@verge.net.au> 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 Hello, 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 > > > Signed-off-by: Kieran Bingham > > Reviewed-by: Simon Horman -- Regards, Laurent Pinchart