Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp575070pxj; Fri, 28 May 2021 10:15:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR3OfRjM1/87y8eMvD/Yy8PR1hXC0+fR7ys+YGhOAs8MrMOQHnUv4Pq/JMHCVr+andnOCF X-Received: by 2002:a92:d6c2:: with SMTP id z2mr8265043ilp.246.1622222152229; Fri, 28 May 2021 10:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622222152; cv=none; d=google.com; s=arc-20160816; b=kJrnpwnnFg0kKLDSu1+nilYCKAGGgVWxvpDGh5Dn8guO0fVMkx+82WxU1KDJUQh2Vh Z4DirLAnQf01vKI5S4VqmyQFqAy4d3I7c3K+eQVFKD9Lk4I15lR2SKV+8rX3S+MJ3pvL no9HNWfQJv0kuN4hrM5NIE8s8PHKsuvIWetpa1qMenyjLMI+xEv0fJyktl1k3t43JjHm BmEqF62xqfIG6JEM0bXNlRgoUfYfh+llx1VGHE7VzC+Z+fhOxDK4rWwBg3oRSN2N11hn TIoMrda+DYuXR4i2cPDkPnUb4gU+liYP4MvYSNqyHI7LQn/k2DSSu9BYLQnK0/2Y/25t S/dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=eOXPQ48/DXVLMOpoDbToX5Y11nDnIWdQtOvWb3iJBV8=; b=Jw3+4n/TFVqP4UIrXWwo/S55C9ym7t7LQ70t2RH6Qd+CVBOMHChZUNeFmg3YL13EdT r1+pombYHVyxm/QJXOPjyljTL3C62GU8vZ+gyyHZkOB3mRK74HCkCiHSX/6Lhslxw7nk ElFczRhdFk9szF8Zsde1wNGao7YsqqLsInKCOEzqst4ruo9zyKTpRY09jFrJYUkFZcke 5H0U7CPcj9Oe3vnYt98aUEX0OiKoKEotXRuzTqgx8ZOBL86l2HvGKxe++uuzsc90rAHP GKL6IV1HXbwW719/hv4ULBfZ+HGxy8GuaBA6f+9U83ek8rVPF0h+jG/W59cEqDbxVN8O +VEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si5805951jak.112.2021.05.28.10.15.38; Fri, 28 May 2021 10:15:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236061AbhE1QX3 (ORCPT + 99 others); Fri, 28 May 2021 12:23:29 -0400 Received: from mail-oo1-f41.google.com ([209.85.161.41]:43878 "EHLO mail-oo1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbhE1QX2 (ORCPT ); Fri, 28 May 2021 12:23:28 -0400 Received: by mail-oo1-f41.google.com with SMTP id e27-20020a056820061bb029020da48eed5cso1055675oow.10; Fri, 28 May 2021 09:21:53 -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=eOXPQ48/DXVLMOpoDbToX5Y11nDnIWdQtOvWb3iJBV8=; b=Rgdy0Jt6gu/TEJfsnH/L7FB7bryqrAEPICSX9JIYKhUc4W16Alnx1yUitIS4cnwQ/J IvXYe/R6m6BUfuyAAUwnR/pvqOlX3Z1YymO4NlLrU2M4ENKS2qtkfYgxdMcL3uFxI1y3 oSoxKAxLYZdRLiTYm0P6pvrHxT2e0ERy4Sh2q9Zy+FdEfX7wLcHVtWGFOoOgTQf2E6M/ cI+cy/fB+BvREWGvqH5HZ6KBblFj63XtCpfEFhQBFBwH0hOMF65B6fPatkWxNRYRIuJl zHSwKrgFJRjOlC12SlMIeTfYpW5ikjQ3gy3ElSILefOXpTe9WT0CyD/dZRFowc4WKOx1 2bpA== X-Gm-Message-State: AOAM531iMe1Ff904frx0KRB/aYPSdGItZx0xeMx5kbhoRDS1AsuuPW6+ XR7ewzaMIhMWbiuExeotdA== X-Received: by 2002:a4a:b4cd:: with SMTP id g13mr7530007ooo.4.1622218913320; Fri, 28 May 2021 09:21:53 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l23sm1202791oie.52.2021.05.28.09.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 09:21:51 -0700 (PDT) Received: (nullmailer pid 3720613 invoked by uid 1000); Fri, 28 May 2021 16:21:50 -0000 From: Rob Herring To: Heiko Schocher Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Rob Herring , Vignesh Raghavendra , devicetree@vger.kernel.org, Richard Weinberger , linux-mtd@lists.infradead.org In-Reply-To: <20210528072351.1639575-2-hs@denx.de> References: <20210528072351.1639575-1-hs@denx.de> <20210528072351.1639575-2-hs@denx.de> Subject: Re: [PATCH v1 1/2] mtd: devices: add devicetree documentation for microchip 48l640 Date: Fri, 28 May 2021 11:21:50 -0500 Message-Id: <1622218910.743539.3720612.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 May 2021 09:23:50 +0200, Heiko Schocher wrote: > The Microchip 48l640 is a 8KByte EERAM connected via SPI. > Add devicetree bindings documentation. > > Signed-off-by: Heiko Schocher > --- > I must admit that I created the file > > Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml > > by hand, looking into other yaml files... > > Is there a way to check such a file to its correctness? > > .../bindings/mtd/microchip,mchp48l640.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp48l640.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: Traceback (most recent call last): File "/usr/local/bin/dt-doc-validate", line 67, in ret = check_doc(f) File "/usr/local/bin/dt-doc-validate", line 33, in check_doc for error in sorted(dtschema.DTValidator.iter_schema_errors(testtree), key=lambda e: e.linecol): File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 723, in iter_schema_errors meta_schema = cls.resolver.resolve_from_url(schema['$schema']) KeyError: '$schema' make[1]: *** Deleting file 'Documentation/devicetree/bindings/processed-schema-examples.json' Traceback (most recent call last): File "/usr/local/bin/dt-mk-schema", line 38, in schemas = dtschema.process_schemas(args.schemas, core_schema=(not args.useronly)) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 587, in process_schemas sch = process_schema(os.path.abspath(filename)) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 568, in process_schema DTValidator.check_schema(schema) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 738, in check_schema meta_schema = cls.resolver.resolve_from_url(schema['$schema']) KeyError: '$schema' make[1]: *** [Documentation/devicetree/bindings/Makefile:62: Documentation/devicetree/bindings/processed-schema-examples.json] Error 1 make: *** [Makefile:1416: dt_binding_check] Error 2 See https://patchwork.ozlabs.org/patch/1485038 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.