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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 6B508C433DB for ; Tue, 16 Mar 2021 13:56:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30ABE65067 for ; Tue, 16 Mar 2021 13:56:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbhCPNzu (ORCPT ); Tue, 16 Mar 2021 09:55:50 -0400 Received: from mail-vs1-f51.google.com ([209.85.217.51]:33339 "EHLO mail-vs1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232683AbhCPNza (ORCPT ); Tue, 16 Mar 2021 09:55:30 -0400 Received: by mail-vs1-f51.google.com with SMTP id f1so8102077vsl.0; Tue, 16 Mar 2021 06:55:30 -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=B3wUKUD0yFWquUSQ0aF+YSPLFm6XuAJmGospQPYqJX8=; b=XHsK4DrX3pXJQPpgpQ2FDAfxj/+xpEqhhem7yGF9/FF6ulnGRSJtVXWR3+d3qw3ToQ IitciApzzX6ukLFnX2ud2LEZylqJIUZg0vmWVM6XiLyOJaAAHDXkk1mHbaUvFqVH1fb3 djdVDvsNsSfZSodozQ3XnhLPXM6HrTki/oSNO96vIQk7aTqdWftlDL/Pdrf/ardxziFi L2Vj8kMkI+KyohC6zApb6M/F7XjPe6DvpVwdgjsrvaqt1h5widum8al7vF5sOL/IuD6F WFOT1Ce9GGJlZBAzAFTap6Tdo+qEEHVXmuMc1t8quu0mce4DZeNfLBZ494g6mr3yLbdE 9Jvg== X-Gm-Message-State: AOAM533iVUiGPQLJkWOM/K27BOtnFR4GlKiM6jCq5QkvBmOrde5sDjBo /vPIG6R7KwU81SvKSN/aSv/uGCTdcCTVhW8NY/U= X-Google-Smtp-Source: ABdhPJyQJ274DH4Dxo5JnveoBksTMt2117Vm5jcJGqpROxzRn7Xu6D1paM3dWSOkIE43jm5Q8UlLWaapjmqwUz6Fa/k= X-Received: by 2002:a67:fe90:: with SMTP id b16mr8604868vsr.40.1615902929927; Tue, 16 Mar 2021 06:55:29 -0700 (PDT) MIME-Version: 1.0 References: <20210311233640.1581526-1-robh@kernel.org> <20210311233640.1581526-2-robh@kernel.org> In-Reply-To: <20210311233640.1581526-2-robh@kernel.org> From: Geert Uytterhoeven Date: Tue, 16 Mar 2021 14:55:18 +0100 Message-ID: Subject: Re: [PATCH 2/2] kbuild: Enable DT undocumented compatible checks To: Rob Herring Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-kbuild , Maxime Ripard , Masahiro Yamada , Michal Marek Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Rob, On Fri, Mar 12, 2021 at 12:38 AM Rob Herring wrote: > dt-validate has an option to warn on any compatible strings which don't > match any schema. The option has recently been improved to fix false > positives, so let's enable the option. This is useful for tracking > compatibles which are undocumented or not yet converted to DT schema. > Previously, the only check of undocumented compatible strings has been > an imperfect checkpatch.pl check. > > The option is enabled by default for 'dtbs_check'. This will add more > warnings, but some platforms are down to only a handful of these > warnings (good job!). > > There's about 100 cases in the binding examples, so the option is > disabled until these are fixed. In the meantime, they can be checked > with: > > make DT_CHECKER_FLAGS=-m dt_binding_check > > Cc: Maxime Ripard > Cc: Masahiro Yamada > Cc: Michal Marek > Cc: linux-kbuild@vger.kernel.org > Signed-off-by: Rob Herring Thanks for your patch! This causes lots of warning when using DT_SCHEMA_FILES, as all compatible values in bindings not specified with DT_SCHEMA_FILES become unknown. Perhaps this should be disabled automatically when DT_SCHEMA_FILES is specified? 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