Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp484398rwb; Fri, 18 Nov 2022 04:27:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4M76J2yFsJBFukurIQ4WDX2OrCoJopiMmoFwyUSxFp4SB5jbOg61Usui/iYdbfti7r5mtt X-Received: by 2002:a05:6a00:1a14:b0:557:ef5e:6db3 with SMTP id g20-20020a056a001a1400b00557ef5e6db3mr7707331pfv.13.1668774439132; Fri, 18 Nov 2022 04:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668774439; cv=none; d=google.com; s=arc-20160816; b=LueSwAb6YfbNmIs4hIxrlRJgz3OrbrGFonMLU/bgL78qAt95eL9mTR0SaCqO0VfgWA TQit9Zyh8udgfmj6V1csoI51d/45zdxtT96co0FoECE3OsT6O4uRv3uXkgp4adapnMK9 is+C7Vxp17N6V4BU4iq+A/aQ8FNt3vcpw5iLysMSUo5AQiBt1ZPLIOokeijyflQKpM1S a4rI4eI3kd9lnoUeuEibEW/8CWpm9b60/DtLrqi5SfMEGx65efYLXlFH8xO5G7xCnNGv c508r9poPu9KkU8w3MSdPcxG/F8HXuDVOMBRomqvt4/CSzxywKHfCa05KfrEZnwTBeQm rzbg== 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=RwzyoamSOoxXh++mCCLSnbr++TgMkeCjcmxiOR7vmtk=; b=yFD6BrQrHD8bsQio1uDsvx2ILpAO2R/Fm4q5GHcdfeStT83is0KEYbi1PCMwmttP/V 2zkiyxzO+W4z3V2Ldh4zzNGONXupW4Bw85gHi32M60n8jS519RTGs0GPmgri1wpYFHoO 1DpDTGts0djpWiESi49Jk/zgNOwfxq3iLi83fMvY/GdwcXsc2a2nn2MOUpEl2TQuurhg 7ag1uOUnVD5PDQxvEjFATULJ35/1LPrHCpKSnXn5Xt4KABVCaDFITIA5h0mytfd4JOuq yr3HBKzltShDoQAwRMamdB6GLVKg+19iYcezDb748oQi7WXlKLKDZFWGxPnSRujRH2Sb 3tyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qJ4tDZoV; 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 138-20020a630590000000b004767bc460a2si3807250pgf.520.2022.11.18.04.27.07; Fri, 18 Nov 2022 04:27:19 -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=qJ4tDZoV; 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 S241782AbiKRLkQ (ORCPT + 91 others); Fri, 18 Nov 2022 06:40:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241706AbiKRLkI (ORCPT ); Fri, 18 Nov 2022 06:40:08 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EFDF922F2; Fri, 18 Nov 2022 03:39:58 -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 88C7D62477; Fri, 18 Nov 2022 11:39:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE23EC433C1; Fri, 18 Nov 2022 11:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668771598; bh=UyIeX4juBfKya0K1/HX+JueHL5NQPp5TQEvklryvzNk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qJ4tDZoV5W9JF8PAOclsTT5ToNGkLexs/PwJkqmZreR0EdACw7YVGMVOyCnnb4VVz TcKQEvM3E7lLx8t3TMP5LqFERmYh1ATjVPsYsYUCsiTq6NEL/UrlPGPsvaRlEmdfY8 a6yPjVm8ivWZWZ+4crk39YrZTUZk8i+UbH78Q1B04Ua6HVKJLwjD5X9Sia95tafMnY LC+PC27gbYrIZhUbPWKJTTPxOXzoIsdMsV/527ys1K2yODCwhZLumIRn36bsg/C8AS 9BYtKLaxyGyhc0oms5RPDgutUJP8SsdICdZuUDrRYBUeTYV/wTjLnqz9phuzmE5z/e 5sz9kMlYWeFMA== Date: Fri, 18 Nov 2022 11:39:52 +0000 From: Conor Dooley To: Hal Feng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/8] dt-bindings: sifive,ccache0: Support StarFive JH7110 SoC Message-ID: References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-5-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Fri, Nov 18, 2022 at 11:37:50AM +0000, Conor Dooley wrote: > On Fri, Nov 18, 2022 at 09:17:10AM +0800, Hal Feng wrote: > > From: Emil Renner Berthing > > > > This cache controller is also used on the StarFive JH7110 SoC. > > "... and configured identically to that of the FU740"? > Anyways, > Reviewed-by: Conor Dooley Actually, after looking at the next patch - why can you not fall back to the fu740 one since you appear to have the same configuration as it? > > Signed-off-by: Emil Renner Berthing > > Signed-off-by: Hal Feng > > --- > > .../devicetree/bindings/riscv/sifive,ccache0.yaml | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml b/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml > > index bf3f07421f7e..262d1d49ce25 100644 > > --- a/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml > > +++ b/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml > > @@ -25,6 +25,7 @@ select: > > - sifive,ccache0 > > - sifive,fu540-c000-ccache > > - sifive,fu740-c000-ccache > > + - starfive,jh7110-ccache > > > > required: > > - compatible > > @@ -37,6 +38,7 @@ properties: > > - sifive,ccache0 > > - sifive,fu540-c000-ccache > > - sifive,fu740-c000-ccache > > + - starfive,jh7110-ccache > > - const: cache > > - items: > > - const: microchip,mpfs-ccache > > @@ -86,6 +88,7 @@ allOf: > > enum: > > - sifive,fu740-c000-ccache > > - microchip,mpfs-ccache > > + - starfive,jh7110-ccache > > > > then: > > properties: > > @@ -105,7 +108,9 @@ allOf: > > properties: > > compatible: > > contains: > > - const: sifive,fu740-c000-ccache > > + enum: > > + - sifive,fu740-c000-ccache > > + - starfive,jh7110-ccache > > > > then: > > properties: > > -- > > 2.38.1 > > > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv