Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1031453pxb; Wed, 1 Sep 2021 15:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFoVrzyYfFixGXlPMPK0p7/i73pKFMlV1py0lhum63ZDHDU7BonnaZ9BvQJt5e0zFVzECW X-Received: by 2002:a05:6402:2751:: with SMTP id z17mr266993edd.290.1630536471849; Wed, 01 Sep 2021 15:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630536471; cv=none; d=google.com; s=arc-20160816; b=JL3NsJcJ1zdMND7yi2qfjfNf4wd/uF5KTy2ALXmmPm+SSlfM6QH8Bn/9pSUUKCcdze sWlBvhu0NUUVKGmpFan29OgGEmg3+I4SVs61+UW0OhyDaRvXpLGRNphf9pNLnRjzqM2J gSrfDsJRU87gJpYonVzzNvG8/qgzU5g5XxUPW0VCW+Q2tvRAjif2fD5GgglqUOaD1mSM rzecVFmhjnR+RWLuyHBeTZ1zcmWKzy/98uwgt3ALCbTYGp9NyCBCDnL5Xcw/wyCY9lnA ybngvvoSzUe6b2EptzYT02vz9RwsToCFzXdsF+52TyQ0nR931hFAN3H32VVUYl9fa6XE RZmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:subject:from:dkim-signature; bh=IV++96x4Kwh3fLdwldCEaROm1zV8voKMGV17XO84uDg=; b=CymHr4oBgZG6EERLkonDDqMjbKy++lOYFmahN1PLsmVFrS2ILmVlGDmKPRcrWEYDi0 jgyzC6nLMJ6G6y5N1F5nF0/671OlaLHviV7LB8Aq2eAbbjhd570UtY+V/7Zc4pFId00l fw8/rRDG30lTEw7rQVuF7lQjm44p3QLsf8IETyO9QPvfcm/CtkvgIevmtRZt82kJ9cKv 5Le4J62QTbrctCuQp3uZv6lkJmBYNZ2vTsvBjdAb9i6Cepo/K1wOm68YTGE6ITsvV6Bm nz/TIGFE/224pm01H9IpmFG8OIE63V+wmdf6q1RxN/Y88r03W566zTfOPY35SMdh4zMp od2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=dtVrH0E6; 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 t14si129111edq.353.2021.09.01.15.47.28; Wed, 01 Sep 2021 15:47:51 -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=dtVrH0E6; 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 S232686AbhIAWCS (ORCPT + 99 others); Wed, 1 Sep 2021 18:02:18 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:52914 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbhIAWCR (ORCPT ); Wed, 1 Sep 2021 18:02:17 -0400 Received: from [192.168.0.20] (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 98A33340; Thu, 2 Sep 2021 00:01:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1630533675; bh=oBIuv/gN5NyegE3mK/LDP8EEP5EAxS3NGI0JIKQpmEE=; h=From:Subject:To:Cc:References:Date:In-Reply-To:From; b=dtVrH0E6SkIwLsiU8IcybDaJs94nn4MAXDUf9jRMZEG/veXfBlLVFUw+H3DpYQzy2 R4984RKnHKvDnh+PbCMmupf/SBjYW6g7kYLZVrl9VWl1je5N9jsS1KJ1kP0PpT6HLs H0oGE3CmUghBiSYLHyBRiEfWdZT+Y2nrrX7pb8Ys= From: Kieran Bingham Subject: Re: [PATCH] dt-bindings: display: renesas,du: Provide bindings for r8a779a0 To: Geert Uytterhoeven Cc: Laurent Pinchart , 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 References: <20210622231146.3208404-1-kieran.bingham@ideasonboard.com> Message-ID: <22bf664e-4a28-3ae2-0106-5913a8643625@ideasonboard.com> Date: Wed, 1 Sep 2021 23:01:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 23/06/2021 13:53, Geert Uytterhoeven wrote: > Hi Kieran, > > 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. Indeed, but I believe both channels still need to set them, if they can be operated independently, the driver looks up the clock based on the du.%d, and so for DU1, it is simply expressed as the same clock in DT. Is this acceptable? or is there further issues there? > > And what about DU_DOTCLKIN? This thread has already discussed this with Laurent, and I concur - There doesn't appear to be any relevant reference to DU_DOTCLKIN on the DU side. > > Gr{oetje,eeting}s, > > Geert >