@@ -264,14 +264,16 @@ static int __devexit omap_prm_complete(struct platform_device *pdev)
static int __init omap_prm_probe(struct platform_device *pdev)
{
- /* XXX: prm_dev.irq_setup should be populated here */
+ prm_dev.irq_setup.ack = 0xb2000000 + 0x48306818;
+ prm_dev.irq_setup.mask = 0xb2000000 + 0x4830681c;
+ prm_dev.irq_setup.irq = INT_34XX_PRCM_MPU_IRQ;
+ prm_dev.irq_setup.nr_regs = 1;
+ prm_dev.irq_setup.nr_irqs = 32;
- /* XXX: following calls should be enabled once irq_setup is done */
-#if 0
omap_prcm_irq_init();
prm_dev.irq_setup.io_irq = omap_prcm_event_to_irq("io");
-#endif
+
return 0;
}
This is a temporary hack until PRM hwmod data is available. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- drivers/power/omap_prm.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)