Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1219583rwi; Thu, 3 Nov 2022 02:36:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4tF512NUwWkgqeun41VKduTt7WqAsxZt/8aRciUwzzzX+Nz9sdjRcOchuv/XXmXXtWLY5g X-Received: by 2002:a17:903:284:b0:186:bb2c:b041 with SMTP id j4-20020a170903028400b00186bb2cb041mr29003342plr.36.1667468218674; Thu, 03 Nov 2022 02:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667468218; cv=none; d=google.com; s=arc-20160816; b=V6ID1ttZNSvC6CnAvs/zFn3eEcHC+44umK6ODnZnexywNJAiqxf7//BOdLiIXz1E0h 7aT9LBTdP9PPJk18sJtjTQ97HmS+Ztf/q2oBOi4TwdHBbIfzeA+rd1yiTrq/GMDSjCZc jejdmWxwcmwprN0bOE1ZH/9Is5nyR3Qow1oSZ+JYUoC2WrCbVq1rumcjajHlu/qePXni XgiVr67DCfWMUjPQpTsfZ3cooIy6zUZ/1CqauR8U8hi5u8juxOW/RjZx0Qljx7RQgemi 9m87DdtuTFLIakp28RXJDuKPu5vToeFnLzb7CanvtS4ZOGFqe+v/K45BurHfSHXuPVPq sPUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=f13YrIXF3nPk5ucE+cLo6TRaXJT7UIlS45UGoNwokAI=; b=TZl/LBr72pMfoVnb4uZHMtPF0m9ymiFL2M6ra6g9SVuaIwvRxmjdxC+s95I60ootb1 hNbEsiG/Rt02xsgN9fditdgj+Eu0pPpguK8eG3hP6mxsLNWrouyp1r3MyDO9MdL7CgyK Um/2AnN+atoyScdx92F77zAXDaYXNXq33jpFYk25UdSu0X1x1RT1jyviy4uMR0oYgkcX 4FLenwIcumtLfh0nc7dSU2YOgehQ2ihc/xLXQi/dYpqlY9iu2+cvgeht0RiO8lXedmPv ZKUb3HD11SXdNaLXskhM/x2Z78TdMk4bFJ9ML30FxX77T6/UpCNEBReYAV3RDbFG/x6T 7nJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CncGJbw+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170902ed0b00b001868a61d507si135972pld.180.2022.11.03.02.36.44; Thu, 03 Nov 2022 02:36:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CncGJbw+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbiKCJUU (ORCPT + 97 others); Thu, 3 Nov 2022 05:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231418AbiKCJTg (ORCPT ); Thu, 3 Nov 2022 05:19:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC5BCDFDD; Thu, 3 Nov 2022 02:19:19 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id E63B766028F8; Thu, 3 Nov 2022 09:19:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667467158; bh=M5O9/BCrWTrkOySMMphlKg4mAjD2Nfo1FUdwjlTecWk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CncGJbw++/sDS5qmxAD4+iJ2XknKwtwxKT01wNdwIGnaX6LlNI9tChQ8S3Wle5Iqh y/Jgy/GTy0ZZqJ0oTFP3NyNCdvWKnW1Uckq8zXrigY5ep8h3Nja60dK2zsKQ2Onzmz JuMXfz/i26ZGrFDwXcq30uQwrfS1mAVG+qUYfu+HUJa4rksaB7ivdmlQ1QbMaIUDCQ EYY0zXzn9WvEdC6s4dK3dnhRtKTYqocRoci+mn3WDLdk1YxAdohefJMvxvLxn8bnZF mER16CqRSHK41KD36Qh/+ioNec47BjMqtkWh2SKxx5eiGa0GphJpf3iYEzrL1lgDII npWttR9BR5QiA== Message-ID: Date: Thu, 3 Nov 2022 10:19:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH] docs: dt: writing-schema: Document usage of CHECK_DTBS make flag Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Rob Herring Cc: kernel@collabora.com, Krzysztof Kozlowski , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20221102214300.309347-1-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221102214300.309347-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 02/11/22 22:43, NĂ­colas F. R. A. Prado ha scritto: > It is possible to run checks on a Devicetree by passing the CHECK_DTBS > flag when building. This is a useful shortcut to the dtbs_check make > target since it avoids checking unrelated Devicetrees, which can take > some time and is unnecessary if no bindings were modified. Document it. > > Signed-off-by: NĂ­colas F. R. A. Prado > > --- > > Documentation/devicetree/bindings/writing-schema.rst | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/writing-schema.rst b/Documentation/devicetree/bindings/writing-schema.rst > index 4a381d20f2b4..55ad556472b4 100644 > --- a/Documentation/devicetree/bindings/writing-schema.rst > +++ b/Documentation/devicetree/bindings/writing-schema.rst > @@ -167,6 +167,13 @@ setting the ``DT_SCHEMA_FILES`` variable to a specific schema file or pattern. > make dt_binding_check DT_SCHEMA_FILES=/gpio/ > make dtbs_check DT_SCHEMA_FILES=trivial-devices.yaml > > +Note that ``make dtbs_check`` will validate every DT source file that is "Note that xxxx" looks a bit repeated... read: Note that ``dtbs_check`` will skip any binding schema files with errors. (etc etc) Note that ``make dtbs_check`` will validate every DT source file ... (etc etc) Perhaps we can change the first paragraph saying "In order to perform validation of DT source files, use..." to something like: In order to perform validation of all DT source files, use the ``dtbs_check`` target, or set the ``CHECK_DTBS`` variable to ``y`` when building specific DTs:: :: make dtbs_check make CHECK_DTBS=y mediatek/mt8192-evb.dtb Any opinion? Cheers, Angelo