From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6534BEF8FEA for ; Wed, 4 Mar 2026 13:56:46 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fQvNX6Sgpz3btw; Thu, 05 Mar 2026 00:56:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=185.67.36.65 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1772632604; cv=none; b=cjQ+XWkgzsaotKWVzj+DkSxXey6wsEa7ANcRcoiEa9yybB9D9FuZkDw7YVF6hkxIh6Bpjj5bBtk+jx1I3QyQGH9AoVCU9yZVSQyac3Y8EfQBZodwHqMSGaJJxYgeQCTS7qEV111DYd3bKfpK312+9WeH1c/M1unhRTZ9Zp13ybyq92koa9rfifqWP7al15NeM/zzlzVGclfX968g8v8U9HTt3/J3tl1cMVUf4t5rkDBvf/9vtr5z0aPaIyIHa4vW3wsMDIhDAN/sepmubYViZUO1HsdNgLA66HjBwxw0EKPzz5wWTBpQH6roeN1ucFx5/k9CZMsG29fXj1YdxKVzCQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1772632604; c=relaxed/relaxed; bh=XvWO//MuUaF6FBIn1Hrn9Rw3nUdY24HmHHsAA/muNLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jrrMe7TkoHdfWnVlo2rIsue/3gNlXkZrMHZDM7TRyJvsKRDRLNky/n/666iYDe4zxW1G43zE3Ch6TlugbqdYK2+UXmYv3gZbRRrtsiEfVNlb+IWv3lNx1ogt3hN/A/CCRpzUzEsTY6rNZsbMhjQbAWGcHqixgdo6TMwGh4EDexagWXOnc1Ris5QomL0nQLP77i2lhJjAYNxqRymQLfkbySt7dKZpflcUxfm5b5nN3WI+L+MbT4oxWghpW6eIih3HT3OAiRogVaYImy0SEcSIn2ut0S58SvlRlDxU+BrHpa2m/R1Bc2tDbxzH324Ou01it/aIKaGwH3xl3pqmHH7UFA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=posteo.net; dkim=pass (2048-bit key; secure) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=imS/u9Bv; dkim-atps=neutral; spf=pass (client-ip=185.67.36.65; helo=mout01.posteo.de; envelope-from=j.ne@posteo.net; receiver=lists.ozlabs.org) smtp.mailfrom=posteo.net Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=imS/u9Bv; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=posteo.net (client-ip=185.67.36.65; helo=mout01.posteo.de; envelope-from=j.ne@posteo.net; receiver=lists.ozlabs.org) X-Greylist: delayed 564 seconds by postgrey-1.37 at boromir; Thu, 05 Mar 2026 00:56:41 AEDT Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fQvNT4NmPz3btg for ; Thu, 05 Mar 2026 00:56:40 +1100 (AEDT) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DD8AC240027 for ; Wed, 4 Mar 2026 14:47:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1772632028; bh=XvWO//MuUaF6FBIn1Hrn9Rw3nUdY24HmHHsAA/muNLo=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:From; b=imS/u9BveXyiCdVz3nuiVXmt0F72RQBrDvQqnbvEjJKKUIBqKC/hovKSaG9kra/WP 2BFeOlA9f4dAgXaT5dblKaaepKJWe7U3MSXbC1Q+c7rKa7KZOIjX3T0qNabn1peoWN zr7bUkZVmrEFQymu8ApIyz0wTJEhRRsY+Xh8CMq2jGLDhVB4wOQR3EOUNQwQu2n8BL WYGCfKT/bNLs9gmMp8tDMf+O6a0szmYcCX965XBQ+9BaW97d1rWpR/+95WtAPDZ3hx rlI5a/V9oGoMlcL0XoVKvjD9/FPaLaZsXmD7/+fycM0mikxUHHVF/t4exNVg/G9Z/z qtEz1UBYsbcow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4fQv9Q1f3sz9rxc; Wed, 4 Mar 2026 14:47:05 +0100 (CET) Date: Wed, 04 Mar 2026 13:47:08 +0000 From: =?utf-8?Q?J=2E_Neusch=C3=A4fer?= To: Geert Uytterhoeven Cc: j.ne@posteo.net, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] powerpc: dts: Build devicetrees of enabled platforms Message-ID: References: <20260303-mpc83xx-dtb-v1-1-592d27492019@posteo.net> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 03, 2026 at 10:34:26PM +0100, Geert Uytterhoeven wrote: > Hi J, > > On Tue, 3 Mar 2026 at 16:56, J. Neuschäfer via B4 Relay > wrote: > > From: "J. Neuschäfer" > > > > Follow the same approach as other architectures such as Arm or RISC-V, > > and build devicetrees based on platforms selected in Kconfig. This makes > > it unnecessary to use CONFIG_OF_ALL_DTBS on PowerPC in order to build > > DTB files. > > > > This makes it easier to use other build and test infrastructure such as > > `make dtbs_check`, and is a first step towards generating FIT images > > that include all the relevant DTBs with `make image.fit`. > > > > Signed-off-by: J. Neuschäfer > > Thanks for your patch! > > > --- a/arch/powerpc/boot/dts/Makefile > > +++ b/arch/powerpc/boot/dts/Makefile > > @@ -3,3 +3,158 @@ > > subdir-y += fsl > > > > dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) > > + > > +# PPC44x platforms > > +dtb-$(CONFIG_PPC44x_SIMPLE) += \ > > + arches.dtb \ [...] > > + icon.dtb > > +dtb-$(CONFIG_EBONY) += \ > > + ebony.dtb > > This fits on a single line (many more below) > > [...] > > > +# MPC5200 platforms > > +dtb-$(CONFIG_PPC_MPC5200_SIMPLE) += \ [...] > > + tqm5200.dtb \ > > + uc101.dtb > > Even when it wouldn't fit on a single line, having separate > > dtb-$(CONFIG_FOO) += bar1.dtb > dtb-$(CONFIG_FOO) += bar2.dtb > > lines not only makes it a little bit shorter, but avoids the churn of > adding a backslash to the previous line when adding new entries. Sounds good, I'll do that for v2. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds