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=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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 4D5D8C65BAE for ; Wed, 12 Dec 2018 03:12:35 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8D9420839 for ; Wed, 12 Dec 2018 03:12:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="mzqSbOCk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8D9420839 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43F21D3mFpzDqsX for ; Wed, 12 Dec 2018 14:12:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="mzqSbOCk"; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=softfail (mailfrom) smtp.mailfrom=socionext.com (client-ip=210.131.2.83; helo=conssluserg-04.nifty.com; envelope-from=yamada.masahiro@socionext.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="mzqSbOCk"; dkim-atps=neutral Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43F1tN1QQCzDqrX for ; Wed, 12 Dec 2018 14:06:35 +1100 (AEDT) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (authenticated) by conssluserg-04.nifty.com with ESMTP id wBC36AZ8002116 for ; Wed, 12 Dec 2018 12:06:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com wBC36AZ8002116 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544583971; bh=6N6RaQ3wOc5su8qLy+bJz8CBzbjrgjGBbfJL+Zs0A8I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mzqSbOCkOEqhbf4OQ0ewjDCoQoQA3IgGMlZn6sN4Ms0Dtjegs8WHUWfW5iVumz7EF WsAUNlQ6ZXf5IAqJZMnspq8yfyFQpF8NbOMDzQOEZ1lzjUNs+1Wov7ABnWEXpZQjDl F6stobTLy7H/XeLSRlyWCI2TTqqz8I58Ao2/PUvxoHjFRhnPLnCjRoBtSQRItqEILP +rrHSmsS5cfrnCPCrksPhcNT/WLjfOCH8qwbWcJW0F+tCgldZ0R29uGUnmJCtFShcX G4ADaFBvO9yHdlYyr/kmDxWAqrHYQXQTVl8lLCQ4HEfTzroBErKC3tTzNTu9SBS05g 8wRKpdiJXrF+w== X-Nifty-SrcIP: [209.85.217.45] Received: by mail-vs1-f45.google.com with SMTP id b74so10215297vsd.9 for ; Tue, 11 Dec 2018 19:06:11 -0800 (PST) X-Gm-Message-State: AA+aEWaCsSUeeZpL6KBxnzSv6bVr/4wdkrzhNFCk5Tz7oTgG22frjf5k fiOL8pokvtMjSBKJCVdNzgud0tOTYCVVGCA9I9s= X-Google-Smtp-Source: AFSGD/VERKFbaF0SBtxWKtriGXKkGFdxuiwSlwd3i91soixgKZm5tqCgfSyRuHTxgC3c6MPKZTcle5pStFMzaQADVac= X-Received: by 2002:a67:f1d6:: with SMTP id v22mr8404903vsm.181.1544583970188; Tue, 11 Dec 2018 19:06:10 -0800 (PST) MIME-Version: 1.0 References: <20181211202406.27721-1-robh@kernel.org> In-Reply-To: <20181211202406.27721-1-robh@kernel.org> From: Masahiro Yamada Date: Wed, 12 Dec 2018 12:05:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4] kbuild: Add support for DT binding schema checks To: Rob Herring Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , DTML , Kumar Gala , arm-soc , darknighte@darknighte.com, Jonathan Corbet , Frank Rowand , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Linux Kbuild mailing list , Michal Marek , grant.likely@arm.com, linuxppc-dev , linux-arm-kernel Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Dec 12, 2018 at 5:24 AM Rob Herring wrote: > > This adds the build infrastructure for checking DT binding schema > documents and validating dts files using the binding schema. > > Check DT binding schema documents: > make dt_binding_check > > Build dts files and check using DT binding schema: > make dtbs_check > > Optionally, DT_SCHEMA_FILES can be passed in with a schema file(s) to > use for validation. This makes it easier to find and fix errors > generated by a specific schema. > > Currently, the validation targets are separate from a normal build to > avoid a hard dependency on the external DT schema project and because > there are lots of warnings generated. > > Cc: Jonathan Corbet > Cc: Mark Rutland > Cc: Masahiro Yamada > Cc: Michal Marek > Cc: linux-doc@vger.kernel.org > Cc: devicetree@vger.kernel.org > Cc: linux-kbuild@vger.kernel.org > Signed-off-by: Rob Herring > --- > v4: > - Rework libyaml check and error message with Masahiro's version > - Simplify build rules and dependencies > Acked-by: Masahiro Yamada Thanks. -- Best Regards Masahiro Yamada