From: Russell King - ARM Linux <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>
To: Moritz Fischer <mdf-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org,
rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org,
frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: Devicetree Workshop Follow Up: Adding hierarchy to arch/arm/boot/dts
Date: Mon, 30 Oct 2017 17:09:17 +0000 [thread overview]
Message-ID: <20171030170917.GC27404@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20171030164626.GA14993-KFgJe6S/L2nknyRNNOXSQ2IaLvZF3x2V0E9HWUfgJXw@public.gmane.org>
On Mon, Oct 30, 2017 at 09:46:26AM -0700, Moritz Fischer wrote:
> Hi all,
>
> as discussed in Prague last week, here's my follow up.
> A bit of background again as refresher: Some time ago I submitted a
> patchset adding dts for some of upcoming boards ([1]).
> Arguments brought up against merging it were that we have too many Zynq
> based boards already in tree.
>
> During the Devicetree Workshop we had a brief discussion and most people
> in the room seemed to be ok with adding the boards, someone suggested
> (Arnd?) to add vendor subdirectories like in arm64, i.e. something
> like:
>
> arch/arm/boot/dts/xilinx/ni/<board>
>
> where Xilinx would be the SoC vendor and NI the integrator.
I utterly hate deep levels of directories, but I think the ARM64
solution where we /generally/ have one level of additional
directories under dts is a good compromise. With 1640 files in
arch/arm/boot/dts, it does need splitting up.
I'm not sure that splitting it by "integrator" is a good idea
for a single level of directory - using the SoC, SoC group, or
SoC manufacturer is better. It needs to be a balance between
number of subdirectories and number of files in the subdirectory,
so using guidance and not setting it as a hard and fast rule
makes sense too. What is right for one SoC group may not be
right for another group of SoCs.
What I think we should avoid is having to needlessly descend into
all of the subdirectories, so it needs to be based around the
Kconfig symbols we're already using.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-10-30 17:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 16:46 Devicetree Workshop Follow Up: Adding hierarchy to arch/arm/boot/dts Moritz Fischer
[not found] ` <20171030164626.GA14993-KFgJe6S/L2nknyRNNOXSQ2IaLvZF3x2V0E9HWUfgJXw@public.gmane.org>
2017-10-30 17:09 ` Russell King - ARM Linux [this message]
[not found] ` <20171030170917.GC27404-l+eeeJia6m9URfEZ8mYm6t73F7V6hmMc@public.gmane.org>
2017-10-30 18:14 ` Moritz Fischer
[not found] ` <20171030181409.6mvjud3yq3kiidfv-Ppq/Onv5LareNifRVEsEL8tP64cpqEsb9YMAkpvKFVYYEKSXGTPxz3fg1oLTg1jAAL8bYrjMMd8@public.gmane.org>
2017-10-30 19:51 ` Rob Herring
[not found] ` <CAL_Jsq+VkULu=1q6aPT9GKQhR2b1V1ATWB5yA6EWAr69xY1_8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-30 20:51 ` Moritz Fischer
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=20171030170917.GC27404@n2100.armlinux.org.uk \
--to=linux-i+ivw8tiwo2tmtq+vha3yw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=mdf-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org \
--cc=rob.herring-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox