All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Kumar Gala <kumar.gala@linaro.org>,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>,
	Rob Herring <rob.herring@linaro.org>,
	devicetree-spec@vger.kernel.org,
	Pantelis Antoniou <pantelis.antoniou@konsulko.com>,
	Andy Gross <andy.gross@linaro.org>,
	Lucas Stach <l.stach@pengutronix.de>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017)
Date: Sat, 14 Oct 2017 14:34:57 +0200	[thread overview]
Message-ID: <20171014143457.72df1f54@windsurf.home> (raw)
In-Reply-To: <CACxGe6sxKzNKZbdGA-G=Th2oHwuanyC2kGYuaFcKbSRkuhep+Q@mail.gmail.com>

Hello,

On Mon, 9 Oct 2017 21:39:51 +0100, Grant Likely wrote:

> Here is my current list of topics in no particular order, including
> the topic moderator:
> 
> Runtime memory consumption (Rob Herring)
> Overlay maintenance plan (TBC)
> Stable ABI for devicetree (TBC)
> DT YAML encoding (Pantelis Antoniou)
> DT Schema format - option 1 (Pantelis Antoniou)
> DT Schema format - option 2 (Grant Likely)
> Sharing Generic bindings (TBC)
> devicetree.org update (Grant)
> 
> Reply to this email if you want to propose another topic.

I'd like to propose a quick discussion on how to avoid duplicating DT
description when a SoC is composed of aggregations of IP blocks that
are duplicated (in 2, 4 or 8 copies).

As an example, we currently have
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi and
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi that are almost
identical, because they represent the same aggregation of IP blocks,
present two times in the same SoC (Marvell Armada 8K). As we are going
to have SoCs with more than 2 copies in the future, we want to find a
way to avoid duplicating the description of those aggregations.

I'd like to present the problem scope, a possible solution solely based
on C preprocessor macros, and then open the discussion to see what is
the right approach to solve this problem.

I don't think that more than 10-15 minutes is needed for presenting the
problem scope and one possible solution. The following discussion may
be longer though.

I'll be attending on both the morning and afternoon, but I'll be
leaving at ~4:30 PM.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org"
	<ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org>,
	"David Gibson"
	<david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>,
	"Julia Lawall" <Julia.Lawall-L2FTfq7BK8M@public.gmane.org>,
	"Pantelis Antoniou"
	<pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>,
	"Lucas Stach" <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"Kumar Gala" <kumar.gala-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"Andy Gross" <andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"Rob Herring"
	<rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"Frank Rowand"
	<frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"Grégory Clement"
	<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017)
Date: Sat, 14 Oct 2017 14:34:57 +0200	[thread overview]
Message-ID: <20171014143457.72df1f54@windsurf.home> (raw)
In-Reply-To: <CACxGe6sxKzNKZbdGA-G=Th2oHwuanyC2kGYuaFcKbSRkuhep+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hello,

On Mon, 9 Oct 2017 21:39:51 +0100, Grant Likely wrote:

> Here is my current list of topics in no particular order, including
> the topic moderator:
> 
> Runtime memory consumption (Rob Herring)
> Overlay maintenance plan (TBC)
> Stable ABI for devicetree (TBC)
> DT YAML encoding (Pantelis Antoniou)
> DT Schema format - option 1 (Pantelis Antoniou)
> DT Schema format - option 2 (Grant Likely)
> Sharing Generic bindings (TBC)
> devicetree.org update (Grant)
> 
> Reply to this email if you want to propose another topic.

I'd like to propose a quick discussion on how to avoid duplicating DT
description when a SoC is composed of aggregations of IP blocks that
are duplicated (in 2, 4 or 8 copies).

As an example, we currently have
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi and
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi that are almost
identical, because they represent the same aggregation of IP blocks,
present two times in the same SoC (Marvell Armada 8K). As we are going
to have SoCs with more than 2 copies in the future, we want to find a
way to avoid duplicating the description of those aggregations.

I'd like to present the problem scope, a possible solution solely based
on C preprocessor macros, and then open the discussion to see what is
the right approach to solve this problem.

I don't think that more than 10-15 minutes is needed for presenting the
problem scope and one possible solution. The following discussion may
be longer though.

