]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: OMAP2+: AMX3XX: Add HWMOD_NEEDS_REIDLE to gpmc
authorDave Gerlach <d-gerlach@ti.com>
Tue, 2 Jun 2015 15:57:11 +0000 (10:57 -0500)
committerDave Gerlach <d-gerlach@ti.com>
Tue, 2 Jun 2015 19:47:41 +0000 (14:47 -0500)
gpmc hwmod on am43xx needs a softreset before idling, so add the
HWMOD_NEEDS_REIDLE flag so that in the case of no driver being present,
the module will get properly reidled and shut off after a suspend cycle
or when attempting to disable it after an RTC+DDR cycle.

Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c

index 1ca926893e3478a8d82cbd29d40c37d834b84485..97594e6abda5f5b677ffd0b78cc851e7e312f740 100644 (file)
@@ -772,6 +772,7 @@ struct omap_hwmod am33xx_gpmc_hwmod = {
        .name           = "gpmc",
        .class          = &am33xx_gpmc_hwmod_class,
        .clkdm_name     = "l3s_clkdm",
+       .flags          = HWMOD_NEEDS_REIDLE,
        .main_clk       = "l3s_gclk",
        .prcm           = {
                .omap4  = {