Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1167176ybl; Thu, 22 Aug 2019 10:16:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCu5APX8HQ/sJWKiTzInRY16cFrzQvF3pNFYKjpT4nRYrJB8zDDpGbQN0kHMekSWD72rq/ X-Received: by 2002:a17:90a:2629:: with SMTP id l38mr763575pje.71.1566494219620; Thu, 22 Aug 2019 10:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566494219; cv=none; d=google.com; s=arc-20160816; b=MtUxUJwvpuqh8yIc6UftpA7AE4M/ap5q5axLz1ARqPbXVSJFJTNEu0GnG4ScQ46rzr +Eq4D6BwrKTXGMWzYlJYdUiMh1LYGI1vlBjL5W9//x9RltiNIVPMK1C+/hw82nu/P+S3 w28X/8PrZbg94sIjtp+eUoq/LmUMlaTlPhOvWfz5BO/ZKUvjD/cjScMWDASYeok+g8Df 4rgCy7dzomkBBUTRMvP6BJdIJ4ycSYFxu/vm8qMk5kEWUypYNYFUPY6MwhWH2YhdTxX4 W2m4M1kTfY1MQKyligJqFifU3x6hJRtS6NiG2Y0YZj2QVmfN8AmBBfh+w6HCyeDq9vD/ 2twQ== 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=oH/QbuOSskdpWnXaNRi6UW6V008XWYA1Q5ezzJBi3SY=; b=j0Hfd8rndWA/tU3+T5pAKk53m1B1xmSYrTjS9i7hPmDJyiafZ4dou2wH+S7t5HA7cC 8LI7C5HcKc1YIZcnmFYeSj0azze3ITlSAJb3kZRKgNxuWg9pq6dqsAEWI3wtq+OvfSoy Uav6aVEleNupPw4/+o/nqYkVFZ8xJ4YCuCIQjYPERl5FpaiCxdGGlBPR5vVh68Ui022M h+Eb0OLcGVd5OzKN+vLJ22IgHQDrJRf9P01dCd05hDHR9LDtHJlKcOm3nrYChEL5N3sa JFclPfhG9YF/5H5CB6zpgTvRWgdIrCWfyGJnsJuUu9S0gQtfYY51SXH9QTNMJLk5M41H iRZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ubL4ZyHT; 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 x5si171099pfq.86.2019.08.22.10.16.43; Thu, 22 Aug 2019 10:16:59 -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=ubL4ZyHT; 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 S1733187AbfHVPDC (ORCPT + 99 others); Thu, 22 Aug 2019 11:03:02 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:48132 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbfHVPDC (ORCPT ); Thu, 22 Aug 2019 11:03:02 -0400 Received: from pendragon.ideasonboard.com (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C69E42AF; Thu, 22 Aug 2019 17:02:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1566486180; bh=iftq3nJgJssug7RTlAUxv4Dz4YoWQSuHsGPqItfclIY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ubL4ZyHTybZNdyZ3zyxXyULmW0yoknWg1BLEC7hqPh7GTlsFxMOR6PPOpN1OSlXff A5zvEx0Wgx7/PiM4LZmjjXOFINmOgwF4KtWHWprNnucR/LLUQ4Krr+Iugdy7ijJiXz NqB81BKPG6dIoULHrTctLW1kV+knoafjdQMFcpsI= Date: Thu, 22 Aug 2019 18:02:53 +0300 From: Laurent Pinchart To: Jacopo Mondi Cc: Geert Uytterhoeven , Jacopo Mondi , Kieran Bingham , David Airlie , Daniel Vetter , Koji Matsuoka , muroya@ksk.co.jp, VenkataRajesh.Kalakodima@in.bosch.com, Harsha.ManjulaMallikarjun@in.bosch.com, Linux-Renesas , DRI Development , Linux Kernel Mailing List Subject: Re: [PATCH v2 03/19] arm64: renesas: Update 'vsps' property Message-ID: <20190822150253.GA5027@pendragon.ideasonboard.com> References: <20190706140746.29132-1-jacopo+renesas@jmondi.org> <20190706140746.29132-4-jacopo+renesas@jmondi.org> <20190822100051.yhguosvfz3zzykze@uno.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190822100051.yhguosvfz3zzykze@uno.localdomain> 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 Jacopo, On Thu, Aug 22, 2019 at 12:00:51PM +0200, Jacopo Mondi wrote: > On Wed, Aug 21, 2019 at 02:16:02PM +0200, Geert Uytterhoeven wrote: > > On Sat, Jul 6, 2019 at 4:07 PM Jacopo Mondi wrote: > > > Update the 'vsps' property in the R-Car Gen3 SoC device tree files to > > > match what's in in the documentation example. > > > > double in (no worries, I'll fix that up myself) > > > > > Signed-off-by: Jacopo Mondi > > > > Thanks! > > > > Reviewed-by: Geert Uytterhoeven > > i.e. will queue in renesas-devel for v5.4. > > > > BTW, any plans to add channel indices to the vsps properties in the > > remaining DTS files? > > According to what I read in the parsing 'vsps' proeprties parsing > routine rcar_du_vsps_init(), if the channel index is not specified, it > is defaulted to 0. > > /* Store the VSP pointer and pipe index in the CRTC. */ > rcdu->crtcs[i].vsp = &rcdu->vsps[j]; > rcdu->crtcs[i].vsp_pipe = cells >= 1 ? args.args[0] : 0; > > The DU bindings documentation does not state that the channel index is > optional, so yes, it might be worth changing this and simplify the > parsing routing to always assume the channel index is there. > > What does Laurent think? Is this worth the effort? I think it's worth the effort to keep the upstream DT sources in sync with the latest bindings, but We can't change the code as we need to ensure backward compatibility. So, yes to the DT update, but the driver should stay unmodified (or should receive a new comment explaining the required backward compatibility if there's not one already). -- Regards, Laurent Pinchart