From patchwork Tue Dec 20 01:12:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Feng X-Patchwork-Id: 34864 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2708451wrn; Mon, 19 Dec 2022 17:14:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf79CukByiq/UrWVjMcVPv78plNAceEAzJ10fg1WmVT37jrZ2rFIaKqEtyn75CenPCeQYXMv X-Received: by 2002:a05:6a20:93a3:b0:ac:2424:e873 with SMTP id x35-20020a056a2093a300b000ac2424e873mr55910068pzh.17.1671498848673; Mon, 19 Dec 2022 17:14:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671498848; cv=none; d=google.com; s=arc-20160816; b=UWxuYcQEXklPvaHOw37s75isQC0eb/LM+x3EHZHHsoFX0yXLPd8RwCOMv+qvJOkKVa H8k5uw9hhAkycVlG6vNYgUBlXKZ7TJ1lXinf1AbPYRzF9J0rqWfILZELZn3NeH9UA0vo dl/YUtNhTf7ZpLxzisptnJWWLfH+mw/4YytvNkvnAllOvq40+NAtTY5KvuyxibB9oQdn RMfg8lUuxGpOAoWUOZeaJFZycjM+CUIYCfAw8QoDknPe+pdg9lvS8+KqowzJRzV1HTG3 YPczx6VDieQ5UorEjVAEGfwMcxP27OnvEfYqOCl1+mmnlVc7FuH4vqiQOsX+PbN8+wrJ xFBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QuS7KwZvxd0M5FSG9kXHY7H3zQF+oYmtooKCkiu3TYg=; b=cCYpxxX/igxOnMoSA66koTSY6LOJk2JC8Vn50K0BVwiR1ZPTVLJu1SeHfdpql3MZCu Tnnnmf+gtmBl/VZePC7Bz2I3lVBmtSeldMmeqwDMUef/TIPUdJMcB+XQYKJ+E0iJMoyE 2quo2KphvA7gB/JQImrGI4XMMixMTY+6itTptKlR3AP4v1cJR3bU+0qolGEzi43UqneZ 3lNdcTFF82JXXi+7/rBQpOm2fiON8mCqT43bPU05X2XCvOOhvy3mLSVwO1dvk2fWF/Bk nYPtTTZHvuYGaAvf8nuZMR/GQe3L+88kOzlgwNu8v0JZNYUZbINXwb++Lg9xbwIy488R A8wQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw4-20020a17090b4d0400b00212e4f65e71si19140548pjb.31.2022.12.19.17.13.55; Mon, 19 Dec 2022 17:14:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232937AbiLTBNJ convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Dec 2022 20:13:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbiLTBMz (ORCPT ); Mon, 19 Dec 2022 20:12:55 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B79011C14; Mon, 19 Dec 2022 17:12:54 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 1C40A24E1AC; Tue, 20 Dec 2022 09:12:53 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:53 +0800 Received: from ubuntu.localdomain (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:52 +0800 From: Hal Feng To: , CC: Conor Dooley , Palmer Dabbelt , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , "Thomas Gleixner" , Marc Zyngier , Stephen Boyd , Michael Turquette , "Philipp Zabel" , Linus Walleij , Emil Renner Berthing , Hal Feng , Subject: [PATCH v3 4/7] dt-bindings: sifive,ccache0: Support StarFive JH7110 SoC Date: Tue, 20 Dec 2022 09:12:44 +0800 Message-ID: <20221220011247.35560-5-hal.feng@starfivetech.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220011247.35560-1-hal.feng@starfivetech.com> References: <20221220011247.35560-1-hal.feng@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752693576584009757?= X-GMAIL-MSGID: =?utf-8?q?1752693576584009757?= From: Emil Renner Berthing This cache controller is also used on the StarFive JH7110 SoC. Signed-off-by: Emil Renner Berthing Signed-off-by: Hal Feng Acked-by: Rob Herring --- .../devicetree/bindings/riscv/sifive,ccache0.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml b/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml index bf3f07421f7e..31d20efaa6d3 100644 --- a/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml +++ b/Documentation/devicetree/bindings/riscv/sifive,ccache0.yaml @@ -38,6 +38,10 @@ properties: - sifive,fu540-c000-ccache - sifive,fu740-c000-ccache - const: cache + - items: + - const: starfive,jh7110-ccache + - const: sifive,ccache0 + - const: cache - items: - const: microchip,mpfs-ccache - const: sifive,fu540-c000-ccache @@ -85,6 +89,7 @@ allOf: contains: enum: - sifive,fu740-c000-ccache + - starfive,jh7110-ccache - microchip,mpfs-ccache then: @@ -105,7 +110,9 @@ allOf: properties: compatible: contains: - const: sifive,fu740-c000-ccache + enum: + - sifive,fu740-c000-ccache + - starfive,jh7110-ccache then: properties: