Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp647556rdb; Mon, 15 Jan 2024 08:57:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEO+TzNDfNmS2I377AoC3PMeVNZOgSTNb/ahPjbbaV23HbuqxDhRjW3Xg8ftlVDx8fSBili X-Received: by 2002:a05:6870:14cc:b0:206:bb8e:d819 with SMTP id l12-20020a05687014cc00b00206bb8ed819mr7781971oab.104.1705337860508; Mon, 15 Jan 2024 08:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705337860; cv=none; d=google.com; s=arc-20160816; b=Z/QpkdKC58D+WUNWkzSOqlRYhm/0HfsEnw/Pxzp0v9h/41JAQW6NbDcV4vyLh5MhQM 2Hl4WOd8UD3jlEC4ny17dDABWRbv0maDZQdHf7WmPp5bztVemcL1K8RFNlj5P9CUnbe4 D5V3Ant+iQFo6s3iovoT34WYt1j51ksgyFg+7Oh7lA6eGzEfAyclkq+KH7AioLqD9xJE fd8ONuuiJZRmueo5XbdqutIHU9DdpeUAqcDqpcr3HoFWVm+AxO/SwjJfw9bbDdZ3bDeE pts07M2fYeu6y43EOE9hSUU906p+s10Rrx4yEpSU+8j8sKo3whYjG8NiKl7xdFFg3SsV pdXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=waVYuEFLr5NkCXBear1JEDXoIU+PxE6RY0fZ5JBOvHA=; fh=diPt9f4PsPPhK5MKDIZh5YOtgZo5vwob/7lBt77WkBk=; b=pyR/8UiDWmkCItJx+bA4nTojFublktzfG6Yg1mK9phQMKfbV5Dtzj6kQAd/Vw6BhUw h9w1V5B03zD6iPGAzq+Yu7D8T4Iy18K0///djqhuGyPhi0j2uooQpcdHo6qELqkoRAC0 NHERTfKWLLcr2Oo6wWeW9MHn4DdSaAtkAH8RRP+L4yrgt5zte+uKhd8Gc/qghOCqJavY aJ+QXC+a4MUYHeDvA1/yB59jRRGdEMSrVKz0E35pC+7JrCmjih4Axt5KXf/nau5YC+Qv ZEWrlJMNBpT1DOMqkCWfPwtOOl8Fhs/GlDLosjUcYKZ4QwminIGMtflJD6HeoVuTU0+2 jFMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SIee+ekm; spf=pass (google.com: domain of linux-kernel+bounces-26283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l7-20020a635707000000b0056da0ae25d1si8955526pgb.831.2024.01.15.08.57.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 08:57:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SIee+ekm; spf=pass (google.com: domain of linux-kernel+bounces-26283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 29103282F2A for ; Mon, 15 Jan 2024 16:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7A3817C6B; Mon, 15 Jan 2024 16:57:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SIee+ekm" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78B0818026 for ; Mon, 15 Jan 2024 16:57:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-337984681bcso2631485f8f.1 for ; Mon, 15 Jan 2024 08:57:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705337847; x=1705942647; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=waVYuEFLr5NkCXBear1JEDXoIU+PxE6RY0fZ5JBOvHA=; b=SIee+ekm3vVU2462jO6uNkGCDHNEqXSv3XpQW5tSm5dCsoYBPy9gdNiyRxBEWMWuNS zVYJIph28cRm0G+ZdWpJV2P1nRyBIHwV0xrzkal5h1A2qfYZ5Uw6SC3r1Ld31tNp5hOx HYkdp/zHri/iUr9+2EZm0uTyRksrVmUeo1esauFfwBsoJdhBdVv7Vr6D8PE1oQix2Pwu 1+7evc2HMmlR8j9e7PW7ill1UO64LCkdO+h+8SkLRvumsLBz+H5DHTvy85wmljQ0yDHE 3pYMWxwB+ihWvlQWRZhq2YMSYH1VhCAv6aZ2LyoClNU7FXQ8UvawLMDBduU876Oq5quS lDlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705337847; x=1705942647; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=waVYuEFLr5NkCXBear1JEDXoIU+PxE6RY0fZ5JBOvHA=; b=u1h61lS4sKMZLOk+HkT8wwzTDbvuiEye7pUy+H3CY8fZcoo+TsdDLfzih1Mwz59DPH 35ouxbxyMyFsM/kQ86FKygvLgHxE9qu5q3Tcnju06DRi6khqj5qobG5+0qRdAYNr1FhN eMmVbh2sMvIL6VrMh6k21AzP+h480cSbbXVfm3ErbieW1Z1KcxNefadDHNks0Cj40QaZ 1M7UNM1rEzCfszPhk75POpm/m7T0ldubOb84e5ABiBlzb5JywWwzMgLqux0pHnrb5Xz0 1DjA/Qx+CFkMxjwmOOtdGKdVVRrJsTEUTr4lThM+4ZgX12Z9NCm+A7M2ByV8UA9l9bKj VM0w== X-Gm-Message-State: AOJu0Yz6OvFiunn3sssDJkxj7sELlIuPJ1G41Rod1l60YNp0bP0ra0IJ LFjAia6wAQ1tL9jYPzp7zmD6ubrKAEI0CQ== X-Received: by 2002:a5d:4b8b:0:b0:336:779b:97a1 with SMTP id b11-20020a5d4b8b000000b00336779b97a1mr2818092wrt.74.1705337847642; Mon, 15 Jan 2024 08:57:27 -0800 (PST) Received: from draszik.lan ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id dr3-20020a5d5f83000000b00336ca349bdesm12447947wrb.47.2024.01.15.08.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 08:57:27 -0800 (PST) Message-ID: <8c5afb4e52e0c5a6dd88f6b7eaa7bc2e97ba31ad.camel@linaro.org> Subject: Re: [PATCH] dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Michal Simek , Conor Dooley Cc: Rob Herring , Rob Herring , Masahiro Yamada , Conor Dooley , Mathieu Poirier , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Date: Mon, 15 Jan 2024 16:57:26 +0000 In-Reply-To: References: <20231220145537.2163811-1-andre.draszik@linaro.org> <170432630603.2042234.10993333941885772911.robh@kernel.org> <827695c3-bb33-4a86-8586-2c7323530398@amd.com> <20240115-fragment-clean-95ef01dd8b20@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-01-15 at 17:37 +0100, Michal Simek wrote: >=20 >=20 > On 1/15/24 17:29, Conor Dooley wrote: > > On Mon, Jan 15, 2024 at 09:40:37AM +0000, Andr=C3=A9 Draszik wrote: > > > Hi, > > >=20 > > > On Mon, 2024-01-15 at 10:20 +0100, Michal Simek wrote: > > > > This patch is causing issue for me. Look at log below. > > > > I am running it directly on the latest linux-next/master. > > > >=20 > > > > Thanks, > > > > Michal > > > >=20 > > > > $ make DT_SCHEMA_FILES=3D"Documentation/devicetree/bindings/arm/arm= ,cci-400.yaml" > > > > dt_binding_check > > >=20 > > > It'll work if you drop the 'Documentation/devicetree/bindings' part f= rom the path, as > > > it is implied since bindings can only be in that directory anyway: > > >=20 > > > =C2=A0=C2=A0=C2=A0=C2=A0 make DT_SCHEMA_FILES=3D"arm/arm,cci-400.yaml= " dt_binding_check > > > =C2=A0=C2=A0=C2=A0=C2=A0 make DT_SCHEMA_FILES=3D"arm,cci-400.yaml" dt= _binding_check > > >=20 > > > both work. > >=20 > > Requiring that is pretty user unfriendly though I think, passing the > > full path from the root directory of the kernel tree would be my > > assumption of the "default". >=20 > I am using full path like this for years. I just just went by Documentation/devicetree/bindings/writing-schema.rst which doesn't suggest adding Documentation/devicetree/bindings/. In an attempt to make it more robust for anybody following this doc, I opted for the current implementation. > I can fix my scripts but would be good to consider correct path inside th= e=20 > kernel is something what this patch should also allow. > Because path above is correct and it is not outside of the kernel that's = why at=20 > least commit message should be massage a little bit. I hear you, and I'll make a v2 to not imply the bindings directory. Cheers, A.