From patchwork Tue Sep 29 14:14:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 313763 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp4206457ilg; Tue, 29 Sep 2020 07:15:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvvGMuyE0BjKEOnWoKjWX3x5A1zTtsnGuEJH7UWEJPKePuW+idzNiXVVxKrrcAe1yVeHHi X-Received: by 2002:a50:eb92:: with SMTP id y18mr3397152edr.373.1601388952807; Tue, 29 Sep 2020 07:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601388952; cv=none; d=google.com; s=arc-20160816; b=uDc7rLLgRPRtzhCiZPDneb3D/aqBwo5F5mSiE93yKOqT7gfn+xdUA1ljPbLyVUR1Gy XzGOJjHrxc2Z39lKRh2u9gww8m0rPC/SG9bSiQvg9HSvnd66yeR76E62LrxBzExlyJiL 9BH2hEhLsuw6oA9AqLGHeW+Ut9arY9ZlhQFtBiS7HmhlO3bIO8K4Gvtbt4D6pt4yq62b j3KgGulQ601EntqpHgXsKPtHMOvJ96eYZy/kkaXkpDR5C4LNl1le1vdf85pMkFbKBwlq r2x1NPHkMFjLJi3uJiZH3oGGZR5wK+GSUFPd4jcM+r9sgOFxlfMcy7y1h/KbIxqWs461 mXuw== 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=ukqwO4hReejozv2PWy4EPtGVclbc7v1dwBpEhcZLhwwKU1hdqVJCAt2kSPjTXriJdt N+5LbBPrpOFRBOQ6oGGFMTOWXgXCCdbDE/+8ENg+Hs+ouOiExKpeHBvfP84WBqST6eKJ v/LIGh0yDGTuuZMvcszWmvqQy30HZs+qaLJLF0myWlSPTJny9X2Rxq7ATFzH+WpSGIBY /5PmEHBksK5GBpu3xwzVOnUOrocYX5h+HJ238WglOS9zsG1NXEvtY4ApRc8FNQmP8kTw 587EtIVP52FUFlDc2dBPT9vlPYPvNN2ze1RGa93FROnsz9xEWcTQreXBm9R6GSblmxz7 ny9w== 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 bt13si2973506ejb.259.2020.09.29.07.15.52; Tue, 29 Sep 2020 07:15:52 -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 S1729978AbgI2OPh (ORCPT + 6 others); Tue, 29 Sep 2020 10:15:37 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:39016 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731022AbgI2OPf (ORCPT ); Tue, 29 Sep 2020 10:15:35 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 91C0BEC47C805F1A6900; Tue, 29 Sep 2020 22:15:29 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Tue, 29 Sep 2020 22:15:18 +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 v5 13/17] dt-bindings: arm: hisilicon: convert hisilicon, hip04-fabric bindings to json-schema Date: Tue, 29 Sep 2020 22:14:50 +0800 Message-ID: <20200929141454.2312-14-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20200929141454.2312-1-thunder.leizhen@huawei.com> References: <20200929141454.2312-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