From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0CF4C2D0A8 for ; Mon, 28 Sep 2020 09:54:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 92D69221E8 for ; Mon, 28 Sep 2020 09:54:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AiupJY2S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92D69221E8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=Huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6z+dewSMP1E/wGAQ3g7NVrlIhKPZvUjR4BM8gGmMA6E=; b=AiupJY2ScSlkYaIShD6tRRCbq pKk4Tiv5Orag79DiawKaXob7WmGYwnCbuyrVUnXzPiAoz4vcxKO3Qdy7NmFMQOcD42yHuysLmo6Y5 L9QGPr7hKE3tcDI9NMzc8qRaGCza9FTd7woCnViE3OVb4dFkxZy2ffSOGGZ27zrvKD4LWBBqJ/2Un rv4WevHfciR6HJkkrpV/Lt0O2WDfp9jfkVJiS7LIVABfqk7TCcNX1DyNcuf4983yJ+nM3OzoIOEyn NBQhvjZDjhDHfJZrOYpRTy5Cdgb2YAeFkc0YdPRUgwl0hIM2zmSHb9bKRI14J4t38uf5zEFH0eF+I HVGf1oXzQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMppl-00024r-6n; Mon, 28 Sep 2020 09:52:37 +0000 Received: from lhrrgout.huawei.com ([185.176.76.210] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMppi-00023e-Bk for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2020 09:52:35 +0000 Received: from lhreml710-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id F15ECFFB7E0B9848BF89; Mon, 28 Sep 2020 10:52:31 +0100 (IST) Received: from localhost (10.52.126.2) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1913.5; Mon, 28 Sep 2020 10:52:31 +0100 Date: Mon, 28 Sep 2020 10:50:50 +0100 From: Jonathan Cameron To: Zhen Lei Subject: Re: [PATCH v3 20/21] dt-bindings: arm: hisilicon: convert hisilicon, hi6220-sramctrl bindings to json-schema Message-ID: <20200928105050.0000395f@Huawei.com> In-Reply-To: <20200927062129.4573-21-thunder.leizhen@huawei.com> References: <20200927062129.4573-1-thunder.leizhen@huawei.com> <20200927062129.4573-21-thunder.leizhen@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 X-Originating-IP: [10.52.126.2] X-ClientProxiedBy: lhreml707-chm.china.huawei.com (10.201.108.56) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200928_055234_496158_B75C1934 X-CRM114-Status: GOOD ( 17.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree , Kefeng Wang , linux-kernel , Wei Xu , Rob Herring , Libin , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, 27 Sep 2020 14:21:28 +0800 Zhen Lei wrote: > Convert the Hisilicon Hi6220 SRAM controller binding to DT schema format > using json-schema. > > Signed-off-by: Zhen Lei > --- > .../hi3620/hisilicon,hi6220-sramctrl.txt | 16 --------- > .../hi3620/hisilicon,hi6220-sramctrl.yaml | 38 ++++++++++++++++++++++ > 2 files changed, 38 insertions(+), 16 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.txt > create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.yaml > > diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.txt b/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.txt > deleted file mode 100644 > index 963a2cb13a249d9..000000000000000 > --- a/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.txt > +++ /dev/null > @@ -1,16 +0,0 @@ > -Hisilicon Hi6220 SRAM controller > - > -Required properties: > -- compatible : "hisilicon,hi6220-sramctrl", "syscon" > -- reg : Register address and size > - > -Hisilicon's SoCs use sram for multiple purpose; on Hi6220 there have several > -SRAM banks for power management, modem, security, etc. Further, use "syscon" > -managing the common sram which can be shared by multiple modules. > - > -Example: > - /*for Hi6220*/ > - sram: sram@fff80000 { > - compatible = "hisilicon,hi6220-sramctrl", "syscon"; > - reg = <0x0 0xfff80000 0x0 0x12000>; > - }; > \ No newline at end of file > diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.yaml > new file mode 100644 > index 000000000000000..f66d414a7a48071 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi3620/hisilicon,hi6220-sramctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Hisilicon Hi6220 SRAM controller > + > +maintainers: > + - Wei Xu > + > +description: | > + Hisilicon's SoCs use sram for multiple purpose; on Hi6220 there have several SRAM for consistency > + SRAM banks for power management, modem, security, etc. Further, use "syscon" > + managing the common sram which can be shared by multiple modules. > + > +properties: > + compatible: > + items: > + - const: hisilicon,hi6220-sramctrl > + - const: syscon > + > + reg: > + description: Register address and size > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + /* for Hi6220 */ > + sram: sram@fff80000 { > + compatible = "hisilicon,hi6220-sramctrl", "syscon"; > + reg = <0xfff80000 0x12000>; > + }; > +... > \ No newline at end of file As per other files that have this, please add one. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel