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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 62950C6377A for ; Thu, 22 Jul 2021 02:13:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2F2D561283 for ; Thu, 22 Jul 2021 02:13:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F2D561283 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=we2rtqvn3AF76cE2FrYJTg4/77L+XVFNSiPoBvHPs6E=; b=Q4APe2ARV3KejW s1Av9QdhVFhuYPDlsTX9rgYS1ioIMzLZrbkAEglHyZde3Mzs/Bl+8rmAFM+nZRlBI0IbdKeOgshRk FMf3rDFa+PW8lamJtQoKUFt0rtaahXfozrNcUNRGZFPYP/RShNYrzOIyvXMtej6PCzbF0biYW/2wj PbNo1hDLv/OWbYEBnyO7u/VFy0wuucPTHmm6xiZnhDIL/uQ5TSMm2Vql53r+to7Wx7kjoCWKLXKxa pQf2EtkStZmmjqo0E3/5EspQxLYwkYvftKFJPW0PbeFaVg8WXRsxlbCCDLoVETls9IIOv6A69jGoE sCWGbkgHbTPY5FQeIuNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6OAR-00HYaW-FM; Thu, 22 Jul 2021 02:10:31 +0000 Received: from mail-il1-f174.google.com ([209.85.166.174]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6OA8-00HYWt-3i for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 02:10:13 +0000 Received: by mail-il1-f174.google.com with SMTP id e13so4075752ilc.1 for ; Wed, 21 Jul 2021 19:10:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=acHPyem1yiYi8uyJ/MGZ82USq5Ul/BTfStXv8UkMrFI=; b=EEun47GldidfYjNvEmRPg4v54uzx0FaxBwgBmN+FiZxjHhjgHO6lrrpkYSJ8GytULx 59DmTxUqPg9WJowikolQGuN/9oXCCKDicSdmeUK4B82iuQyx+ubqxoylAB9T4/ptp9Wo IWNLUnFIfEAH0zmLNwET2NGH8OkYdhmi9O/UfcK8yNapWKVpfu8bFCgobRGrShl3fymc UNb7OvuQAs0Fp7EnRpL+aywxwbPD624UzlKwZ3F7vj5LGkFSyNHI55t03fldMuidnMHP 14yphHb5jqgJspNR7F5PPB/8itCDD0MkD7Sa26g0sXLQM/2aoXLOUvIW7HmxK72ufUhN JnGg== X-Gm-Message-State: AOAM533FeqGo7wMGnV47ra3auXsy/rHCAHxOp2QfM3XKiJdesqXRnZVE Mq7SUdcJUylz3+9YG5awlg== X-Google-Smtp-Source: ABdhPJyOq4wX0CCYNwhxEo3q6qCqK40jXpzmZ8bRIFAdIzbhHvoGOVqB4fPrARqUmcisiPYwkUvzUA== X-Received: by 2002:a05:6e02:d93:: with SMTP id i19mr13850876ilj.72.1626919811261; Wed, 21 Jul 2021 19:10:11 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id m13sm14097116ila.80.2021.07.21.19.10.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 19:10:10 -0700 (PDT) Received: (nullmailer pid 3145321 invoked by uid 1000); Thu, 22 Jul 2021 02:09:56 -0000 From: Rob Herring To: Maxime Ripard Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Frank Rowand , Mailing List , Jernej Skrabec , Rob Herring , Chen-Yu Tsai In-Reply-To: <20210721140424.725744-6-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-6-maxime@cerno.tech> Subject: Re: [PATCH 05/54] dt-bindings: Convert Reserved Memory binding to a schema Date: Wed, 21 Jul 2021 20:09:56 -0600 Message-Id: <1626919796.941622.3145320.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_191012_243693_9EEC3AC1 X-CRM114-Status: GOOD ( 16.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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, 21 Jul 2021 16:03:35 +0200, Maxime Ripard wrote: > The Reserved Memory mechanism is supported by Linux thanks to its device > tree binding. > > Now that we have the DT validation in place, let's convert the device > tree bindings for that driver over to a YAML schema. > > Cc: Mailing List > Signed-off-by: Maxime Ripard > --- > .../reserved-memory/reserved-memory.txt | 141 --------------- > .../reserved-memory/reserved-memory.yaml | 167 ++++++++++++++++++ > 2 files changed, 167 insertions(+), 141 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt > create mode 100644 Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/nvmem/rmem.example.dt.yaml: reserved-memory: nvram@10000000:compatible: 'oneOf' conditional failed, one must be fixed: ['raspberrypi,bootloader-config', 'nvmem-rmem'] is too long Additional items are not allowed ('nvmem-rmem' was unexpected) 'shared-dma-pool' was expected 'mediatek,trustzone-bootinfo' was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.example.dt.yaml: reserved-memory: emc-table@83400000:compatible: 'oneOf' conditional failed, one must be fixed: 'shared-dma-pool' was expected 'mediatek,trustzone-bootinfo' was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml \ndoc reference errors (make refcheckdocs): Documentation/devicetree/bindings/display/arm,hdlcd.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/display/arm,komeda.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/display/arm,malidp.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/display/arm,pl11x.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/gpu/aspeed-gfx.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/media/aspeed-video.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/media/mediatek-vpu.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/remoteproc/ti,davinci-rproc.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/remoteproc/ti,keystone-rproc.txt: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt arch/arm/mm/dma-mapping-nommu.c: Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt See https://patchwork.ozlabs.org/patch/1508249 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel