Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1726289pxj; Wed, 19 May 2021 12:25:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8JdKe4TwM9jJYmQkM32qk66bhbQ1TN5Q841QQF8LKWAgjHtttE1OlY94SrMb2SSyzETTL X-Received: by 2002:a05:6e02:882:: with SMTP id z2mr641421ils.91.1621452329565; Wed, 19 May 2021 12:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452329; cv=none; d=google.com; s=arc-20160816; b=UoqCADaql+NrG6lfluJpiajwv/LO/WA1ZEusGOLASKBHmmVKata87B0vDyR+r1xJ6f kMAPEjtzyA38z0Fr4YGWZkbRQj8HqVYBu/D0VN4AFUIlp5qKk7sUro3y3mAJCBeu0j07 rj4jpVbF1gyQjS/pcsoHTqdh4d+F4sxJx4YM62e0IS+jWaJIBLFI4GdGs7FYg0YDVRHC 7cmQJrcJw06P4p3oC91qNbwljCKIQUidLhabZFaGs3ZbrGhIUN0SVAh08tRFbR7GwJ2S Lb8iTUkvOjNF601i8J4zTCYMRtKJAeQ0iZf42sFTme19v+9fdL4HIgXkafyYFEE8q6p6 LTgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=31YssUTCjroW1UOXovs9qHZep6bd8ICgTmh5YVf3V1k=; b=V29p/11PgZjOEasfXlriSIyRAtaMztyRK7rm02lv5cDVAJAHWBTlBi5+l5J7LfE4bz PPwf5EXN3BHNcj/41yoCU1ZH2t8ZuVAPDANK34GOGO52UlbgFHk70+7GMVI5axGeP9Vt SAHCKP5cdSvTfDA94cRHS81LEW3NSzK09aAhho+NFrUKhHDWFEYu2Rm4Qg5U2ZLpt8Yl shKsOavLbO0xwGL5Pr2jTvgJjx7eDyl8rTkzDNHAGYNUov43Jxxkhw/SaCN17UhVoCky r6CYhh3vuHdCwxttFJH5rZvuHygiDkIHYHCjI4CXcZqHeCAOzI0SHaDhJ2mWphAHGU6R 5NWw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si34854jad.22.2021.05.19.12.25.17; Wed, 19 May 2021 12:25:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344650AbhESJMK (ORCPT + 99 others); Wed, 19 May 2021 05:12:10 -0400 Received: from tux.runtux.com ([176.9.82.136]:34290 "EHLO tux.runtux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344736AbhESJKm (ORCPT ); Wed, 19 May 2021 05:10:42 -0400 X-Greylist: delayed 506 seconds by postgrey-1.27 at vger.kernel.org; Wed, 19 May 2021 05:10:40 EDT Received: from localhost (localhost [127.0.0.1]) by tux.runtux.com (Postfix) with ESMTP id 282A16EFFE; Wed, 19 May 2021 11:00:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at tux.runtux.com Received: from tux.runtux.com ([127.0.0.1]) by localhost (tux2.runtux.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id klkjuXpH5xQ4; Wed, 19 May 2021 11:00:48 +0200 (CEST) Received: from bee.priv.zoo (62-99-217-90.static.upcbusiness.at [62.99.217.90]) (Authenticated sender: postmaster@runtux.com) by tux.runtux.com (Postfix) with ESMTPSA id 076366EF98; Wed, 19 May 2021 11:00:47 +0200 (CEST) Received: by bee.priv.zoo (Postfix, from userid 1002) id 4F7DA46E; Wed, 19 May 2021 11:00:47 +0200 (CEST) Date: Wed, 19 May 2021 11:00:47 +0200 From: Ralf Schlatterbeck To: Rob Herring Cc: Miguel Ojeda , Geert Uytterhoeven , linux-kernel , Willy Tarreau , Lars Poeschel , Linus Walleij , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH 1/1] auxdisplay: Add I2C gpio expander example Message-ID: <20210519090047.e63d2im5vgskqpcs@runtux.com> References: <20210106113730.k5qveshjgcd57kgx@runtux.com> <20210106113929.fizyg6fcsmsntkiy@runtux.com> <20210517152035.GA2581887@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210517152035.GA2581887@robh.at.kernel.org> X-ray: beware User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 10:20:35AM -0500, Rob Herring wrote: > Now it warns in linux-next: > > Documentation/devicetree/bindings/auxdisplay/hit,hd44780.example.dts:52.18-62.11: Warning (unit_address_vs_reg): /example-1/i2c@2000: node has a unit name, but no reg or ranges property [I'm the author of that patch] Can someone point me to the documentation of how to check a single example against the dt schemata? I think I had that figured out how to run the dt-checks over the whole tree in january but didn't bother with warnings since the whole devtree was riddled with warnings at the time. Docs on how to quickly check for warnings/errors would help me a lot. My naive usage of dt-validate on an example yields a traceback, I've opened a report on github because I think that even with gross mis-usage the tool shouldn't traceback... Thanks for your help and pointers. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: office@runtux.com