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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 768A2C3DA6E for ; Wed, 3 Jan 2024 13:24:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D2BFC86335; Wed, 3 Jan 2024 14:23:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="uX3wwsit"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B2A7C86FD8; Wed, 3 Jan 2024 14:23:58 +0100 (CET) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3708D864F3 for ; Wed, 3 Jan 2024 14:23:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-7815fc8dd17so373924585a.1 for ; Wed, 03 Jan 2024 05:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1704288235; x=1704893035; darn=lists.denx.de; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=OBM8xf6Pst9Vw+gDDwC+iZqU5Pa/v+w3tl5tpStgzxQ=; b=uX3wwsit8Iaa4k5M9fFi2QdwcHWbWyiq2tqyV4JAVYVzIHANiIR1Nhmb6GlE+O72zZ +QuzuTW+Fsgf43LcD8LSfx9OrTToAhumhYL7M7jMRCmZxF27HkgeTWD5ybIAwYwtu9Pu S7ltGvOaYygEYmsZl6l0MjBoiCTQ1B7DixdlI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704288235; x=1704893035; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OBM8xf6Pst9Vw+gDDwC+iZqU5Pa/v+w3tl5tpStgzxQ=; b=JNluSATblSWRlE/7/7EbIbnHfoYJhr5bEPaoVqPdmlPZDUD97pxihr6yHTg0gzybbu dtqwHNfk2lvUYchohs38KnGhrIa5kOWlnLFncQ9CAHINxF9x1qnnhAjHj9p9mFV2Wx13 KbHGuTqrPNBJOPwRfS95Om7tt92oZ+o0IPT+JLoHlIwJrrsYzgBh2fjB5Z9QPLLLSEEC S0TiMOBHcnQ4CVgSucbXCtzhjqOPL0k/v7ztcC7BPIsoUUSd0LmR42+rW/SF9dNPKEkH FIQ8HFDpLvslj6pivaPnu0aMNpkKG2yyRV8JOfb0DXzwciWZOc6ewQSPR7je/jqSM0Em R0DA== X-Gm-Message-State: AOJu0Yxo428PzazHqriiqsPmK5cyq5yPUhd9O14B2s7GGPxNe8WEK5h0 +hJO9hZY/bqSjIgrXOOUEiXvOPMM7CsggA== X-Google-Smtp-Source: AGHT+IEX90VHBcrHhcxJM1nGmEDSt0eNw1nzyHyhoANaNhS6zbuqJYljavqw+5iZ2Os8jD0JQjO9Kg== X-Received: by 2002:a0c:d6c8:0:b0:680:857:1bb4 with SMTP id l8-20020a0cd6c8000000b0068008571bb4mr14389645qvi.120.1704288234914; Wed, 03 Jan 2024 05:23:54 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-3119-0000-0000-0000-1005.res6.spectrum.com. [2603:6081:7b00:3119::1005]) by smtp.gmail.com with ESMTPSA id qh1-20020a0562144c0100b00680d39626fcsm8344qvb.47.2024.01.03.05.23.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:23:54 -0800 (PST) Date: Wed, 3 Jan 2024 08:23:51 -0500 From: Tom Rini To: Sumit Garg Cc: Simon Glass , Mark Kettenis , u-boot@lists.denx.de, u-boot-amlogic@groups.io, u-boot-custodians@lists.denx.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor@kernel.org, neil.armstrong@linaro.org, caleb.connolly@linaro.org, ff@shokubai.tech, daniel.thompson@linaro.org, dgilmore@fedoraproject.org, pbrobinson@gmail.com, ilias.apalodimas@linaro.org, maxim.uvarov@linaro.org, b.galvani@gmail.com, xypron.glpk@gmx.de, michal.simek@amd.com, seanga2@gmail.com, rasmus.villemoes@prevas.dk, peng.fan@nxp.com, jh80.chung@samsung.com, rfried.dev@gmail.com, marex@denx.de, mibodhi@gmail.com Subject: Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds Message-ID: <20240103132351.GG1610741@bill-the-cat> References: <20231231203953.GG2652760@bill-the-cat> <87ttnxlwon.fsf@bloch.sibelius.xs4all.nl> <20240101233545.GI2652760@bill-the-cat> <20240102180643.GA1610741@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D7RyIR6lNbPmxCL4" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --D7RyIR6lNbPmxCL4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 03, 2024 at 12:27:24PM +0530, Sumit Garg wrote: > Hi Tom, >=20 > On Tue, 2 Jan 2024 at 23:36, Tom Rini wrote: > > > > On Tue, Jan 02, 2024 at 09:07:48PM +0530, Sumit Garg wrote: > > > On Tue, 2 Jan 2024 at 19:36, Simon Glass wrote: > > [snip] > > > > 2. Choose a directory target for devicetree-rebasing. I see that > > > > 'barebox' uses 'dts' which seems better to me than > > > > 'devicetree-rebasing/src/'. > > > > > > Actually as part of this patch-set we try to reuse the U-Boot 'dts' > > > directory (via dts/arch/arm64/ soft links) since it was > > > already taken for U-Boot specific DT Makefile. However, I am open to > > > renaming 'devicetree-rebasing' but to me that sounds more clear that > > > we maintain a specific subtree within U-Boot. > > > > Looking at what little is in dts/ here today could we just use subtree > > and pop the contents under there, and basically ignore the > > project-provided Makefile? Or is that not really worth it? > > >=20 > If we really want to avoid soft links then I did try to add the subree > with the prefix as dts/upstream here [1]. It works well with the > downside that we will pollute the subtree source code with U-Boot > specific Makefiles [2]. However, the subtree pull works fine still. If > this sounds better to you and Simon then let me know I will use this > approach for v4. >=20 > [1] https://github.com/b49020/u-boot/commits/use_dts_dir/ > [2] https://github.com/b49020/u-boot/commit/90eabe614e77bc30a437e7d5559c1= ac414ac07b3 I think the symlink stuff was part of what was making it more confusing to add new SoCs to OF_UPSTREAM so yes this looks good to me, and I appreciate the demo commit showing an update is still easy. Thanks! --=20 Tom --D7RyIR6lNbPmxCL4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmWVX+EACgkQFHw5/5Y0 tyy61wwAhrYTcyzinZPYNNlwNwL1+CevGl/YHfLDGZSWdatx3UdAYkH42RHYDMod Hxw7DKZ4ghldohR79eqkuDYrjRX+pFC0jSoWyG2TnoUeYgxWeyOcZjGBk7nb1KkK Eia2v9j+OkBPpLjzQmdPLUs4KRgalQsyrEAbRJPgywU9zFVL+luoUJv2zIeWAvET 03zvCvmazJJPfURRs3OxzM/WvN5zotchQfmYJL3BbtcCkIWrXIxdBBkrKIgPjIGA 9EvXTZ7ySuNgg+fuOUJEayGQsHv0Jf+Ji/MOwJdc6mq6gC262SPfPv/4GGtYTldu GVWkRAYKHq6+FbX39Mm1XQOeMM/GsZnCgjUsbrnR0OSN57vjb+5pyIprKWE6wnGp /ACMHMl3FHFVONhe5hyyiDV00eFTPAuG/zaLBkgsWiHXisEjKojxCH42tc/NP/kY PO/MRLofhZyPnpRM44onizNwe9we1KiVPRm2prSXJTSDWI966bnM995krLg6cwe9 9tUYjqOy =Skr5 -----END PGP SIGNATURE----- --D7RyIR6lNbPmxCL4--