From: Mark Brown <broonie@kernel.org>
To: Daniel Santos <daniel.santos@pobox.com>
Cc: linux-gpio <linux-gpio@vger.kernel.org>,
linux-usb <linux-usb@vger.kernel.org>,
linux-spi <linux-spi@vger.kernel.org>,
Samuel Ortiz <sameo@linux.intel.com>,
LKML <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: "Virtual" Interrupts -- Need help please
Date: Mon, 9 Sep 2013 12:06:40 +0100 [thread overview]
Message-ID: <20130909110640.GV29403@sirena.org.uk> (raw)
In-Reply-To: <522BC27A.5080303@att.net>
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
On Sat, Sep 07, 2013 at 07:19:06PM -0500, Daniel Santos wrote:
> So do i create an IRQ domain and then call generic_handle_irq() from
> my URB complete() function? If so, which type of IRQ Domain is
> appropriate for this? Unlike typical platform devices, these are
> dynamically added and removed throughout the life of the kernel,
> adding to the challenge. So, if I understand correctly, my base IRQ
> number needs to be dynamically generated. How should I manage this?
Unless you have a particular reason for using something else you should
be using a linear domain - that's the default, it's very simple to work
with.
> I have some secondary (and less important) questions about how to
> integrate this with device drivers that want a DT / open firmware
> config (which I know almost nothing about at this time), but that
> can wait.
Could you be more specific about what you mean by "integrate" here?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-09-09 11:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-08 0:19 Daniel Santos
2013-09-08 0:52 ` Guenter Roeck
2013-09-08 23:50 ` Daniel Santos
2013-09-09 0:35 ` Guenter Roeck
2013-09-09 11:02 ` Mark Brown
2013-09-09 11:18 ` Alexander Holler
2013-09-09 11:45 ` Guenter Roeck
2013-09-09 12:00 ` Alexander Holler
2013-09-09 13:45 ` Mark Brown
2013-09-09 14:21 ` Alexander Holler
2013-09-09 11:06 ` Mark Brown [this message]
2013-09-09 21:12 ` Daniel Santos
2013-09-10 18:01 ` Mark Brown
2013-09-11 17:59 ` Daniel Santos
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=20130909110640.GV29403@sirena.org.uk \
--to=broonie@kernel.org \
--cc=daniel.santos@pobox.com \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=tglx@linutronix.de \
/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
Powered by JetHome