Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3988577pxb; Tue, 7 Sep 2021 12:00:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0kQlnp9j1UZq1eja37t+7pnvzW4SKzZs7FQDPfsX/LzayAnogiNegC5SRBPEfTyX118jN X-Received: by 2002:aa7:d842:: with SMTP id f2mr1015106eds.57.1631041225811; Tue, 07 Sep 2021 12:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631041225; cv=none; d=google.com; s=arc-20160816; b=dayYk3vhcwmvU8b0oG+sUkwvst4oVatTkT5WZgdPCsBsJdNk1EKQOl0zxlICsZYosV 2/IZX4xz/oVYvo9f69MkN4mX95/webZvZmkgNBUfp+aALMYvDfJtu1yADwX9Dr1giX2C 0JnwNdMZFDW4c2YsE09CD4RQkym8o0B7ns2CxHJsObHvwXFx7lwqs5582RSDevvtlKw6 z+2VOo1URrUwtFGPld5/rryeXHSZv0o3ftqPPmyyMFYgayZp5bvvCfLT2I2lsRK39ayD dlpfz8ac3lqdyHjM1ZfjpdWfC+sDDdLxGN7nlzEfSu3QyyNnph5d9n9GgAC292wJSwG4 CcFA== 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; bh=8ozglVsUKCNW9AOVGz1ChJ1oIECijqYJsLQAW6GlHXA=; b=jfP7n+2H0iEYeopcBqOr1n7MJf1bteJF+cUBAp5vi1pO8a3IUcm2i62dEM/2E0Q87E 4mVEPl8786MeB7AXQeF88Q4xZ7nVopeMEgwlLTPwCyb31cvKg7EUgVwX+1e7z4JRGzNM Q9L0/dKavxivv4sGGeZO57ODWqsRonuY/KWM31OhLiyWgAl1z4AE7NpZlPv6mhuupFVR ICGlLWuxtcv1YhOPWUxKxSAttBXNjyZRVM7i5E2sdMN5PlT2hTNZo9OK+OjF5Axp3n5a SC3ke+Aw3JHLzJe7ffzSdFZzdeRExZQZzCzyCZly+SBliUNfa+hfxPcHRDGK7kemZ3vq 1KKA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s27si11570942edw.73.2021.09.07.12.00.01; Tue, 07 Sep 2021 12:00:25 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345991AbhIGSqJ (ORCPT + 99 others); Tue, 7 Sep 2021 14:46:09 -0400 Received: from mail-ot1-f45.google.com ([209.85.210.45]:40827 "EHLO mail-ot1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240131AbhIGSqJ (ORCPT ); Tue, 7 Sep 2021 14:46:09 -0400 Received: by mail-ot1-f45.google.com with SMTP id 107-20020a9d0bf4000000b0051b8be1192fso283386oth.7; Tue, 07 Sep 2021 11:45:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8ozglVsUKCNW9AOVGz1ChJ1oIECijqYJsLQAW6GlHXA=; b=HHK3qIjiuBhX5XrSrghL3Dpzy91xQD5+CVYWRV13dPUDBr8Pl6rHLLA5LkZkM+s5qc jmajsoaEhWJI0NTlc0Ldcazj9DsYntq0JzpsP0cAtkd0JiMABxPeZVtkexPZWLF0k2Yg XyGzU4hQtD147jRBPUKTNJzVKoPbjo9NyOKwZTaAa/Ev3MAswDsteGHJgV7Or3PeYv+5 V+nDwpmvUxH+KBnwpWMpqVgUhHesLdaF5CFind/4cP1+ZB3qDUrpuiHLWpvHPQfmFHjL /AshcV3XGbyidGfVVGFsbPnV/TC2goUPjcaaCZVcjpgT9lGBbhukdxK5fxIj0iM2lqV9 8ISA== X-Gm-Message-State: AOAM532Rti4dQOjNuYCwHtTWdD7aLJznrFT6fLtsk02l9pDMKBc5RL2O v7+1mT25JrLgZBMgqqWT4A== X-Received: by 2002:a9d:74c5:: with SMTP id a5mr16153497otl.205.1631040302219; Tue, 07 Sep 2021 11:45:02 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id t1sm2555364otp.9.2021.09.07.11.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 11:45:01 -0700 (PDT) Received: (nullmailer pid 133935 invoked by uid 1000); Tue, 07 Sep 2021 18:45:00 -0000 Date: Tue, 7 Sep 2021 13:45:00 -0500 From: Rob Herring To: Geert Uytterhoeven Cc: Kieran Bingham , Linux-Renesas , Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , "open list:DRM DRIVERS FOR RENESAS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v2] dt-bindings: display: renesas,du: Provide bindings for r8a779a0 Message-ID: References: <20210901233655.1602308-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 06, 2021 at 10:13:07AM +0200, Geert Uytterhoeven wrote: > Hi Kieran, > > On Thu, Sep 2, 2021 at 1:39 AM Kieran Bingham > wrote: > > From: Kieran Bingham > > > > Extend the Renesas DU display bindings to support the r8a779a0 V3U. > > > > Reviewed-by: Laurent Pinchart > > Signed-off-by: Kieran Bingham > > --- > > v2: > > - Collected Laurent's tag > > - Remove clock-names requirement > > - Specify only a single clock > > Thanks for the update! > > > --- 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 > > @@ -773,6 +774,55 @@ allOf: > > - reset-names > > - renesas,vsps > > > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - renesas,du-r8a779a0 > > + then: > > + properties: > > + clocks: > > + items: > > + - description: Functional clock > > + > > + clock-names: > > + maxItems: 1 > > + items: > > + - const: du > > + > > + interrupts: > > + maxItems: 2 > > + > > + resets: > > + maxItems: 1 > > + > > + reset-names: > > + items: > > + - const: du.0 > > This is now inconsistent with clock-names, which doesn't use a suffix. But it is consistent with all the other cases of 'reset-names'. The problem is 'clock-names' is not consistent and should be 'du.0'. Ideally, the if/them schemas should not be defining the names. That should be at the top level and the if/them schema just limits the number of entries. That's not always possible, but I think is for clocks and resets in this case. > > > + > > + ports: > > + properties: > > + port@0: > > + description: DSI 0 > > + port@1: > > + description: DSI 1 > > + port@2: false > > + port@3: false > > + > > + required: > > + - port@0 > > + - port@1 > > + > > + renesas,vsps: > > + minItems: 2 > > + > > + required: > > + - interrupts > > + - resets > > + - reset-names > > Same here, as clock-names is not required anymore. > > > + - renesas,vsps > > + > > additionalProperties: false > > > > examples: > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >