From: Richard Whitlock <richard.whitlo@btconnect.com>
To: linuxppc-dev@ozlabs.org
Subject: DTS configuration of external interrupts on 8347
Date: Wed, 23 Jul 2008 15:58:38 +0100 [thread overview]
Message-ID: <4887471E.6070306@btconnect.com> (raw)
I have a small problem with a port of linux 2.6.26 to a custom board.
Our board is almost identical to the Analogue & Micro asp 8347 board, so
I'm using Kumar Gala's excellent fsl tree (thank you Kumar) as it
already has a defconfig for the asp.
Thanks also to Bryan O'Donoghue for pointing us in the direction of the
asp port in the first place.
The problem we have is I am unable to request an external interrupt. We
have an FPGA which has an interrupt line - HW IRQ_0, so thats linux IRQ 48.
I have added the following to the dts file:
fpgaKFAF@0xF8000000 {
interrupts = <48 8>;
interrupt-parent = <&ipic>;
}
but whenever I call request_irq() it returns -ENOSYS.
The driver loads fine, and the open function does very little - a call
to ioremap() - which works, and a call to request_irq() which does not.
Is there anything else I have to do to configure this interrupt?
Regards,
Richard.
next reply other threads:[~2008-07-23 14:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-23 14:58 Richard Whitlock [this message]
2008-07-23 17:13 ` DTS configuration of external interrupts on 8347 Sean MacLennan
2008-07-24 15:06 ` Richard Whitlock
2008-07-25 10:15 ` Wang Jian
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=4887471E.6070306@btconnect.com \
--to=richard.whitlo@btconnect.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=richw@netcomuk.co.uk \
/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).