From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: "Jakub Kiciński" <moorray3-5tc4TXWwyLM@public.gmane.org>
Cc: "Noralf Trønnes" <noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>,
"Martin Sperl" <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>,
"linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
"Stephen Warren"
<swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Subject: Re: spi: bcm2835: driver for "auxiliar" spi1/spi2
Date: Tue, 7 Jul 2015 14:51:13 +0100 [thread overview]
Message-ID: <20150707135113.GP2887@sirena.org.uk> (raw)
In-Reply-To: <20150625194219.4846221d@north>
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
On Thu, Jun 25, 2015 at 07:42:19PM +0200, Jakub Kiciński wrote:
> On Thu, 18 Jun 2015 11:58:48 +0100, Mark Brown wrote:
> > Linux supports shared interrupts perfectly fine, though it sounds like
> > this is actually a cascaded interrupt (the demux is another interrupt
> > controller) which we also support just fine.
> Mark, could you give us a hint how to best go about this shared IRQ?
> I failed to find any generic interrupt controller. I imagine there
drivers/irqchip...
> should be some fake irqchip we can instantiate from DT giving it a
> irq line and a memory address and it should provide us with 32(bit)
> demuxed irqs based on status of bits in specified memory location.
> Does this sound reasonable? Does such fake irqchip driver exist?
IIRC there's some basic MMIO interrupt controller but I don't know off
the top of my head where, if not it shouldn't be too hard to implement.
It does sound sensible.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-07-07 13:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 9:45 spi: bcm2835: driver for "auxiliar" spi1/spi2 Martin Sperl
[not found] ` <5582933E.1050500-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-06-18 10:19 ` Noralf Trønnes
[not found] ` <55829B18.4030609-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2015-06-18 10:58 ` Mark Brown
[not found] ` <20150618105848.GE14071-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-06-18 11:37 ` Martin Sperl
2015-06-25 17:42 ` Jakub Kiciński
2015-07-07 13:51 ` Mark Brown [this message]
2015-06-18 10:38 ` Mark Brown
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=20150707135113.GP2887@sirena.org.uk \
--to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org \
--cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=moorray3-5tc4TXWwyLM@public.gmane.org \
--cc=noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.