Message ID | CAJM55Z-vw1sbks0KcHOXMzP-6c9NMg+GOndi2pQ7iyWh0=oQiQ@mail.gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp168332vqb; Wed, 25 Oct 2023 11:57:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IER3B9V1rzObQ7rFIEv581gYWm90/6a3ZFUx5NVnzQvlMMZ3pW8x8s+rYoAIaZqjTB874Nc X-Received: by 2002:a81:9244:0:b0:5a7:bc66:949f with SMTP id j65-20020a819244000000b005a7bc66949fmr16672425ywg.26.1698260255898; Wed, 25 Oct 2023 11:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698260255; cv=none; d=google.com; s=arc-20160816; b=WrIS+Y392oJaW59TsPBRGxYX4FjZKkHkU28J6bElhnr3A84PM9CpB/N8n2szUOEMR/ M+W7Kh3SebwTdktjnDU1xUREwqHjhfL09pz99BQ8zsagjrbXNbelAiX8ACj7lqeCc/JJ V4Xmx8H5SFYZnZhTJD62jQ9Oh2KQiTBJgZbWiY2XoYuLkX3NxQQvXAJdcav2VBoWq8+L EQDBpOS7oc+GwPRs4pJUbeL0o3PoBPOlGxCP9Fqkg8XrwfZG2vz1tG8ENRLafm8MbfRZ 8A0jipMV6H6r3eYrcoDQu6Q48sXJPKn4LZMSmFM8+bHXgWnim8jUqHQpulGFa4oOTc7h SQmA== 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:mime-version :dkim-signature; bh=dpC5A+l/P4E3TUZnqSQSiD+h/0pN6MHwAsvozKjAyuE=; fh=GKwi3PIaODeWWi7LRupwzJjuTN6YK5tMuKf9v4MgXdc=; b=l56gwWQUdrfGqKa7VqObSnrP4fgq8W5eD0IYN5iJcv+p/CnSnR8Ttf0mFkkHJpaoax lVV982HSR3wfopet3j2BlnBBJ+MSmVus1o8mpI1UjOtf+u+NiA9sgR+Yo41IdBK8oj/p XE57sldsEvH6sVNgLr74u4Hiy2aVEtGyDU02Lpi8kLKYVzR3z1UY7ekodFK55Sms92t6 q9xBZCotZp6IJnfLKVTYkI94ycuf3J6d7p0hjLkC6DsM7oNzCfNNKYYMC5yEzHoTRV7e 0vI9OQP2GQYMyrX9mP/9Q3heKlx6GEJimv6ShqQVLBr6rmp1/gFsz5D0+KlghHjFDK8C YyEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=n0h5vAub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h74-20020a816c4d000000b005a7af20beb6si13245756ywc.417.2023.10.25.11.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=n0h5vAub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A3854807E8A7; Wed, 25 Oct 2023 11:57:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjJYS4p (ORCPT <rfc822;a1648639935@gmail.com> + 25 others); Wed, 25 Oct 2023 14:56:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbjJYS4n (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 25 Oct 2023 14:56:43 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F171116 for <linux-kernel@vger.kernel.org>; Wed, 25 Oct 2023 11:56:41 -0700 (PDT) Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 2FAEE420AF for <linux-kernel@vger.kernel.org>; Wed, 25 Oct 2023 18:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1698260200; bh=dpC5A+l/P4E3TUZnqSQSiD+h/0pN6MHwAsvozKjAyuE=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=n0h5vAubFSF8HklEHnm0IiBJXrCYXVWEBTFwKU+Ftu71v4YK+0MLH5qHc+pjM64aw +m3xIt4wgNS+nOsIYMDlb7pOCEwMCGvFSWpal5w1xAh8/kEneR7fmp9MNUsqzTyLoW nu5vCvJsP+f5Rkd7626X090kW0DFEflFkDUXnGqmY+yNzr1sGJ3Pvb+ZviSLY0YcJr PtJzvrTZr9Gojhyz032kgcsXU27TyPI9VVT7wjLRGwC4SZStrKVz3qnZAjZ3uPlKJG AWh/AtkOUZ6l+L2KQy6Hf3nZM7tjvZjvJ+eqzFCQTr9YCDD6/qd041bu2IIFbLCZnh qF2dfPo9NzYsg== Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-41cd5166101so1536971cf.0 for <linux-kernel@vger.kernel.org>; Wed, 25 Oct 2023 11:56:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698260198; x=1698864998; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dpC5A+l/P4E3TUZnqSQSiD+h/0pN6MHwAsvozKjAyuE=; b=vXpyl+p7bsQ+sXBFCtLys+83NuuxiGGiQr58kEH0XVIbXJKG/hnv2DZc9yQj4nPRbz xezMHWNsv/94kDk0yW20CeqI63RodFIeXXKCTqSmuTzZGEZSTM/ZlgS6N6lpT91XP8od PBqFHI8Rbl2E4ATlhTi9qd76wHWJjvicFHH28KsBpaU25yUziNJxVIGY2jraqN540dch HjBJr2da2+10fjbu9DmyaS8Kb3+i3XnpaaMjhPAQIlAmOcJkOsJEEmG+4rn13vV7nPEW 8BTSgm6/M+HuVFrOCKtBdAJh7AYxQRU2+Zh7efhXeWQSGA/57YD3VaPyXU5jrHgMlB3L Ei9w== X-Gm-Message-State: AOJu0YyQvcxlmKis8zYuRRKWLn+7qvVSatG1Ga2l1ARuUJXc+SnfR+7u fDM/+gsrYt1zVSK+iS6f0DKY65ndmG+bjIBzZNkQTsnaz9Pd6sOpjgA8hZYp7ZEexymQsV0vj4g Mo5flkijDqPwf/Y7m2u1MLfeO/zB8km5ySgLVW78eItMxoUUxuijcnr75aQ== X-Received: by 2002:a05:622a:1492:b0:41e:3de2:c8ff with SMTP id t18-20020a05622a149200b0041e3de2c8ffmr481492qtx.51.1698260198096; Wed, 25 Oct 2023 11:56:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 2002:a05:622a:1492:b0:41e:3de2:c8ff with SMTP id t18-20020a05622a149200b0041e3de2c8ffmr481483qtx.51.1698260197850; Wed, 25 Oct 2023 11:56:37 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Oct 2023 11:56:37 -0700 From: Emil Renner Berthing <emil.renner.berthing@canonical.com> Date: Wed, 25 Oct 2023 11:56:37 -0700 Message-ID: <CAJM55Z-vw1sbks0KcHOXMzP-6c9NMg+GOndi2pQ7iyWh0=oQiQ@mail.gmail.com> Subject: [PATCH 1/4] dt-bindings: cache: sifive,ccache0: Add StarFive JH7100 compatible To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Conor Dooley <conor@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Emil Renner Berthing <emil.renner.berthing@canonical.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:57:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780754946375796352 X-GMAIL-MSGID: 1780754946375796352 |
Series |
soc: sifive: ccache: Add StarFive JH7100 support
|
|
Commit Message
Emil Renner Berthing
Oct. 25, 2023, 6:56 p.m. UTC
This cache controller is also used on the StarFive JH7100 SoC.
Unfortunately it needs a quirk to work properly, so add dedicated
compatible string to be able to match it.
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
---
Documentation/devicetree/bindings/cache/sifive,ccache0.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Comments
On Wed, Oct 25, 2023 at 11:56:37AM -0700, Emil Renner Berthing wrote: > This cache controller is also used on the StarFive JH7100 SoC. > Unfortunately it needs a quirk to work properly, so add dedicated > compatible string to be able to match it. > > Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > --- > Documentation/devicetree/bindings/cache/sifive,ccache0.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > index 8a6a78e1a7ab..7e8cebe21584 100644 > --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > @@ -38,7 +38,9 @@ properties: > - sifive,fu740-c000-ccache > - const: cache > - items: > - - const: starfive,jh7110-ccache > + - enum: > + - starfive,jh7100-ccache > + - starfive,jh7110-ccache > - const: sifive,ccache0 > - const: cache > - items: > @@ -88,6 +90,7 @@ allOf: > contains: > enum: > - sifive,fu740-c000-ccache > + - starfive,jh7100-ccache > - starfive,jh7110-ccache > - microchip,mpfs-ccache > > @@ -111,6 +114,7 @@ allOf: > contains: > enum: > - sifive,fu740-c000-ccache > + - starfive,jh7100-ccache > - starfive,jh7110-ccache > > then: > -- > 2.40.1
On Thu, Oct 26, 2023 at 02:10:37PM +0100, Conor Dooley wrote: > On Wed, Oct 25, 2023 at 11:56:37AM -0700, Emil Renner Berthing wrote: > > This cache controller is also used on the StarFive JH7100 SoC. > > Unfortunately it needs a quirk to work properly, so add dedicated > > compatible string to be able to match it. > > > > Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Did you want me to pick this up? Or you or Palmer will? Rob
On Fri, Oct 27, 2023 at 01:22:36PM -0500, Rob Herring wrote: > On Thu, Oct 26, 2023 at 02:10:37PM +0100, Conor Dooley wrote: > > On Wed, Oct 25, 2023 at 11:56:37AM -0700, Emil Renner Berthing wrote: > > > This cache controller is also used on the StarFive JH7100 SoC. > > > Unfortunately it needs a quirk to work properly, so add dedicated > > > compatible string to be able to match it. > > > > > > Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > Did you want me to pick this up? Or you or Palmer will? Me or Palmer I guess, I was going to take the lot together through soc. Cheers, Conor.
diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml index 8a6a78e1a7ab..7e8cebe21584 100644 --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml @@ -38,7 +38,9 @@ properties: - sifive,fu740-c000-ccache - const: cache - items: - - const: starfive,jh7110-ccache + - enum: + - starfive,jh7100-ccache + - starfive,jh7110-ccache - const: sifive,ccache0 - const: cache - items: @@ -88,6 +90,7 @@ allOf: contains: enum: - sifive,fu740-c000-ccache + - starfive,jh7100-ccache - starfive,jh7110-ccache - microchip,mpfs-ccache @@ -111,6 +114,7 @@ allOf: contains: enum: - sifive,fu740-c000-ccache + - starfive,jh7100-ccache - starfive,jh7110-ccache then: