Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4192373rwl; Sat, 7 Jan 2023 12:57:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXtE8CEn/yrT+GtZP11hvZ1eWw9K9eo4DBGtwKQJ1WwmHfYWoAMQ+a3381s61pdyK4q5TFVo X-Received: by 2002:a17:902:da86:b0:189:747e:97cc with SMTP id j6-20020a170902da8600b00189747e97ccmr80679377plx.26.1673125023897; Sat, 07 Jan 2023 12:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673125023; cv=none; d=google.com; s=arc-20160816; b=qQqp843HStAuc42Gh6p2r57fHSW7rf/TRzZKuSw9bPHa+Kw6E+GfzBvbuMV3IGTuV8 v1sGlyNT85+SMTg2KjiBklWq2M44dnI6V9rdt2YcsDDe2TBbP+iO5Rth1i+/HzDHxzpO RGvlV4kvkUPV47wvRtz/4VeNH+iZ5gXhcn/ok96U/rf7G4uQ0EXYZMAzIEahg4fWPdoG +h0iBc3oNk0c7T/LrwYdK84cwoEf/Q0dKxvR2mykgKk88J0SJqUZx81xrMFMfifmbcxN 7Aw5ncDxg0v5NdcxAl51er6HIVlYSHwzdMUtWMXci5RWbS7l+oqev8FhOkjZbnrd56Jr zXCw== 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=v91NOW33Yw4ld/8hrWNvp88PBg4HhV/z+jC8/6Hxg/g=; b=FOpqRKkEJ2NaFQme9w8gG5nI9xf1Doa4InfLBMYTy/17UniKv8wce9t6dZAH+KP7+q l/fKrR7MtSBQDW7yQw/r3imFB1kFpc4usRcO8C1b9j4mN034W+PwKFUHZUyrfdiAjkJH PswGDqrE6Ios6TxFGcKbb9/amiPnhBy29bmF/kplz7/PEbw6X7o/g7rvIrCyNYh6Doua 0SQVAZm1ZSqY28uiSFQK73taBZCec2UK+kAYr+Yv3rjF7uBZcCqjmwgicDm2JWAUuBvz LSg1wZK7Dr5cdFckvQ1KOIKLAZU2nDugrel3nsypMjVacWshaEHfYcXcPh4Uty9h1yjK YftQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fZ54oarp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a17090332c500b00179f8a3f838si5472484plr.593.2023.01.07.12.56.56; Sat, 07 Jan 2023 12:57:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fZ54oarp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232835AbjAGUog (ORCPT + 53 others); Sat, 7 Jan 2023 15:44:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232479AbjAGUo1 (ORCPT ); Sat, 7 Jan 2023 15:44:27 -0500 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3E5A3DBC2; Sat, 7 Jan 2023 12:44:26 -0800 (PST) Received: by mail-qk1-x731.google.com with SMTP id p12so2390038qkm.0; Sat, 07 Jan 2023 12:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=v91NOW33Yw4ld/8hrWNvp88PBg4HhV/z+jC8/6Hxg/g=; b=fZ54oarpBPjAErlsUXRhoViKjxS+Cn/Z4UkwKhEcRGsQDW4RJIJGXfbAoqE2KMfT5Z mtzUWGbDpzL+U2fJAyQ2Bc5Ccei++KTSWP4KT2QaNJWASRx9wjAjBuNsppuntANxPDE5 EBGIcqdIoSm3nvswcInG0XGOIAG/LpLwfpYjM0PKqfMVyBbegDMMI2EsM7YRWsr8PYB0 bt9AxzZ3WSvpTveM6PESRVHeCr6l83+hi0j7+0vyjo7U9JiX3VmUHpBErsd/rI37PUSc vTP8BDwvD6Fq8izxU3I0okzgZLMeFfe9VLSubS+S/xXzegRG4FuY4VtCFEzJfJc2Zi0g Q8EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v91NOW33Yw4ld/8hrWNvp88PBg4HhV/z+jC8/6Hxg/g=; b=aoeBTqT87Pbj7BYSIWZmaVwPrVMHZD6wvBuxUrxTzacWmj0MkhUy5mQtuauq3MhmBY z4d1KKom3n2B942YhEbMT7oo07jYR8P93ovnr1+8Z51YY03p//PtLgBIzDp69thzuRN0 RjY52j+CjJJBLJe7CoL/CFH992X9fH75Hyg/euaF7NKsctbKwrgtk6XBkrlZR4803/Z1 OhTLaLQjwbsVC9Yt4ulmhhYlXlQg0neyTmFMj3nx6RkMrzeC7LCQgF46RgjEFVj3DQ+9 9/kRxsLB1D9i3/JHaGxKNKnyuf8Xmr49mLk0/tDKZLpi5emcitNF1u+ENDmgFmRlzfNL nlSg== X-Gm-Message-State: AFqh2kpVAUzHyk2sv+9cKnOALkfWt2bQMqYYYbPb0B+pHvbzKr7eQ1wh ioWz1lrbnvlhNRl2MvDzdbO+E9TutkZDJglmosDyH5ZFkSUFIg== X-Received: by 2002:a37:38f:0:b0:6ff:b5c2:9c88 with SMTP id 137-20020a37038f000000b006ffb5c29c88mr2926548qkd.575.1673124265987; Sat, 07 Jan 2023 12:44:25 -0800 (PST) MIME-Version: 1.0 References: <20230106185526.260163-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230106185526.260163-5-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Sat, 7 Jan 2023 20:43:59 +0000 Message-ID: Subject: Re: [PATCH v6 4/6] dt-bindings: cache: r9a07g043f-l2-cache: Add DT binding documentation for L2 cache controller To: Conor Dooley , Geert Uytterhoeven Cc: Arnd Bergmann , Conor Dooley , Heiko Stuebner , Guo Ren , Andrew Jones , Rob Herring , Krzysztof Kozlowski , Lad Prabhakar , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , linux-riscv@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Rob Herring Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Conor, Thank you for the review. On Fri, Jan 6, 2023 at 9:53 PM Conor Dooley wrote: > > On Fri, Jan 06, 2023 at 06:55:24PM +0000, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add DT binding documentation for L2 cache controller found on RZ/Five SoC. > > > > The Renesas RZ/Five microprocessor includes a RISC-V CPU Core (AX45MP > > Single) from Andes. The AX45MP core has an L2 cache controller, this patch > > describes the L2 cache block. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Rob Herring > > --- > > v5 -> v6 > > * Included RB tag from Geert > > I think not! > Sorry that was a typo. I meant Rob :) > > v4 -> v5 > > * Dropped L2 cache configuration properties > > * Dropped PMA configuration properties > > * Ordered the required list to match the properties list > > > > RFC v3 -> v4 > > * Dropped l2 cache configuration parameters > > * s/larger/large > > * Added minItems/maxItems for andestech,pma-regions > > --- > > .../cache/andestech,ax45mp-cache.yaml | 81 +++++++++++++++++++ > > 1 file changed, 81 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml > > > > diff --git a/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml b/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml > > new file mode 100644 > > index 000000000000..9f0be4835ad7 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml > > @@ -0,0 +1,81 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +# Copyright (C) 2022 Renesas Electronics Corp. > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Andestech AX45MP L2 Cache Controller > > + > > +maintainers: > > + - Lad Prabhakar > > + > > +description: > > + A level-2 cache (L2C) is used to improve the system performance by providing > > + a large amount of cache line entries and reasonable access delays. The L2C > > + is shared between cores, and a non-inclusive non-exclusive policy is used. > > + > > +select: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - andestech,ax45mp-cache > > + > > + required: > > + - compatible > > + > > +properties: > > + compatible: > > + items: > > + - const: andestech,ax45mp-cache > > + - const: cache > > You might find value in a specific compatible for your SoC & enforce > constraints for it. Or you might not & I don't care either way :) > Good point actually. Geert what do you think? Cheers, Prabhakar