ARM: AM43x: hwmod data: register spinlock OCP interface
authorSuman Anna <s-anna@ti.com>
Fri, 28 Feb 2014 19:43:46 +0000 (12:43 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 28 Feb 2014 19:43:46 +0000 (12:43 -0700)
AM43xx has a spinlock module which is identical to the
one present on AM33xx. Register the spinlock ocp_if link
so that the spinlock hwmod and associated omap_device can
be instantiated, and the runtime pm API could be used by
the OMAP hwspinlock driver.

Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_43xx_data.c

index 9002fca766991eb1f6eb850c60bf0fa818e4d26e..5c2cc8083fdd9ba22087f1add79f061a4d5d28b2 100644 (file)
@@ -719,6 +719,7 @@ static struct omap_hwmod_ocp_if *am43xx_hwmod_ocp_ifs[] __initdata = {
        &am33xx_l4_ls__uart4,
        &am33xx_l4_ls__uart5,
        &am33xx_l4_ls__uart6,
+       &am33xx_l4_ls__spinlock,
        &am33xx_l4_ls__elm,
        &am33xx_l4_ls__epwmss0,
        &am33xx_epwmss0__ecap0,