From patchwork Wed Sep 30 03:17:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 313831 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp4679766ilg; Tue, 29 Sep 2020 20:19:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLFZbmc/HiP00zOKIaPEZ2UJkvm4wwl0XCNZdaoK0fIZogvELvxRIY2t4Xkrr0qkncLAQY X-Received: by 2002:a17:906:91d3:: with SMTP id b19mr758709ejx.235.1601435957577; Tue, 29 Sep 2020 20:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601435957; cv=none; d=google.com; s=arc-20160816; b=qg+Zf2bTgMM58sHfs7H+V2sw+bsvuDDZs75FIu3bzd33/+TkKhP3l+zYNgNF0bf0zh yCBDmeZdB9cI9rEnL1jwok9EwYUdFYq+Ffo9pGhbbSKc2304dQnNhBeporlVsxGndf4r juVxhwOTvUYRYBOAnSh83RuDZq75kWzbN3I5z0vTRlOxo9nwJUgZhg+BFhB8YqvTE9en uXGynQ4DVteyCDCeB7QR0GYltO7CUizhMpqgI6Hf0qFvz4cz7c8wuGA7EcQQPxYBLtWY yR9Y2oCGpUqySuqT1Ywcth0s9BNP5jQqwcWpzHKWiddaGNxIYdq5EtKiL2gTQhyQMSns vdtw== 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=FBu98DVet4O2SnFOQTUry0oehWXdDTd/q4PIJ9+xOnA=; b=Jcc+7wROS9VhIqxBNCce4xLR7hokjYbGjnv+ucmBQ7IwPdvh8iHfZ6pA4EabU8bk46 5NXKsgOrqx02JWk3Wk5+x5lr7fcjuKo9NE5FOQEiYCbmIguCxPPLC4WWH5M/8IhGRP+B GQWZgLokkGYmKPgkDJrvU+K94j08A9yi4StcpVTLRk/5XVT2U0lVq80PY2HxHC6Z++VM CYRHLxreLIJCqo0HhB4FCCN1msr8GalU5kwhh4rIACmuWIF1pi2M+2hspHPiBLBV+DTx s3UJ9GrLxBoTzH4nqj2nyUt8HboFmQjgXOoa3Ff9YJ00bGdI6D/DxG/m8bpH3KEer8Qn +GjA== 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 t15si177602edw.359.2020.09.29.20.19.17; Tue, 29 Sep 2020 20:19:17 -0700 (PDT) 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 S1730095AbgI3DTQ (ORCPT + 6 others); Tue, 29 Sep 2020 23:19:16 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:53766 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729949AbgI3DSo (ORCPT ); Tue, 29 Sep 2020 23:18:44 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 97687ADA38F6F5B3BA6F; Wed, 30 Sep 2020 11:18:42 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Wed, 30 Sep 2020 11:18:36 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , "Jonathan Cameron" , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei , Libin , Kefeng Wang Subject: [PATCH v6 13/17] dt-bindings: arm: hisilicon: convert hisilicon, hip04-fabric bindings to json-schema Date: Wed, 30 Sep 2020 11:17:08 +0800 Message-ID: <20200930031712.2365-14-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20200930031712.2365-1-thunder.leizhen@huawei.com> References: <20200930031712.2365-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.253] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the Hisilicon Fabric controller binding to DT schema format using json-schema. Signed-off-by: Zhen Lei --- .../arm/hisilicon/controller/hip04-fabric.yaml | 27 ++++++++++++++++++++++ .../controller/hisilicon,hip04-fabric.txt | 5 ---- 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.txt -- 1.8.3 diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml new file mode 100644 index 000000000000000..60c516a04ad58b3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hip04-fabric.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Fabric controller + +maintainers: + - Wei Xu + +description: Hisilicon Fabric controller + +properties: + compatible: + items: + - const: hisilicon,hip04-fabric + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false +... diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.txt b/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.txt deleted file mode 100644 index 40453d02f2024bd..000000000000000 --- a/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.txt +++ /dev/null @@ -1,5 +0,0 @@ -Fabric: - -Required Properties: -- compatible: "hisilicon,hip04-fabric"; -- reg: Address and size of Fabric