From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (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 4467B3054EB for ; Wed, 4 Mar 2026 13:47:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772632032; cv=none; b=MqyruUfmYIFkglgpx3pB0mYRReanuAijlvJ3YirCI/lheY8ZvusXQf8dnJt1N4+qd+JPhZByPFi8GekIuWeIvYqCs8+CfcIE3hNRP14q4sP5l8ImfP4IoPtjXNi6zbGSRnuv7Kb0x7trNBMpmXfqc7dn/RwrZNRPIw7H1Yg2HWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772632032; c=relaxed/simple; bh=jfR22FUwMmCvTi7NYfd8DE+kvcEe7FKYu52SljU3y0U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pFQnCNTI34oVigA6ipWEUGrvO+ww0TcOki2L9111Yash1OWjkbnMjkRa69vM2Pago+2JLxw4WwZ3yfbQ2f/eDDp3PaIdJb+x4cywJ4k9mimdWn+uUw1l4UrohO0mCfoR4dy+Q9T39HVT6Kub8zvYzx7oC1FQ2TmkoOOVNL85uOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net; spf=pass smtp.mailfrom=posteo.net; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b=imS/u9Bv; arc=none smtp.client-ip=185.67.36.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="imS/u9Bv" Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A92B9240028 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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