public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: Fabio Estevam <festevam@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>,
	u-boot@lists.denx.de, Anatolij Gustschin <agust@denx.de>,
	Christian Hewitt <christianshewitt@gmail.com>,
	FUKAUMI Naoki <naoki@radxa.com>,
	Hai Pham <hai.pham.ud@renesas.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Kever Yang <kever.yang@rock-chips.com>,
	Marek Vasut <marex@denx.de>, Mathieu Othacehe <othacehe@gnu.org>,
	Michal Simek <michal.simek@amd.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Simon Glass <sjg@chromium.org>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Tianling Shen <cnsztl@gmail.com>, Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 00/12] arm: xea: Provide support for different XEA board HW versions
Date: Tue, 26 Mar 2024 14:50:05 +0100	[thread overview]
Message-ID: <20240326145005.09093974@wsk> (raw)
In-Reply-To: <CAOMZO5A-hSn9qQ2WkdBLQFPhSb4KxfAw=z9sMyVHKjxBeo8Vzw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2148 bytes --]

Hi Fabio,

> Hi Lukasz,
> 
> On Mon, Mar 25, 2024 at 5:48 AM Lukasz Majewski <lukma@denx.de> wrote:
> 
> > The case here is that I'm modifying the *-u-boot.dts{i} files only.
> > In  
> 
> The diff below shows that you are creating imx28-xea-1.dts and
> imx28-xea-2.dts for U-Boot consumption and renaming the upstream
> imx28-xea.dts to imx28-xea.dts.
> 
> create mode 100644 arch/arm/dts/imx28-xea-1.dts
> create mode 100644 arch/arm/dts/imx28-xea-2-u-boot.dtsi
> create mode 100644 arch/arm/dts/imx28-xea-2.dts
> rename arch/arm/dts/{imx28-xea.dts => imx28-xea.dtsi} (100%)
> 

Yes, exactly.

> > other words, u-boot will not support features described in Linux
> > DTS.  
> 
> That's OK and this happens frequently.
> 
> For example, upstream devicetree may describes audio codec,
> but U-Boot does not support audio playback.
> 
> Devicetree should be OS agnostic.
> 

Ok.

> In U-Boot, we want to re-use the upstream Linux devicetree files
> 'as-is'.
> 

Yes, I'm fully aware of this. However, the U-Boot size increases
rapidly...

> Adding -u-boot.dtsi files is OK though.
> 

Yes, this is a good way (with /delete-node) to reduce the size.

> Can you convert the imx28-xea board to OF_UPSTREAM available in the
> U-Boot next branch?

I will check if XEA can be moved to OF_UPSTREAM.

> 
> > Hence, the rename of files (which would be in sync with Linux at
> > some point) looks like not related to Linux DTS (as even after
> > re-sync with upstream Linux those changes will not be in Linux
> > DTS).  
> 
> I did not understand this part, do you mean that Linux will also do
> the imx28-xea.dts => imx28-xea.dtsi rename and will also have the new
> imx28-xea-1.dts and imx28-xea-2.dts?

Yes. Exactly. I started the conversion from u-boot. Updating Linux DTS
will be next.

> 
> Regards,
> 
> Fabio Estevam




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2024-03-26 13:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 11:43 [PATCH 00/12] arm: xea: Provide support for different XEA board HW versions Lukasz Majewski
2024-03-22 11:43 ` [PATCH 01/12] arm: spl: xea: Remove I2S pins configuration from early initialization Lukasz Majewski
2024-03-22 11:43 ` [PATCH 02/12] arm: xea: Add support for reading SoM (CPU) and base board HW revision Lukasz Majewski
2024-03-22 11:43 ` [PATCH 03/12] arm: xea: Rename imx28-xea.dts to imx28-xea-1.dts Lukasz Majewski
2024-03-22 11:43 ` [PATCH 04/12] dts: xea: Move phy-reset-gpios property to version specific DTS file Lukasz Majewski
2024-03-22 11:43 ` [PATCH 05/12] dts: xea: Remove outdated comment Lukasz Majewski
2024-03-22 11:43 ` [PATCH 06/12] arm: xea: Add support for multiple dtbs in u-boot Lukasz Majewski
2024-03-22 11:43 ` [PATCH 07/12] dts: xea: Add device tree description for XEA HW rev. 2 Lukasz Majewski
2024-03-22 11:43 ` [PATCH 08/12] arm: spl: Add definition for PHY reset GPIO " Lukasz Majewski
2024-03-22 11:43 ` [PATCH 09/12] arm: config: xea: Enable support for multiple DTBs for XEA board Lukasz Majewski
2024-03-22 11:43 ` [PATCH 10/12] config: xea: Enable late board initialization to set revision variable Lukasz Majewski
2024-03-22 11:43 ` [PATCH 11/12] arm: xea: Print information about XEA's SoM HW revision Lukasz Majewski
2024-03-22 11:43 ` [PATCH 12/12] arm: env: Add support for booting different HW revisions of XEA boards Lukasz Majewski
2024-03-22 13:47 ` [PATCH 00/12] arm: xea: Provide support for different XEA board HW versions Fabio Estevam
2024-03-25  8:48   ` Lukasz Majewski
2024-03-26 11:05     ` Fabio Estevam
2024-03-26 13:50       ` Lukasz Majewski [this message]
2024-03-27 12:05       ` Lukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240326145005.09093974@wsk \
    --to=lukma@denx.de \
    --cc=agust@denx.de \
    --cc=christianshewitt@gmail.com \
    --cc=clamor95@gmail.com \
    --cc=cnsztl@gmail.com \
    --cc=festevam@gmail.com \
    --cc=hai.pham.ud@renesas.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=marex@denx.de \
    --cc=michal.simek@amd.com \
    --cc=naoki@radxa.com \
    --cc=neil.armstrong@linaro.org \
    --cc=othacehe@gnu.org \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox