]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP2+: AM33XX: hwmod: Update TPTC0 hwmod with the right flags
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 29 Jan 2013 11:15:03 +0000 (16:45 +0530)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Feb 2013 14:24:52 +0000 (07:24 -0700)
Third Party Transfer Controller (TPTC0) needs to be idled and
put to standby under SW control. Add the appropriate flags in
the TPTC0 hwmod entry.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_33xx_data.c

index 8280f1162e6837e8d34adb324fa6a64edd708764..94254e84527fbe43f3714da821a81ca1381c70a9 100644 (file)
@@ -1823,6 +1823,7 @@ static struct omap_hwmod am33xx_tptc0_hwmod = {
        .class          = &am33xx_tptc_hwmod_class,
        .clkdm_name     = "l3_clkdm",
        .mpu_irqs       = am33xx_tptc0_irqs,
+       .flags          = HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
        .main_clk       = "l3_gclk",
        .prcm           = {
                .omap4  = {