From patchwork Mon Feb 1 03:36:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 374209 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp921452jah; Sun, 31 Jan 2021 19:39:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJySZ2jUWLYhbIpXUekgurB5cKdrQ3UWSf7cRwMf4QGWd20qRkg9zyozrSphQi1NMz5T7Yh2 X-Received: by 2002:aa7:c643:: with SMTP id z3mr17573785edr.330.1612150785142; Sun, 31 Jan 2021 19:39:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612150785; cv=none; d=google.com; s=arc-20160816; b=hFfVTkJbZD9NLVFhgAep1KYgllXEsoPTfGcjJO5E57vgAT3jC/4qWrw6gebvLtgMSq GpyxrVgD+WD/UrJpt4exbTnIYW1+zsGj4NGBFlqZLITgoH5ElA2tL0x1Rx3yBy91SaI6 oGhNvPAH84675AmXUSOCpimZ6XYbVpIffJq6xKPZn7e2dX2O6kMO+Wr1m0Nv7rBeXxCl CdGUYyq2KWnQgykZ6l+W9m7xJzkbPg/vIEqfiQpdE+t6050/Fov+w+v5Nbe14mqzTVH1 XIUTinkReM6F8xBVUTBmchPDJoYZYdvzafflVb4BEujdWdA7+M/XTf5oOGLdLBvB81Yt Jlyw== 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=CAtX7BwNI7ZaKfR9OAJpqxT4nJCj/QWG5Htz1DCYe2htHAD6r76hYQ2FOUIRriZFr/ uCUQzjHso3xzCjWp82061NiDc379CviTCRt5+EOXRjXJtGBUKK9a0cIrApZTpCGiLOyy 3+UQxNfPu+rn8scfmP/Wnu6P2O4Pt9YFfdrIcDFpaN8amsbIeNFzZpBENgWYPVcqlUZk efJRwpEHFgshXyBDFEoyblnpF8LQVoF0b9jn0g20a9ewzXcD1etgDUZJARsIap8NDNjQ kakattNxou02H6HBLHcu5ZxgcjcCWLKFTsZbQ7V/0FwRJsse7a2UrUwbssMFBMM6AU2X tktQ== 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 ks11si9381318ejb.186.2021.01.31.19.39.44; Sun, 31 Jan 2021 19:39:45 -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 S231442AbhBADiR (ORCPT + 6 others); Sun, 31 Jan 2021 22:38:17 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11660 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231416AbhBADiL (ORCPT ); Sun, 31 Jan 2021 22:38:11 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DTYW76QklzlDLw; Mon, 1 Feb 2021 11:35:47 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Mon, 1 Feb 2021 11:37:15 +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 v6 3/4] dt-bindings: arm: hisilicon: Add binding for Kunpeng L3 cache controller Date: Mon, 1 Feb 2021 11:36:00 +0800 Message-ID: <20210201033601.1642-4-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210201033601.1642-1-thunder.leizhen@huawei.com> References: <20210201033601.1642-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 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>; + }; +...