Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp635718pxm; Thu, 3 Mar 2022 01:14:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQN+U/ype3g7q8Dw2cLbMdmHayZaOf6AQ46P3tRCLtsxlRXWD5r2Lt0iUqJLlNBj2fPk8q X-Received: by 2002:a05:6402:369c:b0:413:2bc0:3f00 with SMTP id ej28-20020a056402369c00b004132bc03f00mr33289592edb.126.1646298870496; Thu, 03 Mar 2022 01:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646298870; cv=none; d=google.com; s=arc-20160816; b=iAKNQQ9jFfhAt6l9s3tpuBnLWGaqEkEoNA+8wGvh4zTjy0m8qs81cvndiCTwWqYkb8 tI0r4Fbq1yNUvTmTvP6HjdKvQFLr1ha2mLjwTKlj0GPal3503TaxHvGR3r3JlcEfxeOR Yfx5ekfmDdg4FUFteFcuP5mCjoIYDrZ1W0H6jUd4CkwPH6DQfsx7neHwUG8xDKC4ahZF /x/1YQR3u5nE2YnIn7teQSXbNbPZZAZgtuqesN0bSId1+cXC4PXfkM4wMzlreqrT9Eae IpdTYm8eGucwTK+gcveNPLLXUGuTS5mXyBloEMDxK+I+WCG8LpNPYbwUzTSJiMCMgwcH Z0gQ== 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=oNR1xncvu3qu9e99bCBj3dwVF0BkMGGG1dhnvvFNoac=; b=vD57c0uPF5UbrxQxeaEr9uXcufmjLjDE2TbHGG9/h3p13Gr6NIudqcAjUyVQiwy4dI D44BuQ4U05u6FlPXOnJlP2TCCj0XUv9eFFNSJ7NlT+HOrIKha7n8Eql1AjeozIOS6lbX 2vFFvAEOxrDRSdzSJUsJKA9rlShx8GHU4FIhQzVPSkvTKfoNptr4YECk0ebrdVn5lgvq bbf6pJz2vz0Y0og9asZujNf/taAphMYMfS9p+wBdrTCJQG19vLzZcnKevy4FTdC5hHzH rsPTxr7Ex5gY2IIZw5pLE0V0vJRHX+3eyjwuXgnI6qYsGgRUw3hiXUTRmAOh16zFta+X qGDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="JZbYmzw/"; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fr2-20020a170906890200b006d0a32c0407si841050ejc.551.2022.03.03.01.14.06; Thu, 03 Mar 2022 01:14:30 -0800 (PST) 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=@canonical.com header.s=20210705 header.b="JZbYmzw/"; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231213AbiCCIwA (ORCPT + 99 others); Thu, 3 Mar 2022 03:52:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbiCCIv5 (ORCPT ); Thu, 3 Mar 2022 03:51:57 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE4DA175877 for ; Thu, 3 Mar 2022 00:51:12 -0800 (PST) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 6DB573F610 for ; Thu, 3 Mar 2022 08:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646297471; bh=oNR1xncvu3qu9e99bCBj3dwVF0BkMGGG1dhnvvFNoac=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JZbYmzw/W8OKA8jYGTdQI3I39Zdu0GFCx1/Gdy6lgg+B7W62pZkaIRna/nLUNp/tY zpdcOcEzehOvIU2C5t0HGi1u5gxHt1EAETNbr/O0v/qw7EGqz63CbvyC4fP8uy72li 6jmvps47AjA7TqDLwvfqFjiRqzNodUkOb7BRENcoUJPvzNfkzOcj/duEFOYq8nc0Ql hEoK1FHsAnzURF1eLjdXVaMT6Lq43X+JlyJZUurL12CS8S/og7ULGzMjj2gEyfoyz8 RecNqIfMgXbRDAe+KHeSnRn0hEyUBNavcRGDYg3rMGN3pNeFcDl1zvOxUDj/KhJlHK JmuX494E3BiHw== Received: by mail-wr1-f70.google.com with SMTP id p9-20020adf9589000000b001e333885ac1so1752681wrp.10 for ; Thu, 03 Mar 2022 00:51:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=oNR1xncvu3qu9e99bCBj3dwVF0BkMGGG1dhnvvFNoac=; b=wMWLewIx0SYuRffTbMQ2XPdUzaayVOobMXtZ1vx/u6jeCKZ9lrZ409/LfAf2qR8n8q mzQ1teQH7h1hB/GiQMINsK0GPTaq4OTHhXwUzil40qQu34DKd6afp8Bn5TeOaBkeZqKy kgl/GgxHPZIjO9CNEGRNRkWgBuZGhLZ8soO02rxFzlhlN9Delf/q0OMjj/J5+nt9w3XM uQzRhceCwg1WryeR9CdD/9tiVu+sUtWFek4mIxn1AvLn+yvXJ0sT18fQgHRiLnKsIb7T djbic0a3HFXtDVQcDFRKScL9zU2vQxPWObB90PkMufKTfI15hfjF2RjrG37w3m9YlMTL p9RA== X-Gm-Message-State: AOAM531pNqpi36Nbbk2pWzkPO0IUb9v75Q03s9eO+PEyhvdvcjtB0CYr nKTjLrGPxpjSQvRPUHy9FacgHEwRnN7sqjchB6lO9uTe2nqKq2m/LCxXx15RgLcPY4yrHCQruQ5 6W2abfXiLDoyXUocLqfqN4+KUcWEndYHW2/kL473Vmw== X-Received: by 2002:adf:bc09:0:b0:1f0:2483:48b with SMTP id s9-20020adfbc09000000b001f02483048bmr6268546wrg.118.1646297468108; Thu, 03 Mar 2022 00:51:08 -0800 (PST) X-Received: by 2002:adf:bc09:0:b0:1f0:2483:48b with SMTP id s9-20020adfbc09000000b001f02483048bmr6268536wrg.118.1646297467942; Thu, 03 Mar 2022 00:51:07 -0800 (PST) Received: from [192.168.0.137] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id o13-20020a5d648d000000b001efd62a840dsm1483242wri.111.2022.03.03.00.51.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 00:51:07 -0800 (PST) Message-ID: <2674d7af-56cd-b2fc-74d9-ade32ada7bf9@canonical.com> Date: Thu, 3 Mar 2022 09:51:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES Content-Language: en-US To: Rob Herring Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220228201006.1484903-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220228201006.1484903-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 28/02/2022 21:10, Rob Herring wrote: > DT_SCHEMA_FILES is currently restricted to a list of exact files with > the full source tree path (i.e. Documentation/devicetree/bindings/...). > Loosen this requirement and let DT_SCHEMA_FILES be a partial match. > > With this, checking all schema files in a directory is possible: > > $ make DT_SCHEMA_FILES=/gpio/ dt_binding_check > > Or all schema files with 'qcom' in the path or filename: > > $ make DT_SCHEMA_FILES=qcom dt_binding_check > > Cc: Masahiro Yamada > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/Makefile | 15 +++++---------- > .../devicetree/bindings/writing-schema.rst | 9 +++++---- > 2 files changed, 10 insertions(+), 14 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof