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=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 A9FE6C433B4 for ; Wed, 19 May 2021 09:54:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 89AFC610A1 for ; Wed, 19 May 2021 09:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232276AbhESJzY (ORCPT ); Wed, 19 May 2021 05:55:24 -0400 Received: from mail-ua1-f53.google.com ([209.85.222.53]:34724 "EHLO mail-ua1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245745AbhESJzY (ORCPT ); Wed, 19 May 2021 05:55:24 -0400 Received: by mail-ua1-f53.google.com with SMTP id x1so3721494uau.1; Wed, 19 May 2021 02:54:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Gvr46UuP/aK1hvdWUxVGtDfsF8ud4ousl9JTfPPOif0=; b=p+zANF9XY5zG5BIdAtRAjyTyBdFWiGUEpYfrHZYkO/EgpRpGWpu+irpLgOC2zby3J9 4ajOHQGu0U81QTvLbOrCqyQewtsFDgmWwnWL1N/flY53vh9LWZHAZ+O/2FMVUCm5hXLS GSt2YviG+Z/DmHS8FdapBkXQh37XpdxMFRpYhnNV5uhsDfTtCCNVS1FxuCFjvKiSZbhs y9Rxay1F8qDFvSfua88mHtvSnqv15I6zlSwi9gOogcJsG6MOZw1b+in3nZFYeHmCwMi1 mt3wKTNj47HCrKLujSdCX8WB2g+eGTVlJ+C36sTybr7Hds03zAlAi3Kj1oyTcE7rfs16 fc3g== X-Gm-Message-State: AOAM530hS4mGbsCGHKrrCCWNQiExtPujElgNuMVnfzwgMm2KQFN7lKcA W0PT9NV9o5KZ6lquchrg4L7elZq4OSL+/7DM5Uo= X-Google-Smtp-Source: ABdhPJxQeHn6vy6se+92JGjupVPtNrd9RHNFzUY140wdZNDAlJ5Rg2eg8vPbVYUEqYCgsh7Ls2X9pNQOobSI3duXejY= X-Received: by 2002:ab0:2242:: with SMTP id z2mr8817879uan.58.1621418043172; Wed, 19 May 2021 02:54:03 -0700 (PDT) MIME-Version: 1.0 References: <20210106113730.k5qveshjgcd57kgx@runtux.com> <20210106113929.fizyg6fcsmsntkiy@runtux.com> <20210517152035.GA2581887@robh.at.kernel.org> <20210519090047.e63d2im5vgskqpcs@runtux.com> In-Reply-To: <20210519090047.e63d2im5vgskqpcs@runtux.com> From: Geert Uytterhoeven Date: Wed, 19 May 2021 11:53:51 +0200 Message-ID: Subject: Re: [PATCH 1/1] auxdisplay: Add I2C gpio expander example To: Ralf Schlatterbeck Cc: Rob Herring , Miguel Ojeda , linux-kernel , Willy Tarreau , Lars Poeschel , Linus Walleij , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Ralf, On Wed, May 19, 2021 at 11:00 AM Ralf Schlatterbeck wrote: > 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. It's much better in v5.13-rc2. > 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... make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml That still runs some checks on all files, unless you apply https://lore.kernel.org/linux-devicetree/20210309112148.2309116-1-geert+renesas@glider.be/ first Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds