From patchwork Sun Sep 27 06:21:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 313582 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp2397959ilg; Sat, 26 Sep 2020 23:27:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2hmmzXjPgwkf29fw5OPzxo7jAU6JG13JaXF3lNhXygfjBNCT6zepndrCeMAW6N9YCa6QD X-Received: by 2002:aa7:d88a:: with SMTP id u10mr9738787edq.217.1601188035423; Sat, 26 Sep 2020 23:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601188035; cv=none; d=google.com; s=arc-20160816; b=YBXSq6CnRZ+6wEjRwwEJ6ZCMy6t1KLhyCJPbXheXUDT04RjQDTjbYjG2T1TPWAthw0 Kc24Efl99fzlcaO6Gj9phe1QEnKyRzrpQZF+gTBT6rwKNGQBl6Uwd4pSHI65H1egwnFI OQbOlPB5y5tIn665MSVUUX7aAxK1kF3KgRO3V+MNeDRv8U/NMVEwPKmfrJheTZm2+jzZ GPO845QXu0Pxx2h4KFKHmLE6leILt5nIUSVuRt7xldEBnu9+XQXzPrn6tpbI270s0No4 1fwZah7VPebEBAMbe6+9SYKBooA9jEUG8r23+bUFL4+IGxGzo98g+zidT75GBeGcDZh5 YjZQ== 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=JPOc+YYLYhHidFRjooanU2S7MTXp4tsu1alsC/6kk88=; b=OzsRisc0bEjh1qPBXxoVnS4VIgXD8o5j4hVshppZqcow9OLqvsIPkYqy8D17IPHlu9 QzLi5pT1s69gYjgu/4rUturF5RLBhpQw4Wu19LFEP2YX3COBTgdoSkx3dETVvlHfzv/P 88kIyQ1jTw/Q0rohY3+Xk1mBtGSK773PJrNFcCho0JRlOavpmLJZtC8fHlVtmoylh6qA dr7ai5DGO3E1Nn14atBpO/kv5xsDuXpgR9mJPHb/EYeUzQ8xKYxg1e1EvJHH17hwXdei TQceRzOeMjFOZpSL53XLGOwWdIwyrKFfOlemCq4zdcVv/5R1t0iF7LKAwzrr8rWf3LjK 8wsA== 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 bu20si5521192edb.311.2020.09.26.23.27.15; Sat, 26 Sep 2020 23:27:15 -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 S1730421AbgI0G1O (ORCPT + 6 others); Sun, 27 Sep 2020 02:27:14 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14301 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730357AbgI0G1M (ORCPT ); Sun, 27 Sep 2020 02:27:12 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C9A547748221436D5460; Sun, 27 Sep 2020 14:26:57 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Sun, 27 Sep 2020 14:26:49 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei , Libin , Kefeng Wang Subject: [PATCH v3 15/21] dt-bindings: arm: hisilicon: convert hisilicon, hip04-fabric bindings to json-schema Date: Sun, 27 Sep 2020 14:21:23 +0800 Message-ID: <20200927062129.4573-16-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20200927062129.4573-1-thunder.leizhen@huawei.com> References: <20200927062129.4573-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/hipxx/hisilicon,hip04-fabric.txt | 5 ----- .../controller/hipxx/hisilicon,hip04-fabric.yaml | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.txt create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.yaml -- 1.8.3 diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.txt b/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.txt deleted file mode 100644 index 1709ac91d4cd99c..000000000000000 --- a/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.txt +++ /dev/null @@ -1,5 +0,0 @@ -Fabric: - -Required Properties: -- compatible: "hisilicon,hip04-fabric"; -- reg: Address and size of Fabric \ No newline at end of file diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/hisilicon,hip04-fabric.yaml new file mode 100644 index 000000000000000..ae0a4e68aa8d628 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hipxx/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/hipxx/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 +... \ No newline at end of file