Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp472254pxj; Thu, 27 May 2021 04:52:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY77GRqml4ICYsuWS51Cv049DntBrRHWACMmlOBVlx6o1X85fY0O0jy6R9JZD1PWkLp+74 X-Received: by 2002:a05:6e02:14a:: with SMTP id j10mr2620008ilr.175.1622116355773; Thu, 27 May 2021 04:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622116355; cv=none; d=google.com; s=arc-20160816; b=F3LQehepid33CE+uOaOPaX/M7uBc8z/BT3schRqSQEnZQ2oXxrlGS28l4rDVchOyDk bwWz2tD+frH0PEdZpbQ+z06d2HwKi3wypDnJVhlbpifraedLZ5jTVocrRCqS2hgoZFd6 1Jn5DNzRkKTYIhluxBmu8loIzcrPfQxBvLydgIk97yZ43fi+Th9Nd5bFtqAErUSNbXce 0zDQRCgYZBw7TV2vDqgb5YlV7wO6JqszjEzZPhIJ7BMpgUEYctobQXsF4O9LDPnR+Qy7 5t//pPZnTW50371OD0ulPlBay0FWWZFnfINUQKlhMAOqAFVfgVYo2vDQlguBhSNGoB0c GU2Q== 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:dkim-signature; bh=q1kENDG0WR8mOBK1OsInJzP26DtLwlvBt7ZWJLHTsCU=; b=wMSR1fwrvxgqKfXxro9OKVTZFtlyv0LREKp0eObPAgfUXG+wBj7p4VbFazdL8Q3TSk ZXo/ds9tVuMFETAAFhbaENE7o9X5zpRNeECWmLYA5USLn9hXuUOxwEnSNywGOdJtd9kN SH/i6SsLOcgKFvMt6MxMSfE2WuSh1izP/NjXKsM+ucvi6OC4S1OWjY7J7NEaBQ3eK7Wr 8amLLZzzS/c48ccGqh6mKjrwNvUY1e9MW1op9Cpkff+VL0Q0m66nCjvZZnHO0u5Lmamy RkdsaL4nobFE3YULE9UGaiECWfBhtrt4XgNeU69I5cz5QarimokpC277i4xt/T+FKR1/ lCPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ethVlmFY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si2287429jaq.7.2021.05.27.04.52.22; Thu, 27 May 2021 04:52:35 -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 header.i=@gmail.com header.s=20161025 header.b=ethVlmFY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234257AbhE0Lvl (ORCPT + 99 others); Thu, 27 May 2021 07:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233633AbhE0Lvk (ORCPT ); Thu, 27 May 2021 07:51:40 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2EABC061574; Thu, 27 May 2021 04:50:06 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id y2so206388ybq.13; Thu, 27 May 2021 04:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q1kENDG0WR8mOBK1OsInJzP26DtLwlvBt7ZWJLHTsCU=; b=ethVlmFYyKvR07Bfu9hSsFdqECyFYAc27wDmhxhmRy+O+zS8rHtUNJB7sO1v8LJPQt DC5z4Q4kKHt7QZjqLYlovBiZ6pPK/aT4WH7NMKRWWYhXhkO8rK3xNsS9bP9CK1Xv0JCi iBDf+bY5dnYTILyxnI8VvkElAeCJenOPE+XLFrLPtzhkbEFA5R/DoTbKTsROK00sMWWg y9+Ol7/zsRHv1QNWw6ICt+gIfBm33k7j6ZxDZc4wimTtFi1jP9klA/3fRLZNiJmRr87g rptRrDVUyJp9uS1Ue+lfkofBl3dY3EiWwAC36pu7jZD5Efz5vKLULPV3UjsZbhMdB4Jx p9CA== 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=q1kENDG0WR8mOBK1OsInJzP26DtLwlvBt7ZWJLHTsCU=; b=cFEshztxC4y9RHZ9ISJ2YXas7gRkBNNkQcUBIo9KMtrcH7Q1AMR9pC+WbcWtZmsyLA JEQqvNdfdJ7NwY6b9q9ofCcXzJ8rvNItTlB165mi62VCcuDLfPHIToJdfwGl2fuauPJn yVCTD8cMoS6fY3rHEHQn2FUiw9dlH+Wk9qNq81TC2VzVRHcvNOr9t5PeXHGbkA8/N3zN 5VIvfw+E9Wr53yApLMY+pEbUGpqGRK/yZtsqLkSEmxhaLO2dCptYGwGXP7mDoSvycQMo rIYUnoi7uZgvpQYAh+oZ+beLo6Bvcsvtv3Yvut3nPvAhQ9yvyncyBR2XbZuZvWAVdwDG 7dPA== X-Gm-Message-State: AOAM5339/Gh0ORyIYNV4fITQOqBzI2TGNwZw9ZLx2spMt0XZgTCrrGro YNMf8mzy5ukb+YGgOo2uEThmnI249c6r9N46dRM= X-Received: by 2002:a5b:54a:: with SMTP id r10mr4049339ybp.476.1622116205936; Thu, 27 May 2021 04:50:05 -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: "Lad, Prabhakar" Date: Thu, 27 May 2021 12:49:40 +0100 Message-ID: Subject: Re: [PATCH 02/16] dt-bindings: arm: renesas: Document Renesas RZ/G2{L,LC} SoC variants To: Geert Uytterhoeven 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 Geert, On Thu, May 27, 2021 at 12:28 PM Geert Uytterhoeven wrote: > > 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? > Agreed. Cheers, Prabhakar > > * 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