linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Scott Wood <scottwood@freescale.com>
Cc: Linuxppc-dev@ozlabs.org, Gary Thomas <gary@mlbassoc.com>
Subject: Re: More DTS questions
Date: Thu, 04 Sep 2008 13:18:55 +1000	[thread overview]
Message-ID: <1220498335.4879.42.camel@pasglop> (raw)
In-Reply-To: <20080903171225.GB10979@loki.buserror.net>


> > The things that truly aren't clear are the various lists.
> > For example, how does "interrupt-map" and "interrupts" describe
> > how the interrupts are handled? 
> 
> It is described in this document:
> http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

And in Documentation/powerpc/booting-without-of.txt

> > I don't see any reference in the code to these names (how does a driver
> > get access to such properties?)
> 
> Look in arch/powerpc/kernel/prom_parse.c.
> 
> You'll want to change &mpc5200_pic in your interrupt-map to point to your
> FPGA interrupt controller, and change the interrupt specifiers accordingly.

Yeah, basically. You create a node for your cascaded interrupt
controller, point some interrupts at it, etc...

Ben.

      reply	other threads:[~2008-09-04  3:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 13:36 More DTS questions Gary Thomas
2008-09-03 17:12 ` Scott Wood
2008-09-04  3:18   ` Benjamin Herrenschmidt [this message]

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=1220498335.4879.42.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=Linuxppc-dev@ozlabs.org \
    --cc=gary@mlbassoc.com \
    --cc=scottwood@freescale.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).