All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Andrew Davis <afd@ti.com>
Cc: Simon Glass <sjg@chromium.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Chen-Yu Tsai <wenst@chromium.org>, Tom Rini <trini@konsulko.com>,
	U-Boot Custodians <u-boot-custodians@lists.denx.de>
Subject: Re: Proposal: FIT support for extension boards / overlays
Date: Wed, 13 Dec 2023 09:22:07 +0100	[thread overview]
Message-ID: <CAMuHMdXQdMeXUOAAw5nDO4+q5_HFvUc86Wi8ykMwjUwPex6wvQ@mail.gmail.com> (raw)
In-Reply-To: <ae0675e2-940a-439e-9557-e5a4f745f1b0@ti.com>

Hi,

On Tue, Dec 12, 2023 at 4:52 PM Andrew Davis <afd@ti.com> wrote:
> On 12/12/23 8:05 AM, Simon Glass wrote:
> > The devicetree files for a board can be quite large, perhaps around
> > 60KB. To boot on any supported board, many of them need to be
> > provided, typically hundreds.
> >
> > All boards for a particular SoC share common parts.  It would be
> > helpful to use overlays for common pieces, to reduce the overall size.
> >
>
> For this to save much size we would need to have the SoC split
> from each board that uses it. We don't have that in DT today.
> There are some efforts in progress to help on this but until
> then we will not get much here.

Indeed.

E.g. The Kingfisher board[1] is an extension for (various) ULCB
boards[2], but we cannot use an overlay for the former, as the
combinations need to have different top-level compatible (and model)
values.  Hence currently we use a .dtsi file and lots of extra .dts
files[3].

The other issue is the need for parameterization, due to slight
differences in pins/signals on various base boards, or because the
same connector is present multiple times (e.g. for multi-camera
setups[4][5]).

[1] arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
[2] arch/arm64/boot/dts/renesas/*-ulcb.dts
[3] arch/arm64/boot/dts/renesas/*-ulcb-kf.dts
[4] arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi
[5] arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi

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

  reply	other threads:[~2023-12-13  8:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 14:05 Proposal: FIT support for extension boards / overlays Simon Glass
2023-12-12 15:43 ` Heinrich Schuchardt
2023-12-27 17:48   ` Simon Glass
2024-01-23  7:02     ` Chen-Yu Tsai
2023-12-12 15:52 ` Andrew Davis
2023-12-13  8:22   ` Geert Uytterhoeven [this message]
2023-12-14 21:15     ` Simon Glass
2024-01-23  4:33 ` Chen-Yu Tsai

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=CAMuHMdXQdMeXUOAAw5nDO4+q5_HFvUc86Wi8ykMwjUwPex6wvQ@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=afd@ti.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-custodians@lists.denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=wenst@chromium.org \
    /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.