[PATCH] versatile: don't generate a duplicate IRQ domain

Jamie Iles jamie at jamieiles.com
Thu Jan 12 18:30:50 EST 2012


On Thu, Jan 12, 2012 at 11:28:27PM +0000, Russell King - ARM Linux wrote:
> On Thu, Jan 12, 2012 at 11:26:11PM +0000, Jamie Iles wrote:
> > No, because:
> > 
> > 	vic_init()
> > 	  __vic_init() -> with NULL np pointer
> > 	    vic_register()
> > 	
> > So we won't have the device_node for the VIC.  I think I really need to 
> > convert the versatile stuff over to the full of_irq_init() method of 
> > probing, which isn't as bad as I thought as everything is populated from 
> > the DT there but it looked like it could be registered statically too 
> > from versatile_init().  I'll try and get everything going from the DT 
> > now.
> 
> Won't this make Versatile a DT-only platform?

No, crap explanation by me there.  I'll add a versatile_dt_irq_init() 
that creates the controllers from the DT, for the non DT case everything 
will be as before using the static assignments and static irq_descs.  
I'll make sure to test using both booting methods.

Jamie



More information about the linux-arm-kernel mailing list