linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <glikely@gmail.com>
To: Yasushi SHOJI <yashi@atmark-techno.com>
Cc: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: ppc_sys.c with platform device model or create opb bus?
Date: Sat, 23 Jul 2005 13:03:45 -0400	[thread overview]
Message-ID: <528646bc05072310039fb536d@mail.gmail.com> (raw)
In-Reply-To: <87hdeuosmq.wl@mail2.atmark-techno.com>

On 7/17/05, Yasushi SHOJI <yashi@atmark-techno.com> wrote:
> I feel that the ppc_sys_spec is for SoC, which doesn't dynamically
> change the peripherals it has.  otoh, fpga based platform can have
> arbitrary number of devices if you configured so.
>=20
> I usually implement a device with PLB or OPB.  for those bus, should I
> use platform device model or create new buses for each?
ppc_sys is just a convenient wrapper around the platform device model.
 You can safely ignore ppc_sys if your board setup code calls
platform_device_register() for all of your devices directly.

Besides, as ppc moves to the flattened device tree for initializing
the platform bus, the whole ppc_sys stuff will be going away and the
device tree parsing code will call platform_device_* directly.

Cheers,
g.

  parent reply	other threads:[~2005-07-23 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-17  6:26 ppc_sys.c with platform device model or create opb bus? Yasushi SHOJI
2005-07-23 14:48 ` Matt Porter
2005-07-23 17:03 ` Grant Likely [this message]
2005-07-23 18:34   ` Need SEC 1.0 Descriptor programmer's guide Vikas Aggarwal

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=528646bc05072310039fb536d@mail.gmail.com \
    --to=glikely@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=yashi@atmark-techno.com \
    /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).