All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: u-boot@lists.denx.de
Subject: [PATCH 0/4] Use just one DTS file for all Espressobin variants
Date: Wed, 25 Nov 2020 20:06:13 +0100	[thread overview]
Message-ID: <20201125190613.6ilcge32sq7cngxp@pali> (raw)
In-Reply-To: <CALeDE9P-YRTx8ex2ODbz0L+MyXA9e1Z1cUJNtUTUc-TwWr7GRQ@mail.gmail.com>

On Wednesday 25 November 2020 18:38:06 Peter Robinson wrote:
> > This patch series change Espressobin code to use in U-Boot just one DTS
> > file for all Espressobin variants. Therefore DT compatible string
> > globalscale,espressobin-emmc is not used anymore as it is not needed.
> 
> Does this work if this DT provided to Linux for booting on the
> different variants?

U-Boot DT is incompatible for booting Linux kernel. It is because comphy
driver in U-Boot is different as in Linux kernel and needs different DT
nodes. But there is a work to port Linux kernel comphy driver to U-Boot.

> > It means that setup and compilation of U-Boot for Espressobin is less
> > complicated and more simple. As there is no need to check for HW details
> > and just one U-Boot binary would work for all Espressobin variants.
> >
> > First two patches just revert previous eMMC support and next two patches
> > add support for eMMC in way that just one DTS file is used and fdtfile
> > env variable is correctly set for any Espressobin variant.
> >
> > We have tested that fdtfile env variable is correctly set on Espressobin
> > variants with eMMC, without eMMC, with DDR3 RAM and also with DDR4 RAM.
> > Also that eMMC is working on Espressobin variant with eMMC.
> >
> > Pali Roh?r (4):
> >   Revert "arm64: dts: armada-3720-espressobin: split common parts to
> >     .dtsi"
> >   Revert "arm64: dts: a3720: add support for espressobin with populated
> >     emmc"
> >   arm: mvebu: Espressobin: Add support for emmc into dts file
> >   arm: mvebu: Espressobin: Detect presence of emmc at runtime
> >
> >  arch/arm/dts/Makefile                         |   1 -
> >  arch/arm/dts/armada-3720-espressobin-emmc.dts |  44 -----
> >  arch/arm/dts/armada-3720-espressobin.dts      | 186 +++++++++++++++++-
> >  arch/arm/dts/armada-3720-espressobin.dtsi     | 167 ----------------
> >  board/Marvell/mvebu_armada-37xx/board.c       |   6 +-
> >  doc/README.marvell                            |   7 +-
> >  6 files changed, 186 insertions(+), 225 deletions(-)
> >  delete mode 100644 arch/arm/dts/armada-3720-espressobin-emmc.dts
> >  delete mode 100644 arch/arm/dts/armada-3720-espressobin.dtsi
> >
> > --
> > 2.20.1
> >

  reply	other threads:[~2020-11-25 19:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 18:20 [PATCH 0/4] Use just one DTS file for all Espressobin variants Pali Rohár
2020-11-25 18:20 ` [PATCH 1/4] Revert "arm64: dts: armada-3720-espressobin: split common parts to .dtsi" Pali Rohár
2020-11-25 18:20 ` [PATCH 2/4] Revert "arm64: dts: a3720: add support for espressobin with populated emmc" Pali Rohár
2020-11-25 18:20 ` [PATCH 3/4] arm: mvebu: Espressobin: Add support for emmc into dts file Pali Rohár
2020-11-25 18:20 ` [PATCH 4/4] arm: mvebu: Espressobin: Detect presence of emmc at runtime Pali Rohár
2020-12-02 14:35   ` Andre Heider
2020-12-03 15:56     ` Pali Rohár
2020-12-03 16:30       ` Stefan Roese
2020-12-05 12:44         ` Pali Rohár
2020-12-07 11:07           ` Stefan Roese
2020-11-25 18:38 ` [PATCH 0/4] Use just one DTS file for all Espressobin variants Peter Robinson
2020-11-25 19:06   ` Pali Rohár [this message]
2020-12-02  0:33 ` Pali Rohár
2020-12-02  8:09   ` Stefan Roese
2020-12-02  9:12     ` Pali Rohár
2020-12-02 10:35       ` Stefan Roese
2020-12-02 12:37         ` Andre Heider
2020-12-02 14:20           ` Philipp Tomsich
2020-12-07 11:09 ` Stefan Roese

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=20201125190613.6ilcge32sq7cngxp@pali \
    --to=pali@kernel.org \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.