I'll be attending on both the morning and afternoon, but I'll be
leaving at ~4:30 PM.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-10-14 12:41 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09 20:39 [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017) Grant Likely
2017-10-09 20:39 ` Grant Likely
2017-10-14 12:34 ` Thomas Petazzoni [this message]
2017-10-14 12:34   ` [Ksummit-discuss] " Thomas Petazzoni
2017-10-17 13:30   ` Grant Likely
2017-10-17 13:30     ` Grant Likely
2017-10-16  5:36 ` Michal Simek
2017-10-16  5:36   ` Michal Simek
2017-10-16 14:11   ` Rob Herring
2017-10-16 14:11     ` Rob Herring
2017-10-18 14:04     ` Michal Simek
2017-10-18 14:04       ` Michal Simek
2017-10-18 14:28       ` Andre Przywara
2017-10-18 14:28         ` Andre Przywara
2017-10-18 15:32         ` Rob Herring
2017-10-18 15:32           ` Rob Herring
2017-10-18 16:05           ` Andre Przywara
2017-10-18 16:05             ` Andre Przywara
2017-10-18 16:20             ` Pantelis Antoniou
2017-10-18 16:20               ` Pantelis Antoniou
2017-10-16 16:40   ` Ben Dooks
2017-10-16 16:40     ` Ben Dooks
2017-10-16 18:44     ` Heiko Stübner
2017-10-16 18:44       ` Heiko Stübner
2017-10-16 19:45     ` Rob Herring
2017-10-16 19:45       ` Rob Herring
2017-10-17 13:38       ` Grant Likely
2017-10-17 13:38         ` Grant Likely
2017-10-17 23:45         ` Frank Rowand
2017-10-17 23:45           ` Frank Rowand
2017-10-17 13:32   ` Grant Likely
2017-10-17 13:32     ` Grant Likely
2017-10-18 10:08     ` Thomas Petazzoni
2017-10-18 10:08       ` Thomas Petazzoni
2017-10-16 16:42 ` Ben Dooks
2017-10-16 16:42   ` Ben Dooks
2017-10-17 13:34   ` Grant Likely
2017-10-17 13:34     ` Grant Likely
2017-10-17  9:48 ` Boris Brezillon
2017-10-17  9:48   ` Boris Brezillon
2017-10-17 13:21   ` Tom Rini
2017-10-17 13:21     ` Tom Rini
2017-10-17 13:48   ` Grant Likely
2017-10-17 13:48     ` Grant Likely
2017-10-17 16:21     ` Ian Lepore
2017-10-17 16:21       ` Ian Lepore
2017-10-17 17:02       ` Kumar Gala
2017-10-17 17:02         ` Kumar Gala
2017-10-17 17:24         ` Geert Uytterhoeven
2017-10-17 17:24           ` Geert Uytterhoeven
2017-10-17 17:24           ` Geert Uytterhoeven
2017-10-17 19:03           ` Bird, Timothy
2017-10-17 19:03             ` Bird, Timothy
2017-10-18 12:14             ` Grant Likely
2017-10-18 12:14               ` Grant Likely
2017-10-18 12:14               ` Grant Likely
2017-10-18 12:59               ` Pantelis Antoniou
2017-10-18 12:59                 ` Pantelis Antoniou
2017-10-18 13:18                 ` Alexandre Belloni
2017-10-18 13:18                   ` Alexandre Belloni
2017-10-18 13:21                   ` Geert Uytterhoeven
2017-10-18 13:21                     ` Geert Uytterhoeven
2017-10-18 17:41                     ` Bird, Timothy
2017-10-18 17:41                       ` Bird, Timothy
2017-10-18 18:00                       ` Rob Herring
2017-10-18 18:00                         ` Rob Herring
2017-10-18 21:10                       ` Alexandre Belloni
2017-10-18 21:10                         ` Alexandre Belloni
2017-10-18 16:18                   ` David Woodhouse
2017-10-18 16:18                     ` David Woodhouse
2017-10-18 14:13                 ` Rob Herring
2017-10-18 14:13                   ` Rob Herring
2017-10-18 17:45                   ` Bird, Timothy
2017-10-18 17:45                     ` Bird, Timothy
2017-10-18 14:07           ` Kumar Gala
2017-10-18 14:07             ` Kumar Gala
2017-10-18 14:07             ` Kumar Gala
2017-10-17 17:25       ` Rob Herring
2017-10-17 17:25         ` Rob Herring
2017-10-18 10:11       ` Thomas Petazzoni
2017-10-18 10:11         ` Thomas Petazzoni
2017-10-18 10:35   ` Chen-Yu Tsai
2017-10-18 10:35     ` Chen-Yu Tsai
2017-10-18 11:09     ` Mark Brown
2017-10-18 11:09       ` Mark Brown
2017-10-18 17:59       ` Tom Rini
2017-10-18 17:59         ` Tom Rini
2017-10-18 23:28         ` Andrew Turner
2017-10-18 23:28           ` Andrew Turner
2017-10-18 23:28           ` Andrew Turner
2017-10-18 23:53           ` Rob Herring
2017-10-18 23:53             ` Rob Herring
2017-10-18 23:53             ` Rob Herring
2017-10-19 14:00             ` Alexandre Torgue
2017-10-19 14:00               ` Alexandre Torgue
2017-10-19 14:00               ` Alexandre Torgue
2017-10-19 14:59               ` Rob Herring
2017-10-19 14:59                 ` Rob Herring
2017-10-19 14:59                 ` Rob Herring
2017-10-19 18:46                 ` Frank Rowand
2017-10-19 18:46                   ` Frank Rowand
2017-10-19 18:46                   ` Frank Rowand
2017-10-20  9:55                   ` Alexandre Torgue
2017-10-20  9:55                     ` Alexandre Torgue
2017-10-20  9:55                     ` Alexandre Torgue
2017-10-20 10:01                     ` David Gibson
2017-10-20 10:01                       ` David Gibson
2017-10-20 13:37                     ` Rob Herring
2017-10-20 13:37                       ` Rob Herring
2017-10-22  8:25                       ` David Gibson
2017-10-22  8:25                         ` David Gibson
2017-10-20 13:47                 ` Alexandre Torgue
2017-10-20 13:47                   ` Alexandre Torgue
2017-10-20 13:47                   ` Alexandre Torgue
2017-10-19  0:04         ` Mark Brown
2017-10-19  0:04           ` Mark Brown
2017-10-19 11:10 ` Grant Likely
2017-10-19 11:10   ` Grant Likely
2017-10-24  7:37   ` [Ksummit-discuss] " Boris Brezillon
2017-10-24  7:37     ` Boris Brezillon
2017-10-25 14:40     ` Maxime Ripard
2017-10-25 14:40       ` Maxime Ripard
2017-10-26  5:47   ` Frank Rowand
2017-10-26  5:47     ` Frank Rowand
2017-10-26  7:17   ` [Ksummit-discuss] " Grant Likely
2017-10-26  7:17     ` Grant Likely

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=20171014143457.72df1f54@windsurf.home \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=andy.gross@linaro.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=devicetree-spec@vger.kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@secretlab.ca \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=kumar.gala@linaro.org \
    --cc=l.stach@pengutronix.de \
    --cc=pantelis.antoniou@konsulko.com \
    --cc=rob.herring@linaro.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.