devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: FarMcKon@buglabs.net
Cc: devicetree-discuss@lists.ozlabs.org,
	Randy Dunlap <rdunlap@xenotime.net>,
	linaro-dev@lists.linaro.org, linux-kernel@vger.kernel.org,
	linux-doc@vger.kernel.org
Subject: Re: [RFC] (early draft) dt: Linux dt usage model documentation
Date: Tue, 14 Jun 2011 11:47:40 -0600	[thread overview]
Message-ID: <BANLkTinp19mk0Hjwuw0ewGOnbL9VQjfisw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim_Vzx2ojk33YX+Y6dC-FXsGhm9zw@mail.gmail.com>

On Tue, Jun 14, 2011 at 8:05 AM, Far McKon <far.mckon@buglabs.net> wrote:
> Grant,
> I don't see any system for indicating an expandable bus or a pulg in
> module so far? Am I missing something, or does this protocol/layout
> not allow for plug in or expansion modules?

The DT as we're using it now primarily captures the static structure
of the system.  Typically this means anything directly on-board, or
unlikely to ever be hot-plugged (like a CPU module on a carrier
board).  The DT is expressive enough to capture the details of plugged
in modules, but in general if the device can be detected and
identified reliably by the hardware (like USB and PCI devices), then
there is no real need to describe it in the DT.

With 'real' OpenFirmware, the firmware did indeed enumerate hot
plugged devices in the DT, but we don't do that at all for the
firmware using the flattened tree.

That said, you may have a need to describe the internal details of a
plug in module, and you could do that with DT.  XIlinx has done some
work that allows a partial DT to be passed in at runtime to describe
the behaviour of an FPGA module after it has been programmed with a
bitstream.

g.

  parent reply	other threads:[~2011-06-14 17:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 13:32 [RFC] (early draft) dt: Linux dt usage model documentation Grant Likely
2011-06-13 16:50 ` Randy Dunlap
2011-06-13 17:12 ` Stephen Warren
2011-06-13 23:29 ` Stephen Neuendorffer
2011-06-13 23:32   ` Grant Likely
2011-06-14  3:10 ` David Gibson
     [not found]   ` <BANLkTim_Vzx2ojk33YX+Y6dC-FXsGhm9zw@mail.gmail.com>
2011-06-14 17:47     ` Grant Likely [this message]
2011-06-15  7:13 ` Shawn Guo
2011-06-16 16:26 ` Shawn Guo

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=BANLkTinp19mk0Hjwuw0ewGOnbL9VQjfisw@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=FarMcKon@buglabs.net \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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).