Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5655086pxj; Wed, 23 Jun 2021 06:16:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0gRqA+DFFEFS8MGHCmXav03bHNnmVqt+piOaKKxxcLSGPeEh5qaFxq5fH5f+VzsuxJwHv X-Received: by 2002:a17:906:dbf3:: with SMTP id yd19mr10045769ejb.399.1624454194900; Wed, 23 Jun 2021 06:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624454194; cv=none; d=google.com; s=arc-20160816; b=bIdygNFXNynD7mBlHiRw3MPUcf3a11VGucUurf+xRKikLtdfACxtjNLasSFD6v8RJh LZ+nDyQ4pvtwMKa5emli0hCjxfBC2ubTlbNDgKcPfcn82LT8W4Mx8HCMfFlzpFgC+Ohm dtoiTIcn39mv1cPyryEDS0AYlmAvvWImJv6ga0C3tAtNXS8A3kC4mbxVUstPaPSziAPL Y3GGIItv+D22Y61RYdoHIukNtK5nmSY3e7rpsyQDeu9mDSxKSucZmvwgBo4uGjH0C2aX NnLqaReBhMkoC3MmswuYZD5kZdpsxnbK7quo43qtnNjd1JWD60JIcI6qa1mR0J03vxsA 78ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i1c6ftAuoiSLPQAnD8SpiecQlgA5815aPBQNYySQhDs=; b=Cck1zSXwPr0cBOdaYrsoloz737v5oUjH+uplWTXn2odphwkuO8uYe6sSPgOhDgm+Nf RBeZ5Q2AKDo8oBkRvn3+gadhNLC3vOxYb9tnZF/IKEHCpxEAlT0kaDaQEkqoERibWEl6 RVtY+eEmZofU+l3hLTtDdO197nHztvqGUHgiUWDFLTcHe++34b6jLpeagV7kZkghq5Gx S9lELCloBwzPVDkdfFqGg6j58fG9F2nWR4EgjH7yuU73sm7joFlvEBtGIDkAuruP3UAI BgiVezCkEPFnFH4gpHb37/98AvTkAn9y88Uyr7lkhrqFeGBpOK9vtMj9xHVN8LNux2Kf UroA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sd76KXBN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hx8si17031035ejc.522.2021.06.23.06.16.12; Wed, 23 Jun 2021 06:16:34 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=sd76KXBN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230298AbhFWNRd (ORCPT + 99 others); Wed, 23 Jun 2021 09:17:33 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:38832 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbhFWNRb (ORCPT ); Wed, 23 Jun 2021 09:17:31 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EDAA69AA; Wed, 23 Jun 2021 15:15:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1624454112; bh=GVMK38SrPGTYbsOKUOPXSrEWY3ARN0rb2JGcAOPGBtQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sd76KXBNzmD/7FV+Gt4wR9mi4Lxk/zMoruxdN9MF5tC8iXo8ltWBUF35E1592qlms jN8Na4J3N87rM+phQYcEEJTQ1uGI1z0adgrZhbaygPV3/NXk9Co5H+OQZsMDv3lMJ0 XmoXHC9TPgp4lAqcG56vFOC6WVe7hFc/7DIUThxE= Date: Wed, 23 Jun 2021 16:14:42 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Kieran Bingham , Kieran Bingham , David Airlie , Daniel Vetter , Rob Herring , "open list:DRM DRIVERS FOR RENESAS" , "open list:DRM DRIVERS FOR RENESAS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH] dt-bindings: display: renesas,du: Provide bindings for r8a779a0 Message-ID: References: <20210622231146.3208404-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Wed, Jun 23, 2021 at 03:09:06PM +0200, Geert Uytterhoeven wrote: > On Wed, Jun 23, 2021 at 2:58 PM Laurent Pinchart wrote: > > On Wed, Jun 23, 2021 at 02:53:33PM +0200, Geert Uytterhoeven wrote: > > > On Wed, Jun 23, 2021 at 1:11 AM Kieran Bingham wrote: > > > > From: Kieran Bingham > > > > > > > > Extend the Renesas DU display bindings to support the r8a779a0 V3U. > > > > > > > > Signed-off-by: Kieran Bingham > > > > > > Thanks for your patch! > > > > > > > --- a/Documentation/devicetree/bindings/display/renesas,du.yaml > > > > +++ b/Documentation/devicetree/bindings/display/renesas,du.yaml > > > > @@ -39,6 +39,7 @@ properties: > > > > - renesas,du-r8a77980 # for R-Car V3H compatible DU > > > > - renesas,du-r8a77990 # for R-Car E3 compatible DU > > > > - renesas,du-r8a77995 # for R-Car D3 compatible DU > > > > + - renesas,du-r8a779a0 # for R-Car V3U compatible DU > > > > > > > > reg: > > > > maxItems: 1 > > > > @@ -774,6 +775,57 @@ allOf: > > > > - reset-names > > > > - renesas,vsps > > > > > > > > + - if: > > > > + properties: > > > > + compatible: > > > > + contains: > > > > + enum: > > > > + - renesas,du-r8a779a0 > > > > + then: > > > > + properties: > > > > + clocks: > > > > + items: > > > > + - description: Functional clock for DU0 > > > > + - description: Functional clock for DU1 > > > > + > > > > + clock-names: > > > > + items: > > > > + - const: du.0 > > > > + - const: du.1 > > > > > > The hardware block has only a single function clock for both channels, > > > like on R-Car H1. > > > > > > And what about DU_DOTCLKIN? > > > > As far as I can tell, there's no DU_DOTCLKIN in V3U. > > See Table 6.13 of the Hardware User's Manual, pin IPC_CLKIN. Maybe that's incorrect ? There's no mention of DU_DOTCLKIN anywhere else, and the DU bits that allow selection of the input clocks list the value documented for Gen3 SoCs as selected DU_DOTCLKIN as reserved. > Note that the register bits to configure it are present in > drivers/pinctrl/renesas/pfc-r8a779a0.c, but the actual pin group is > missing. -- Regards, Laurent Pinchart