Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51254C678DB for ; Mon, 6 Mar 2023 01:56:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4472F85A7B; Mon, 6 Mar 2023 02:56:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 9AB5A85BA8; Mon, 6 Mar 2023 02:56:28 +0100 (CET) Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by phobos.denx.de (Postfix) with ESMTP id E08BE85A43 for ; Mon, 6 Mar 2023 02:56:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=yanhong.wang@starfivetech.com Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id BB2FD24E32E; Mon, 6 Mar 2023 09:56:20 +0800 (CST) Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 6 Mar 2023 09:56:20 +0800 Received: from [192.168.120.49] (171.223.208.138) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 6 Mar 2023 09:56:19 +0800 Message-ID: <3ca5b442-2a4f-0de4-c019-4a39997658f5@starfivetech.com> Date: Mon, 6 Mar 2023 09:56:18 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v3 02/17] cache: starfive: Add StarFive JH7110 support Content-Language: en-US To: Conor Dooley CC: , Rick Chen , Leo , Lukasz Majewski , Sean Anderson , Lee Kuan Lim , "Jianlong Huang" , Emil Renner Berthing References: <20230303032432.7837-1-yanhong.wang@starfivetech.com> <20230303032432.7837-3-yanhong.wang@starfivetech.com> <54b09759-d064-4822-90df-b61e1782fac5@spud> From: yanhong wang In-Reply-To: <54b09759-d064-4822-90df-b61e1782fac5@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 2023/3/4 5:07, Conor Dooley wrote: > On Fri, Mar 03, 2023 at 11:24:17AM +0800, Yanhong Wang wrote: >> This adds support for the StarFive JH7110 SoC which also >> feature this SiFive cache controller. >> >> Signed-off-by: Yanhong Wang >> --- >> drivers/cache/cache-sifive-ccache.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/cache/cache-sifive-ccache.c b/drivers/cache/cache-sifive-ccache.c >> index c8766f6242..c1bef0b4d3 100644 >> --- a/drivers/cache/cache-sifive-ccache.c >> +++ b/drivers/cache/cache-sifive-ccache.c >> @@ -62,6 +62,7 @@ static int sifive_ccache_probe(struct udevice *dev) >> static const struct udevice_id sifive_ccache_ids[] = { >> { .compatible = "sifive,fu540-c000-ccache" }, >> { .compatible = "sifive,fu740-c000-ccache" }, >> + { .compatible = "starfive,jh7110-ccache" }, > > Perhaps there's a u-boot policy I am not aware of, but why not just add > "sifive,ccache0" here instead, since the jh7110's ccache is compatible > with that? > Thanks. I will add "sifive,ccache0" here instead. > Thanks, > Conor.