From: Paul Walmsley Subject: Re: [PATCH 2/2] ARM: DRA7: hwmod: Fix GPMC from preventing core suspend Date: Tue, 2 Jun 2015 21:36:48 +0000 (UTC) Message-ID: References: <1433239373-14653-1-git-send-email-rogerq@ti.com> <1433239373-14653-3-git-send-email-rogerq@ti.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from utopia.booyaka.com ([74.50.51.50]:44012 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704AbbFBVgt (ORCPT ); Tue, 2 Jun 2015 17:36:49 -0400 In-Reply-To: <1433239373-14653-3-git-send-email-rogerq@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Roger Quadros , tony@atomide.com Cc: nm@ti.com, j-keerthy@ti.com, t-kristo@ti.com, linux-omap@vger.kernel.org On Tue, 2 Jun 2015, Roger Quadros wrote: > GPMC hwmod is flagged as HWMOD_INIT_NO_IDLE so it is kept > enabled at boot. If the GPMC driver is not loaded then > GPMC will not be idled thus preventing CORE from going idle > during suspend. > > Disable HWMOD_INIT_NO_IDLE and HWMOD_INIT_NO_RESET. > > The only reason HWMOD_INIT_NO_RESET was there was to retain > GPMC timings/settings configured by bootloader. We no longer > need that as we're configuring the timins in the kernel. > > There is no reasoning as to why HWMOD_INIT_NO_IDLE was there. > Seems to have beein blindly copied from omap3/4 hwmod code. > > Signed-off-by: Roger Quadros Hi Roger, could you take a look at Tony's patch "memory: omap-gpmc: Add Kconfig option for debug" and see if this needs to be changed in light of that patch? regards, - Paul