From patchwork Tue Feb 2 07:16:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 374602 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1979009jah; Mon, 1 Feb 2021 23:22:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZdLENU5d35DfpVgw1WkAippZ0AciInFfhavF03xDTa4VA/AdRUWOvsoyyDyySI/SzzNjn X-Received: by 2002:a17:906:84d7:: with SMTP id f23mr5790749ejy.87.1612250567361; Mon, 01 Feb 2021 23:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612250567; cv=none; d=google.com; s=arc-20160816; b=W1h6gO66RJku7pIhgY5E9hGxyoRLAQFJr+JWKvKVg0kBG9/4+NVgYnmV3zQkXtI427 moe13D3xadvLmCYkxONgChXvf4sHXGry+YxxI0InZhYjhRUWY/Xr/5Rg6jbGg+ozPpQs UL18l1I9Etgiu8heC01K4BvwG7afDBZJJOhmxgpCD9ny+DVgExThI/MnTYuGDN34aapr A0awEGgkVShB7k3wAaacUjDAj8ILAYACqINdPckIR6/36PdJjlVTkOFgV0juIYpw/wXL 7TVH6PW362vr9/RQTsNi9dZrZCAdjzgh3LhaG7rs+CNaDeq8fouX9pPTKbGgoABf84+7 ud/g== 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=+xcN+kIaowoRUGj3w0U6AbldgEm61PML9VrtqOpaWCk=; b=oIjn506m+XqPneN6XffrrTDzGGb8hRR+b1wEKm/ksExUaxpOd8YTFa4TXalZq6ZqXu Qb3vx4HELT6Mxn1wyphbD75GQnBYu1SstwIclIYdcZgBVImQ7CHzQ4z0R3gHhkG3Rh8i WFgrts2phBV9tQgDuj9/E5GT/n5enQVoU51jJeE+FjVsSVQzUGz83leYO6QzlFmYUe5T nA+YV94SYpaRePRM9qMMPmkZtNxJYiy+q1RlOixFqCk9/xLR9zdi3yWokf48tClUK/ML 1vbOkaPyGwka6f5IbsaGCHQ2nohWFesOVLHbd1dHGDAX+JMXOpx0JhHxxEHK2CtkjK8z chmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si11914746edt.463.2021.02.01.23.22.47; Mon, 01 Feb 2021 23:22:47 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232165AbhBBHWP (ORCPT + 6 others); Tue, 2 Feb 2021 02:22:15 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12097 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbhBBHWN (ORCPT ); Tue, 2 Feb 2021 02:22:13 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DVGRb5kbWz162Kl; Tue, 2 Feb 2021 15:20:11 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Tue, 2 Feb 2021 15:21:19 +0800 From: Zhen Lei To: Russell King , Greg Kroah-Hartman , Will Deacon , "Haojian Zhuang" , Arnd Bergmann , Rob Herring , Wei Xu , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH v7 3/4] dt-bindings: arm: hisilicon: Add binding for Kunpeng L3 cache controller Date: Tue, 2 Feb 2021 15:16:47 +0800 Message-ID: <20210202071648.1776-4-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210202071648.1776-1-thunder.leizhen@huawei.com> References: <20210202071648.1776-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add devicetree binding for Hisilicon Kunpeng L3 cache controller. Signed-off-by: Zhen Lei Reviewed-by: Arnd Bergmann --- .../arm/hisilicon/kunpeng-l3cache.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/kunpeng-l3cache.yaml -- 2.26.0.106.g9fadedd Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/arm/hisilicon/kunpeng-l3cache.yaml b/Documentation/devicetree/bindings/arm/hisilicon/kunpeng-l3cache.yaml new file mode 100644 index 000000000000000..5bf33c0e4d14b7f --- /dev/null +++ b/Documentation/devicetree/bindings/arm/hisilicon/kunpeng-l3cache.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/kunpeng-l3cache.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Kunpeng L3 cache controller + +maintainers: + - Wei Xu + +description: | + The Hisilicon Kunpeng L3 outer cache controller supports a maximum of 36-bit + physical addresses. The data cached in the L3 outer cache can be operated + based on the physical address range or the entire cache. + +properties: + compatible: + items: + - enum: + - hisilicon,kunpeng506-l3cache + - hisilicon,kunpeng509-l3cache + - const: hisilicon,kunpeng-l3cache + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + l3cache@f302b000 { + compatible = "hisilicon,kunpeng509-l3cache", "hisilicon,kunpeng-l3cache"; + reg = <0xf302b000 0x1000>; + }; +...