Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp629888lqb; Wed, 29 May 2024 06:22:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqBnfwsmAcy0Q6Zdm3CXg89HPHHEOmdLAFvzoVA8HigKXCMCrf7RufmbAVLdmjnjDtuMlm/CSJyL3gM4dC6UG+QQ/Odt9KurcOUmLIPA== X-Google-Smtp-Source: AGHT+IGcjUVNDRFcTyRhcVhGbXsGndG/SIyDFOZqCHZNOxXif08POQyHjJ9Kiv0lmnX0Yb0kMOO2 X-Received: by 2002:a05:6a21:621:b0:1b0:106e:89c2 with SMTP id adf61e73a8af0-1b259a093acmr2925279637.2.1716988960949; Wed, 29 May 2024 06:22:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716988960; cv=pass; d=google.com; s=arc-20160816; b=S5pjcUAFdGyjBI9E4RVfkzcsRz94JkoajOH/8mXEDdUL6CnRtmPE0NtSWJ9EbTtJOK Z5Khz1khagLkrcR81Pf2LaCZ4SSKjE2DD2Wger/PF6kcsG0/cikcfs/BDMsv6qkMYqLP vppfBYtT0eiPYYw4eVY71J4R54e1e98M6pMsOn3YHg1YBPe5WBwwx7Cf4wr5u8R5E2wO HlIu+E9r5Bx8mwG+oJfgpixuhUDINUU+MlUJY/SnmXNv+cSK5xTQyjgdugCTjoyRVst7 YctYBwpxdbRnm6Ns1yBGEzA5O5VvrM37Iy3ARcn4TIfjbQCs4DeKNASEM178cV8DymQT x9bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=FpxFPRp8yPNn8Ngd8ZdEt2mCiE8f6earyUQln/Rb0CQ=; fh=OM+7eJZfHxTi3sDg6OVFCj0yCxwyykbTk6srNZpS5SY=; b=dR7UqztbZdLZWo4hz9YhEkwszsUMYq3iOhpFxDYAwPKECIQqEs96cnuJNtJw63YCRZ Zrzjxa5sc+ceANQtnT/poAq9XhSnyIQgLi+0LfpPn/XJxk8VMHJmCXNtUI7oOjKKoUzS sA73MdXoVcTIVpXmJVWtHZMsVN1Is9CBaQrHm+wWPlmr0EgTNoXL+pD43MgItHhOjXiY 9Q6FvglfGoNkbqMlJpHGKpCQ9yJOePhBqcpEgHK1jFKlRNpTqNTwdKod4vQwNWNCKoem UQSUTQNofLAy4HPOu/fUSmHohTBb9A3zIcWNYvahNJ8/u3W7TjDSvOqyvC61Z2nKWGa9 tZ0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d4pgNeyF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-68221b75792si10715154a12.174.2024.05.29.06.22.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 06:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d4pgNeyF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 EEA982844DC for ; Wed, 29 May 2024 13:22:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5812B12E40; Wed, 29 May 2024 13:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d4pgNeyF" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7954511185; Wed, 29 May 2024 13:21:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988916; cv=none; b=Iv0wwbrgWpMqCy3QFszHnptB1LozhjnlqV1N5O7pd1CCTiBhgmjOecnuFKNh9DUL+CoqD/9n7eQS+dc2AKlOVNsNnpnm5NJfjKEKvK69rpRIGzaVSKSjjdBRhazbkWo5ElriQLivlB8WEfmzHX0QfS1F699aPC9qJiEjjTF0KXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988916; c=relaxed/simple; bh=FpxFPRp8yPNn8Ngd8ZdEt2mCiE8f6earyUQln/Rb0CQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=sqRw8bhkppB2c/ch5PbsfozzTN8FIU3EMaAKiAJnWfDlaeRU56QXDgpRH7qtrFsK1qu9G/amWr4b9RlSDH/sh/ySeyz8mQ0lVhAcIfrns12NMWWflxDrHkQZDHw96FTR4QfP2h1NiLIF+DttVhcYDFJhbJiNg2c0kHAPmMyt69s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d4pgNeyF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC540C4AF07; Wed, 29 May 2024 13:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716988916; bh=FpxFPRp8yPNn8Ngd8ZdEt2mCiE8f6earyUQln/Rb0CQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=d4pgNeyFsGB4iz2l3njE2pOO7qGlrpWslG/r5XGYgR0PRJ+j4KcCUQrwp42svs31L 1x3GLi/3TRsOvbQ7x9mUsymo4fCGSPIGwXlc4/jMuJVKMn/kRLDKbMlepWQSeHMyfE 6LO89YRhipVTja1OWylOM8Afr8DKBGU0tpftjwsQPyAJmmCzgkE+J+OfXJPiA5DNH2 5cd/umDDJGZ+5OR+x/4/R+EeCmGSdkYo9nfqRyl35nrEbMg5rnEDzGDCvc2L9fKPlG LbQxdxb3AJG0RyvWSMUUHzMlE/EMQ4BUurn1beU+gq1PBOGIq2z0bTSkt1sNG5sn3R 8goRC61yOmNow== Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-52b27afe214so441438e87.1; Wed, 29 May 2024 06:21:55 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXSjwvdCc0ojFUNcQc/xeAXLTWPhcWZt7VIjpSSt3WDDUq6OfsFG9HrqWN1BZZYM+rA+/icgMkK8CLzG+wWQSaM9uwMDiGC396AjuFqJwZYTO2OkrEcZNWmn6OG6HcxatZxqokoYYSZ9vHQMitBwizXVpoGdO4XQgJvhI0qxd8CH05Gns4zLQ== X-Gm-Message-State: AOJu0YyXZFs7gQ5WR/cPaX7HbD3ZqALXoBKRqAmCsdDFC02XLqK5fS+T FyVE1P7fO+7p4yrMqj8HYS+CLAxQmr7VhEYegDXLX08qThIJLaSk5pUHRsEeP/AHJs5ObMqPNgp 2Ew1sKlrgi2c2KyQ+aVnpXK4yPg== X-Received: by 2002:ac2:5181:0:b0:51f:9a88:be2a with SMTP id 2adb3069b0e04-52a829140ccmr708255e87.23.1716988914331; Wed, 29 May 2024 06:21:54 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240527-dtbo-check-schema-v1-1-ee1094f88f74@linaro.org> In-Reply-To: From: Rob Herring Date: Wed, 29 May 2024 08:21:40 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: verify dtoverlay files against schema To: Masahiro Yamada Cc: Dmitry Baryshkov , Nathan Chancellor , Nicolas Schier , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024 at 6:31=E2=80=AFAM Masahiro Yamada wrote: > > On Tue, May 28, 2024 at 10:16=E2=80=AFPM Dmitry Baryshkov > wrote: > > > > On Tue, 28 May 2024 at 16:15, Rob Herring wrote: > > > > > > On Mon, May 27, 2024 at 6:34=E2=80=AFAM Dmitry Baryshkov > > > wrote: > > > > > > > > Currently only the single part device trees are validated against D= T > > > > schema. For the multipart schema files only the first file is valid= ated. > > > > > > What do you mean by multipart schema files? Did you mean multipart DT= s > > > (i.e. base plus overlays)? > > > > Yes, multipart DT files, dts + dtso =3D> dtb + dtbo =3D> final dtb > > > > > > > > Looks good otherwise and I can fix that up. > > > > Awesome, thanks! > > > > > This looks equivalent to the former patch rejected by Rob Herring: > > https://lore.kernel.org/lkml/20240225151209.343160-1-alexander.stein@mail= box.org/ > > > > Did he change his mind since then? I think I misinterpreted the prior one to be checking just overlays rather than base+overlay seeing the 'dtbo' in it. Of the 2, this patch seems a bit cleaner. Rob