linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Yasushi SHOJI <yashi@atmark-techno.com>
To: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: ppc_sys.c with platform device model or create opb bus?
Date: Sun, 17 Jul 2005 15:26:21 +0900	[thread overview]
Message-ID: <87hdeuosmq.wl@mail2.atmark-techno.com> (raw)

Hi all,

I've been reading some posts regarding to the transition of OCP to
platform device mode while searching for a good way to implement a
device driver for our fpga base platform. And now I have one question
regarding to ppc_sys.c

  should I use ppc_sys_*() for platform like fpga?

since I'm working on FPGA base platform, ppc_sys_spec seems to be too
static. that is, IMHO, having static array of device list isn't ideal
for a dynamic system like fpga.

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.

I usually implement a device with PLB or OPB.  for those bus, should I
use platform device model or create new buses for each?

regards,
--
        yashi

             reply	other threads:[~2005-07-17  6:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-17  6:26 Yasushi SHOJI [this message]
2005-07-23 14:48 ` ppc_sys.c with platform device model or create opb bus? Matt Porter
2005-07-23 17:03 ` Grant Likely
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=87hdeuosmq.wl@mail2.atmark-techno.com \
    --to=yashi@atmark-techno.com \
    --cc=linuxppc-embedded@ozlabs.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).