From patchwork Tue Dec 22 09:37:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Y, Kishore" X-Patchwork-Id: 69252 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBM9bUbm019482 for ; Tue, 22 Dec 2009 09:37:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751313AbZLVJh3 (ORCPT ); Tue, 22 Dec 2009 04:37:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751291AbZLVJh3 (ORCPT ); Tue, 22 Dec 2009 04:37:29 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:53313 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbZLVJh2 convert rfc822-to-8bit (ORCPT ); Tue, 22 Dec 2009 04:37:28 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nBM9bL2d004153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Dec 2009 03:37:24 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nBM9bLXS016267; Tue, 22 Dec 2009 15:07:21 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Tue, 22 Dec 2009 15:07:21 +0530 From: "Y, Kishore" To: "Tomi Valkeinen (tomi.valkeinen@nokia.com)" , Kevin Hilman CC: "linux-omap@vger.kernel.org" Date: Tue, 22 Dec 2009 15:07:50 +0530 Subject: [PATCH 1/3] DSS PM_WKEN to refill DMA Thread-Topic: [PATCH 1/3] DSS PM_WKEN to refill DMA Thread-Index: AcqC6m2JnDX3kORNRFmi1zHhtQnfBQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 81ed252..2d11b80 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -726,6 +726,11 @@ static void __init prcm_setup_regs(void) prm_write_mod_reg(0, OMAP3430_IVA2_MOD, PM_WKDEP); prm_write_mod_reg(0, MPU_MOD, PM_WKDEP); prm_write_mod_reg(0, OMAP3430_DSS_MOD, PM_WKDEP); + + /* Enable PM_WKEN to support DSS LPR */ + prm_write_mod_reg(OMAP3430_PM_WKEN_DSS_EN_DSS, + OMAP3430_DSS_MOD, PM_WKEN); + prm_write_mod_reg(0, OMAP3430_NEON_MOD, PM_WKDEP); prm_write_mod_reg(0, OMAP3430_CAM_MOD, PM_WKDEP); prm_write_mod_reg(0, OMAP3430_PER_MOD, PM_WKDEP);