From patchwork Mon Sep 28 15:13:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 313657 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp3393342ilg; Mon, 28 Sep 2020 08:17:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUQ72DvWiJymyLIKcI8cx+jVUDyrO5M0bKnATwexuuP+GIMxuPUgwbGDhRY/YNYsgefiRx X-Received: by 2002:a50:fe0a:: with SMTP id f10mr2365006edt.133.1601306279258; Mon, 28 Sep 2020 08:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601306279; cv=none; d=google.com; s=arc-20160816; b=YgkgKTfauxT+AW3i3VCcPf1gXby+kETo8/jbJZpQq/yp/afk+G1GO/v+ocm4083aWi bnky5ISkb+DJLkh197zKLheNPnCU6sBpdxxNJLbKbFH47LEhoXxqX3EHX/BV48OxT49u S2/9Wi/FN+BdIbT1p6KxT8ezLII5mpu205kPWEsHGbpM7+Xl4JXqp1azTn39L+eJAt5B TcvSlvg0HstC63y0vdOCjRearwzdF4D8Uh2Ovdc65cRdkx6W2zwrk6mGpEcdgsTLEkk3 T07qe9q0+7LJ3bbOlJoxOfUG8yRBHwvJV4kIUJwJ5Ek0EHzuDYu/avHqDEjq31JEkPqa HJiA== 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=aIi51l08146B9pmPP9ARWRJZjGJ+L9Pc4CcWW6vWEhY=; b=eFKUwZ2AD5FYK5abNybDGIHbDf9mjgjU7804EAssWNwZBkfbNaYjpkcKCgxl1BmWq8 Y1ZEeoC2JjJ9zrv1PTBYC3/PJNBDgCeCw16kUN2G368XgYci//OZOHidZrU20ICrueN0 Pa9Z3KoWf6e9o2++hdCYp9sAFB63aGhi4osTJ9iO5HmoFfnpLmRZLDdULYy1XXgK/UxM LJiESRAEALDaoNSrbm0XDz3DV9yi7RnIz1h7bTPV7ScgKbFGA+4ztWRe5PQX06G5+CM/ Poun2TDnFhnobk4Sv9JS0wMmru8k9V5nT5HMvEsqtT4LiUR980Y35fKqZglMrncB2qBk 2aVg== 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 sb9si926761ejb.54.2020.09.28.08.17.59; Mon, 28 Sep 2020 08:17:59 -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 S1726693AbgI1PRz (ORCPT + 6 others); Mon, 28 Sep 2020 11:17:55 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14322 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726672AbgI1PRh (ORCPT ); Mon, 28 Sep 2020 11:17:37 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id AFFD115277287867032E; Mon, 28 Sep 2020 23:17:24 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Mon, 28 Sep 2020 23:17:17 +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 v4 14/20] dt-bindings: arm: hisilicon: convert hisilicon, hip04-fabric bindings to json-schema Date: Mon, 28 Sep 2020 23:13:18 +0800 Message-ID: <20200928151324.2134-15-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20200928151324.2134-1-thunder.leizhen@huawei.com> References: <20200928151324.2134-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 --- .../controller/hisilicon,hip04-fabric.txt | 5 ----- .../controller/hisilicon,hip04-fabric.yaml | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.txt create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.yaml -- 1.8.3 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 diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.yaml new file mode 100644 index 000000000000000..47a2ec6a4704f4c --- /dev/null +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-fabric.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hisilicon,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: + description: Register address and size + maxItems: 1 + +required: + - compatible + - reg +...