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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 CB019C4727C for ; Thu, 1 Oct 2020 06:36:40 +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 55D3020872 for ; Thu, 1 Oct 2020 06:36:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yo6qSIjt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 55D3020872 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References: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=bXr1hG4WE1MfjQsvh9ItjMds9X3b1TZU54Z4IV8UXPs=; b=yo6qSIjtXsv+vOTN1DFyjjPEa OovpaPgODSHSA4FqiKRje8N2ILhFLjHIqbE8Hw3gf4JIVg6pyCH6Hfv2cmBxFDRj6F/cahnTi0N7/ L5xyPmTPUi6EUPE12Fseq2WxtbQMO/zCg8IRTjMJGLuMfU5CSjjoSDVT2P+ObaP1NWlfMkozYgrzH jtowbvGJJcjunpkMNkpF5xb+x9QMBzisDmoGiTumS546n6R/1iE8Gig32J51Yeg6JIz2+N+nVg3Nw ymWCG0Ks/86ozETYu3MupaAgFgHg61DGzoHZAIZCJzY3nwH/yEu00mvnjlbGAN+fDW8+sU4TJolyq wvDlKTfqw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNsBZ-0006u9-Hc; Thu, 01 Oct 2020 06:35:25 +0000 Received: from mail-ej1-f68.google.com ([209.85.218.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNsBW-0006sy-DO for linux-arm-kernel@lists.infradead.org; Thu, 01 Oct 2020 06:35:23 +0000 Received: by mail-ej1-f68.google.com with SMTP id lo4so6320548ejb.8 for ; Wed, 30 Sep 2020 23:35:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LXuSgrjhDPSmJ5UAPkcchoivbEqdncR+oeY8bDsU/Q0=; b=Kl7tA6NGOETxa6W3Ls7V/SEt+qmYrLAebpr5gSFt2rdKnt5l20q+ZJeo/WNsFLybcM bGUHv3r+z2o+Y37CQyg8rZZGSwMMjGxHD/rXg/huzn7cC2klIktqRrbUmlzWAG3WXBCw QvKkDQEPWEvDOSF7LFBatjABd0AvTtQrqFPAi8WGxuYYO7qyX7C6beP3RwILOrE1NxFH dtnQp7oR/7MzEpp23s216AR6eRIkPNMjahTA/V7RaEZc/wsGkgZpua5sXG2qSKGtVNbF rozSyD5iWLD8m9cY/g+DxfkVm3yekGOidUF2FSdFJVThopUzqyFeAvb7LsUi+yy0fjcp hfTw== X-Gm-Message-State: AOAM531omWjMTONzMwglHtY1bqFFrH7J+DQUXbWjfKSRqUP6nDcIONiV 2wP3Bqv5ARb2Ri8oquelCbA= X-Google-Smtp-Source: ABdhPJz6kjWms5IH3vUaqD9eMV/onHLYjcqLMirzoTyiGOh+MXPa3Z3gXMIrhsdnvIydW2y9zgZ3oA== X-Received: by 2002:a17:907:40c1:: with SMTP id nv1mr6799441ejb.318.1601534121122; Wed, 30 Sep 2020 23:35:21 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id v25sm3278265edr.29.2020.09.30.23.35.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Sep 2020 23:35:19 -0700 (PDT) Date: Thu, 1 Oct 2020 08:35:17 +0200 From: Krzysztof Kozlowski To: Zhen Lei Subject: Re: [PATCH v6 16/17] dt-bindings: arm: hisilicon: convert hisilicon,hi3798cv200-perictrl bindings to json-schema Message-ID: <20201001063517.GC3018@kozik-lap> References: <20200930031712.2365-1-thunder.leizhen@huawei.com> <20200930031712.2365-17-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200930031712.2365-17-thunder.leizhen@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201001_023522_460335_7E86FACF X-CRM114-Status: GOOD ( 17.74 ) 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 , Jonathan Cameron , 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 Wed, Sep 30, 2020 at 11:17:11AM +0800, Zhen Lei wrote: > Convert the Hisilicon Hi3798CV200 Peripheral Controller binding to DT > schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../hisilicon/controller/hi3798cv200-perictrl.yaml | 64 ++++++++++++++++++++++ > .../controller/hisilicon,hi3798cv200-perictrl.txt | 21 ------- > 2 files changed, 64 insertions(+), 21 deletions(-) > create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml > delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hi3798cv200-perictrl.txt > > diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml > new file mode 100644 > index 000000000000000..cba1937aad9a8d3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml > @@ -0,0 +1,64 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi3798cv200-perictrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Hisilicon Hi3798CV200 Peripheral Controller > + > +maintainers: > + - Wei Xu > + > +description: | > + The Hi3798CV200 Peripheral Controller controls peripherals, queries > + their status, and configures some functions of peripherals. > + > +properties: > + compatible: > + items: > + - const: hisilicon,hi3798cv200-perictrl > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 1 > + > + ranges: true > + > +required: > + - compatible > + - reg > + - "#address-cells" > + - "#size-cells" > + - ranges > + > +additionalProperties: > + type: object You need to describe all additional properties or objects. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel