From nobody Fri Dec 19 17:26:48 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50E12CE7B1E for ; Thu, 28 Sep 2023 19:03:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231731AbjI1TDI (ORCPT ); Thu, 28 Sep 2023 15:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbjI1TDH (ORCPT ); Thu, 28 Sep 2023 15:03:07 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DE5D194; Thu, 28 Sep 2023 12:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=8qfV6+XarzhmAa+YjW7gMWQ3/yom86jJ+dlvQAfmhFE=; b=za82yO7yAGggbOysnBRt3wHfbi NPOoIMfpj220OrDblWaZf4TTNC/Q9HCjGiMPYBZdXG8NYDa++XFOw+seUZX4E7xbv9WyJIjxZYr/I 6YwaBHS6TFxbX+kIAEf597lxxgEb0VXtVkOHejVCjN6zYBRTmwD8fDihEDr3ncGmTpZ0=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:51996 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qlwHt-00067p-M3; Thu, 28 Sep 2023 15:03:02 -0400 From: Hugo Villeneuve To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: hugo@hugovil.com, Hugo Villeneuve , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 28 Sep 2023 15:02:59 -0400 Message-Id: <20230928190259.3497563-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: [PATCH] docs: dt: writing-schema: add example for multiple DT_SCHEMA_FILES X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Hugo Villeneuve Variable DT_SCHEMA_FILES can specify multiple files, but the documentation does not indicate how to do it. Each entry needs to be separated by a column symbol ':'. Add an example to make it more obvious how to specify multiple DT_SCHEMA_FILES. Signed-off-by: Hugo Villeneuve --- Documentation/devicetree/bindings/writing-schema.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/writing-schema.rst b/Documen= tation/devicetree/bindings/writing-schema.rst index 4a381d20f2b4..a500d3c2e12e 100644 --- a/Documentation/devicetree/bindings/writing-schema.rst +++ b/Documentation/devicetree/bindings/writing-schema.rst @@ -159,11 +159,13 @@ It is possible to run both in a single command:: make dt_binding_check dtbs_check =20 It is also possible to run checks with a subset of matching schema files by -setting the ``DT_SCHEMA_FILES`` variable to a specific schema file or patt= ern. +setting the ``DT_SCHEMA_FILES`` variable to a specific schema file, multip= le +schema files or pattern. =20 :: =20 make dt_binding_check DT_SCHEMA_FILES=3Dtrivial-devices.yaml + make dt_binding_check DT_SCHEMA_FILES=3Dtrivial-devices.yaml:rtc.yaml make dt_binding_check DT_SCHEMA_FILES=3D/gpio/ make dtbs_check DT_SCHEMA_FILES=3Dtrivial-devices.yaml =20 base-commit: 633b47cb009d09dc8f4ba9cdb3a0ca138809c7c7 --=20 2.30.2