Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3003964rwl; Fri, 6 Jan 2023 14:08:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXu1TPC6MC+Mf4CHujF/CVAjHHROSVEMvfEag6AJESfLi1WJ6i63uzIOtifdZt4aOJM6wrWj X-Received: by 2002:a50:fa85:0:b0:496:d2f7:77a2 with SMTP id w5-20020a50fa85000000b00496d2f777a2mr3348234edr.18.1673042927579; Fri, 06 Jan 2023 14:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673042927; cv=none; d=google.com; s=arc-20160816; b=F1YCsr9xv43kVf1UcNf+RZiCvj0V3ZHGTKYTTwxF/h0RW+6ywK65XN5o5zyzKZmW3s jj7Zaw2KE34qS44J1dcANUiAr+FzS23j18w8tzRZnjP7PvHj5LdEE2iLMltCBVSzYtea 6RDQ2mhLOeok5wJ2ULrg+G+l/A4XuzQf7/JNuI4ZoO8pX0JUUeeeh8BRNbBJLtgzxq1z DfxG9LyDSLl86oKietXkEkvoec2qUBrx4ZQRRFclYNeqM268ui7UA27asrMcqjrNXaDT l4kSNMU7y6c+QjURWFisbOXUvLGrmioUH4mG/51zCsfK+rkVMizzKsYTq1MJHDdNgKNG PbtQ== 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:dkim-signature; bh=OlqCHySCnamqeOzcrQObl3qtrfALta06NtJo96BOPUA=; b=Bgi8N/siT9RszsKLcdO41nwahW1ipntFB1nhGLAZkbMo38Q5u0pTztBYF2+CQ1YtQA QrSaazVuFUVCRsqk36W8rF8BOuKN5pdBEModbWU84y2g681W2OkH9B2eo9l4Grb6seox IrNUdRQKhVJlgxuwkOdmRyJIV1yP/Cflict5FQMZTZeOpYNHDjeaL/zDqTq8PTLI/2PN cpxPqaaDi/YQkAGRz1LkSjscZtBAKqV+9zdkBkTYNfvyekdf36Fb6VBM+FGuMKeVIMhL QkqOpTm+uIu9/0j4kG/Y5Ez8KPyNzSiuq8U7Fsp9B1k1PEK7jIn+mQlUvrYnXwrutEwU OH/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tNCqaw/B"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020a056402274900b0048612395228si3374926edd.44.2023.01.06.14.08.34; Fri, 06 Jan 2023 14:08:47 -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=@kernel.org header.s=k20201202 header.b="tNCqaw/B"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236541AbjAFVxy (ORCPT + 57 others); Fri, 6 Jan 2023 16:53:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236382AbjAFVxu (ORCPT ); Fri, 6 Jan 2023 16:53:50 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8F8840B7; Fri, 6 Jan 2023 13:53:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 80A7B61F94; Fri, 6 Jan 2023 21:53:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC1CDC433D2; Fri, 6 Jan 2023 21:53:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673042027; bh=rI+SEvyTIsvgt30L44Eed0n2Px45rBkzB8yN8mvHwXM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tNCqaw/BCF+CSc8AjqiAkJsFi2TwnVft2XalA+XwUYQ9OT2XecNC9pxLgIG+Z0/qC H+21MbYZ69zzk5bXUIqZ0xPmeqw8Pupf0IDUKw6src9anTmZaZEgkAHAJ4JNwJczSN rqEvPJTAd/jAqT5tZusogGTLtCuMBs4KVD7RBxbtDguMeOa0jZ9dW7TMd37VIsneJ7 fstTUvMAvGgNqYhucqQQSmEQ6v2rKHi8vwdMXnWxvecS1NOE6hzq0Dojj5jO0mkhq2 FL/1o4hFKF8FoFtIm2Y1wADLdvtmDz9YVRtuBEALtaqeCiJ73ps3I4sZXuFhQtQ1O4 kA/d3AxLNOfZQ== Date: Fri, 6 Jan 2023 21:53:42 +0000 From: Conor Dooley To: Prabhakar Cc: Arnd Bergmann , Conor Dooley , Geert Uytterhoeven , 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 Subject: Re: [PATCH v6 4/6] dt-bindings: cache: r9a07g043f-l2-cache: Add DT binding documentation for L2 cache controller Message-ID: References: <20230106185526.260163-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230106185526.260163-5-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tIA4JDPsWfQayrqA" Content-Disposition: inline In-Reply-To: <20230106185526.260163-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --tIA4JDPsWfQayrqA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 06, 2023 at 06:55:24PM +0000, Prabhakar wrote: > From: Lad Prabhakar >=20 > Add DT binding documentation for L2 cache controller found on RZ/Five SoC. >=20 > 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. >=20 > Signed-off-by: Lad Prabhakar > Reviewed-by: Rob Herring > --- > v5 -> v6 > * Included RB tag from Geert I think not! > v4 -> v5 > * Dropped L2 cache configuration properties > * Dropped PMA configuration properties > * Ordered the required list to match the properties list >=20 > 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,ax4= 5mp-cache.yaml >=20 > diff --git a/Documentation/devicetree/bindings/cache/andestech,ax45mp-cac= he.yaml b/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.ya= ml > 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 pro= viding > + 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 u= sed. > + > +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 :) Reviewed-by: Conor Dooley Thanks, Conor. --tIA4JDPsWfQayrqA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCY7iYZgAKCRB4tDGHoIJi 0p46APsFNXlYwWU3GS2ttLrn+Seaopu4i3MRZtRPmU+RWPVj7gEAuhpuF3CBfuYo qNWNGFI9q2g2IQ3D9k4AHavtlGWS0ww= =pobs -----END PGP SIGNATURE----- --tIA4JDPsWfQayrqA--