From: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: adding devicetree support for an interrupt controller
Date: Thu, 12 Apr 2012 18:38:38 -0700 [thread overview]
Message-ID: <1334281118.24034.1592.camel@rklein-linux> (raw)
So I am working on adding DT support for the tps65910 pmic. It (amongst
other things) is an interrupt controller. I am looking to convert that
code as well, and I am curious if there is a good example to work off.
The driver's irq_base is not set, so it needs to use a dynamic domain.
The examples I saw seemed to be all platform devices and then used
something like irq_setup_generic_chip_domain, but since the tps65910 is
an i2c device, its device doesn't have resources associated with it, and
can't therefore pass them to this function.
Is there already a defined path for i2c interrupt controllers like this?
thanks,
Rhyland
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
next reply other threads:[~2012-04-13 1:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 1:38 Rhyland Klein [this message]
2012-04-17 19:56 ` adding devicetree support for an interrupt controller Rhyland Klein
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=1334281118.24034.1592.camel@rklein-linux \
--to=rklein-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@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 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).