Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp875097pxj; Thu, 27 May 2021 13:48:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQCFXDoDPutu8IjDURJbijL376v1IVIX0XvKfOmF8CIUsBc+shgYIHzIivsH7S/WHvHxBF X-Received: by 2002:a05:6638:38a8:: with SMTP id b40mr5246246jav.37.1622148504933; Thu, 27 May 2021 13:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622148504; cv=none; d=google.com; s=arc-20160816; b=oluYh5zZoEboaB+gskWYZ4SVEQZ7wB1+oF8oPKcKCR3xNMsUE1y2f/UY1wJ4VqJt9p zZeyo7a//5uOcVZ2KOpS0SJ5ibfDJEGt167CS7HPKrs0MIr4gTSh7eFJTiwWsNRtfD0/ PWk3EMMUp/CMQf93OUKJ9yynQR7r1Fc1Q0WHa5tKL5pkfVJMN8LvpIclgmTQoPPhQKCv tSYHycz3NtbUcnuSfg0CcaL+A0qwSwCYtVfTpLm6n+PdpB0qc3vI3dPjpEzMeKzkk0Qc mmb0Xe1d7aYkJ+czg7snrTB+QErxrqT1xDQTuWYuG4SWxT2qdRM9T0IUrcXkeXgdrcYr lYjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=33GSI50sxu92I8IBITQZbN0A1jxl04eHMvNt/IrTGXc=; b=bfDnE0+9O5NOo0ULsfa/QoTePG67nulzyFc4PR0zLUhYDTckqsZve9iZqy6U1Op+Cb k00/bWps61ufo9rEoH9RAzqXJmfbw34YZEVvUdc8Fu4++NmHQK8RQkWZRz6iM/fIUmaP opISJ7MzInosf96XHVHg2BCnTEnYp0EvTjNGR6oiwYhPdtdwSogksV0bGFifWDiKguSV Se7WXFx6/ARjKifPYdjTKrulo2xirsuOLiBvvsGrazktS43Y0gTEdPnZ0+AJIu8nqpDk UrswL+avyuRHCRVFZG6oKsEaePW3Jnrrg2QJeXADqKZ7PhhoAVu/AbN4dsOudZ6wQJKu bbug== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si3163152iln.71.2021.05.27.13.48.11; Thu, 27 May 2021 13:48:24 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233029AbhE0LaK (ORCPT + 99 others); Thu, 27 May 2021 07:30:10 -0400 Received: from mail-vs1-f43.google.com ([209.85.217.43]:34356 "EHLO mail-vs1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbhE0LaK (ORCPT ); Thu, 27 May 2021 07:30:10 -0400 Received: by mail-vs1-f43.google.com with SMTP id x13so192023vsh.1; Thu, 27 May 2021 04:28:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=33GSI50sxu92I8IBITQZbN0A1jxl04eHMvNt/IrTGXc=; b=aa/oY4yZZUa8yyXmF5vkq6/da72PygoCYSVxB+IllQhHK/kLZAfUSjONkqHi1kSPIs JD0GxiavafwGTiiLykML129586f2Df2i9Z0WuuqiHGuGYOQDowNAWmKP80+6G+FmUxwu uzXcGx3Zs0YKlk7B4CqXqxiTWTLJW6HwOTUKRFeDVaoWd5Eq8G4X4Q16BlFKgU44mMaW 6s/rZFDbXZFPoLoNQAN5EP/OPG95YX2Y35SLjdkR+7OHjco3Y6iggLe45VXYNYcwRe98 uvbPqlm73+ytGDaGM7GuxKNq57oq5XG8QMo4Zlz+k75nEARDQYNLAMV5bA8O5JzU0QLT fozw== X-Gm-Message-State: AOAM530Fty12jBHE7NFvAEQzcvkuDSz+K6Dcr+1uvMmKSg6yWaP7R/dB wRlZkucADDwfjgo3EcdgUSe1E3vt00ZtuhwCqIg= X-Received: by 2002:a67:4386:: with SMTP id q128mr1725781vsa.40.1622114915482; Thu, 27 May 2021 04:28:35 -0700 (PDT) MIME-Version: 1.0 References: <20210514192218.13022-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210514192218.13022-3-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 27 May 2021 13:28:24 +0200 Message-ID: Subject: Re: [PATCH 02/16] dt-bindings: arm: renesas: Document Renesas RZ/G2{L,LC} SoC variants To: "Lad, Prabhakar" Cc: Lad Prabhakar , Rob Herring , Magnus Damm , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Philipp Zabel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux-Renesas , linux-clk , "open list:SERIAL DRIVERS" , Linux ARM , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, On Fri, May 21, 2021 at 7:10 PM Lad, Prabhakar wrote: > On Fri, May 21, 2021 at 2:23 PM Geert Uytterhoeven wrote: > > On Fri, May 14, 2021 at 9:23 PM Lad Prabhakar > > wrote: > > > Add device tree bindings documentation for Renesas RZ/G2{L,LC} > > > SoC variants. > > > > > > Signed-off-by: Lad Prabhakar > > > Reviewed-by: Biju Das > > > Reviewed-by: Chris Paterson > > > > > --- a/Documentation/devicetree/bindings/arm/renesas.yaml > > > +++ b/Documentation/devicetree/bindings/arm/renesas.yaml > > > @@ -308,6 +308,15 @@ properties: > > > - renesas,r9a07g043u11 # Single Cortex-A55 RZ/G2UL > > > - const: renesas,r9a07g043 > > > > > > + - description: RZ/G2{L,LC} (R9A07G044) > > > + items: > > > + - enum: > > > + - renesas,r9a07g044c1 # Single Cortex-A55 RZ/G2LC > > > + - renesas,r9a07g044c2 # Dual Cortex-A55 RZ/G2LC > > > + - renesas,r9a07g044l1 # Single Cortex-A55 RZ/G2L > > > + - renesas,r9a07g044l2 # Dual Cortex-A55 RZ/G2L > > > > Given the LSI DEVID is the same for all four, and presumably they're > > thus the same die with different packaging, do we need these four > > compatible values? > > > Yes the LSI DEVID is the same for all the above, so as to > differentiate between each SoC's, these compatible strings are added. OK, especially for single-core versus dual-core, this can be useful, if "integration issues" pop up depending on the number of cores or other functionality being present. > * For example some IP blocks which are present on RZ/G2L aren't > present in RZ/G2LC. That'll be handled by the .dtsi, right? > * Adding this to DTS gives an opportunity to stop booting if the wrong > DTB is loaded into the board. This only works for SoCs with different LSI DEVIDs. As all four above have the same LSI DEVID, you can only distinguish them by the main compatible value. It does not protect against loading an RZ/G2LC DTB on an RZ/G2L board or vice versa. 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