Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1727896pxj; Wed, 19 May 2021 12:27:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxT2YAJ/XLXYH15c2mcdLiS0cYg5cyPq9TkM8J5C8O8WLODBvR3+A9gBAwCoSwzVSc2n3CN X-Received: by 2002:a92:db11:: with SMTP id b17mr714132iln.277.1621452459338; Wed, 19 May 2021 12:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452459; cv=none; d=google.com; s=arc-20160816; b=Yvu+FznT9aOpDp0ki4JTc+qIKBF11GGm8kXCx1eX9JZRaQaPxMI4KbvqNbZhy0sBrp 4HyOxf4VRxNi15lhNG77+l+RMsUZKfbvhXV61puYrTyXyPPK+l66ld8yAHA3meHr/kXf 98UgaQZ7Hh7Pqb4XmwPxqadSqhpB8W1TrpRWOzS6rAtwK8DhrzaZgxVqRlN466EmAGth 90zDkFLQc8p4rpvLQMzN7rR1L+foKjRXnu9tFGkvE9dWctmm7Fb3Le1f8Pv5GAvdh1j4 Dg/D1QEeUBArLL8Om+L+WD04wzqwTmgPLhhRSO+GoIiL1HIIu1ldqnm6cOvFOc7OCXdZ nbZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Gvr46UuP/aK1hvdWUxVGtDfsF8ud4ousl9JTfPPOif0=; b=aHsNW2adHeSVUBSYXouSLebmEvantvaZTuacoGG5ZHKRRnMKr+OrdQ9Ce4foVFwHXF 8AEu3YluI1kZSivBJChTHM8SIdOVWQjWQ/IKuie9gc5NF5QQB+Wg2/RG/No1Q09BQVHt uEujwxn5EdMuWVoF3kHXu5/9YG2QAWrpXFEf7t1aX/BKNAfsW8dALm2u0ywmy5PLmf2D RqXYooVbX1xCGl7ozxPjh8h+jMETUHhdYenV06yqhr9II66PQPVUPcy/5fvvB1Zjs0MS zW+R/uQI/bFNFuOY2lsO1SRoHhW4/5ag8wxstRLkTdCilpourWCsyuF1XfKjrrw5XqwA mrrA== 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 l7si160035iop.52.2021.05.19.12.27.27; Wed, 19 May 2021 12:27:39 -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 S1345006AbhESJzZ (ORCPT + 99 others); Wed, 19 May 2021 05:55:25 -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-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: linux-kernel@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