adding devicetree support for an interrupt controller

Rhyland Klein rklein at nvidia.com
Wed Apr 18 05:56:38 EST 2012


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.
-----------------------------------------------------------------------------------


More information about the devicetree-discuss mailing list