* adding devicetree support for an interrupt controller
@ 2012-04-13 1:38 Rhyland Klein
2012-04-17 19:56 ` Rhyland Klein
0 siblings, 1 reply; 2+ messages in thread
From: Rhyland Klein @ 2012-04-13 1:38 UTC (permalink / raw)
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
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.
-----------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: adding devicetree support for an interrupt controller
2012-04-13 1:38 adding devicetree support for an interrupt controller Rhyland Klein
@ 2012-04-17 19:56 ` Rhyland Klein
0 siblings, 0 replies; 2+ messages in thread
From: Rhyland Klein @ 2012-04-17 19:56 UTC (permalink / raw)
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
On Thu, 2012-04-12 at 18:38 -0700, Rhyland Klein wrote:
> 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
Resending as I didn't see a response. Is there an established way to
initialize and irq controller that is an i2c device using dt yet?
-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.
-----------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-17 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-13 1:38 adding devicetree support for an interrupt controller Rhyland Klein
2012-04-17 19:56 ` Rhyland Klein
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).