From: Tom Rini <trini-l0cyMroinI0@public.gmane.org>
To: Russell King - ARM Linux
<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Jason Kridner <jkridner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"beagleboard-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
<beagleboard-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
OMAP List <linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Robert Nelson
<robertcnelson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
ARM Kernel List
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards
Date: Tue, 17 Jun 2014 08:37:09 -0400 [thread overview]
Message-ID: <53A03675.1000908@ti.com> (raw)
In-Reply-To: <20140617090931.GB3705-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
On 06/17/2014 05:09 AM, Russell King - ARM Linux wrote:
> On Mon, Jun 16, 2014 at 09:22:50AM -0400, Jason Kridner wrote:
>> Adding devicetree and linux-arm-kernel lists based on feedback on IRC...
>>
>> On Tue, Jun 10, 2014 at 12:46 PM, Jason Kridner <jkridner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> I'd like to discuss moving our current library of cape devicetree
>>> overlay sources into a single tree, including the boot .dtb files for
>>> BeagleBoard.org boards and moving towards enabling as much of the cape
>>> support into a single boot-time .dtb file with an approach similar to
>>> the cape-universal overlay
>>> (https://github.com/cdsteinkuehler/beaglebone-universal-io), but not
>>> in an overlay.
>>>
>>> First of all, I want to note this doesn't change my view on the
>>> importance of mainline support for devicetree overlays. They are still
>>> absolutely critical and highly useful, solving problems that cannot be
>>> solved through boot-time devicetrees. I'm simply looking for an
>>> approach that will complement the availability of overlays and provide
>>> the best user experience.
>
> Here's the most obvious question in the world on this topic. Are capes
> hot-pluggable?
>
> Looking at the posts on google+ from David Anders, they're using pin
> headers for connectivity, with no additional protection against hot-
> plugging, and no sequencing of pin connection. In other words, they are
> not hot-pluggable.
>
> So, why do we need to add a load of infrastructure to the kernel to allow
> the device tree to be modified at run time? At present, the way the
> entire DT infrastructure works is that it assumes the DT remains static
> and never changes - this applies not only to the core DT code, but also
> to all the drivers which have been converted.
>
> So, you're asking for a feature which is impossible to really make use
> of on the hardware which you want to use it.
>
> Why should kernel developers go to the extent of adding support for DT
> modification at runtime when the platform you want this for doesn't even
> support hotplugging of these capes?
>
> The logical way to deal with this is to have the boot loader merge DT
> fragments together before it calls the kernel, so the kernel sees a single
> DT blob which describes the whole hardware.
Frankly, if we're going to push device tree merging to be someone elses
problem, I'd like to push it out to userspace.
> A good way that this could have been done is to put an I2C EEPROM on
> each cape, and have that store the DT fragment. The boot loader could
> have then read that from each cape, and used that information to build
> up the final DT. Why this hasn't been thought of, considering that the
> kernel has been moving towards DT for years, is quite unbelievable.
I had actually talked about this a long while back (face to face) with
people, but the problem was (and still kind of is) the bindings
changing, etc.
--
Tom
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2014-06-17 12:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CA+T6QP==raXdWz9mezK3JxSvZjWhUZZ7aKv4CpCr0SbdaCMgDQ@mail.gmail.com>
[not found] ` <CA+T6QP==raXdWz9mezK3JxSvZjWhUZZ7aKv4CpCr0SbdaCMgDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-11 5:10 ` Unifying cape overlays into boot .dtb for BeagleBoard.org boards Jason Kridner
2014-06-16 13:22 ` Jason Kridner
2014-06-17 9:09 ` Russell King - ARM Linux
[not found] ` <20140617090931.GB3705-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-06-17 12:37 ` Tom Rini [this message]
2014-06-17 12:56 ` Russell King - ARM Linux
[not found] ` <20140617125640.GC3705-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-06-17 14:58 ` Tom Rini
2014-06-17 13:45 ` Vladimir Pantelic
2014-06-17 12:58 ` Matt Porter
2014-06-17 13:15 ` Russell King - ARM Linux
2014-06-17 13:30 ` Matt Porter
2014-06-17 13:32 ` Pantelis Antoniou
2014-06-17 16:01 ` Russell King - ARM Linux
[not found] ` <20140617160119.GE3705-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-06-17 16:33 ` Jason Kridner
2014-06-17 16:59 ` Pantelis Antoniou
2014-06-17 17:05 ` Russell King - ARM Linux
2014-06-17 17:10 ` Pantelis Antoniou
2014-06-17 17:41 ` Russell King - ARM Linux
2014-06-17 19:24 ` Pantelis Antoniou
2014-06-17 13:50 ` Grant Likely
2014-06-17 14:08 ` Iain Paton
2014-06-11 5:11 ` Jason Kridner
2014-06-17 7:11 ` Gupta, Pekon
[not found] ` <20980858CB6D3A4BAE95CA194937D5E73EAF59A7-yXqyApvAXouIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2014-06-17 16:25 ` Jason Kridner
2014-06-18 8:51 ` Gupta, Pekon
2014-06-26 7:50 ` Tony Lindgren
[not found] ` <20140626075039.GG28884-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-06-26 13:06 ` Tom Rini
[not found] ` <53AC1AC5.5000103-l0cyMroinI0@public.gmane.org>
2014-06-26 15:27 ` Jason Kridner
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=53A03675.1000908@ti.com \
--to=trini-l0cymroini0@public.gmane.org \
--cc=beagleboard-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jkridner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=robertcnelson-Re5JQEeQqe8AvxtiuMwx3w@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;
as well as URLs for NNTP newsgroup(s).