From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F2B8C47089 for ; Thu, 27 May 2021 11:51:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 082BE6103E for ; Thu, 27 May 2021 11:51:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 082BE6103E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AEpfmnb6nosG4DO5h0A+ug45iA1cLzv5Ufv45GEtGfY=; b=u1QVDP7Mu3e2te VA9hFBAMdro7EVweudQ/OX+7CKdMX7xcxu29BeWlZHE692p4NWDgZuNMFXxNoLoyr8/HJ1/+LdaCx ZQ4fXF5+ojBjvWBzmljRcJXICji5M6uVBAvxmTrbXgXxv+UWMJhdjzBENyCTs+oIaD3choD3XGOny bzTCIEXBWHhvR6t0yVRHhVbXFLSSarJ4d2CE3EVRyaEyh/GSN8tjNmY1ptm9K+3QNKhRbicI0wVrB GFcrAxdZNgWuvRy1Y6bnqglpUS+HUo8eLpYClCZDSkegtgeBr05S7n9UeB2JnFiNRB1uzTfJ+hg+e Wsa3oN4ByhEp1UCXw0Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmEWi-005S8k-53; Thu, 27 May 2021 11:50:12 +0000 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmEWd-005S5q-E5 for linux-arm-kernel@lists.infradead.org; Thu, 27 May 2021 11:50:09 +0000 Received: by mail-yb1-xb2b.google.com with SMTP id o18so242658ybc.8 for ; 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=teDJuS/QxUjWF1pScFBHXf3DK9aLOAqoAnt88QrVKoIeHScohIJgzMXKppT8bludgK qvHK8RtN4+5oSLeHB8Zm/hHDCtBddYC+f9TE0g49pQDuxmwCDBJVM3mXDhcKfPIt9+6m CzG5lIvQQmy6+ckCwviuoL9ES3b6LpqXC0IWED25vOhSqdlyOSWKepDRsb82sBPkVZEU vma5SBOM54WmD3LL7WsvH8OwH0o225CO25Vy8o0oTDip0tcr61hp+xF6TxWNiB0w1cUK LCzWOkNwc7RQlGrSQedu0VE4UMGiabit+Q2L0tMJ+I+q4rNztdi+DcievrNXV1AXzfYq Hdzw== X-Gm-Message-State: AOAM530KdOFmfixKVFZy4XXYN69nLQToRfPftD/eKMa9H9DA9PpBsFgr 5YwMLt540et2RJKWGWojRj+5fxIjAERUqaoNhHQ= X-Google-Smtp-Source: ABdhPJyxwMUStrDxwfF3K0zzCJrk3hadYFH3qRVvvtR+hbTLebxhsKoBQApK/1kGsfGE7L5iwcI/D2VUdnoE4W4PhPY= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210527_045007_503128_712F473D X-CRM114-Status: GOOD ( 32.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel