From patchwork Thu Apr 10 23:47:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 28245 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4228621308 for ; Thu, 10 Apr 2014 23:47:46 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id j5sf8812749qga.6 for ; Thu, 10 Apr 2014 16:47:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=2aCP7FZgQWAf/fS2dseT4D+6SMDKAbJY63uf8vbiBMs=; b=l58urKqvbd2RSFai+sttjntXchntrwB27DaVOnRtjSJp7BHPCgZw8k2L1Dk8VqUbJ2 EzrmP7ttTyGLsBx1ET5pponLybO347m49axY9W3mO8QBKdkjZ1QmJeQtMFrVFtKEOyuc fl05BqlcVP1kCZz/3zHW9sqiyUVD6iOFCVptpSSkPLh89YJkBKyQHUg9ix9ZeJpMRuvU lbk9CBMG5jY78+MSw8jW4EhCd6/uHa8J6k+T7m3GqF3u+mK1h6jk1HCAkgpmQwmOTbm9 6I4PLKYJnr0BL8JVpcvX2i7B7XhUoG8jd9j8vkXfhCAFi7maufVFZV/JPQ9liZVgLOUp rdEg== X-Gm-Message-State: ALoCoQlz6n7LuLPwAmCS27VKFfXA0YRZL8bdK64x5Ek2hAXuKchjIkSKO+GI2chSddMwyB+wXrm8 X-Received: by 10.236.127.35 with SMTP id c23mr7813669yhi.51.1397173665977; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.11 with SMTP id w11ls1354727qgd.43.gmail; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) X-Received: by 10.52.240.207 with SMTP id wc15mr14297438vdc.14.1397173665741; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id tv3si968549vdc.198.2014.04.10.16.47.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 16:47:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so4255889veb.1 for ; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) X-Received: by 10.220.92.135 with SMTP id r7mr16800500vcm.11.1397173665642; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp1675vcb; Thu, 10 Apr 2014 16:47:45 -0700 (PDT) X-Received: by 10.68.245.162 with SMTP id xp2mr23152122pbc.69.1397173664730; Thu, 10 Apr 2014 16:47:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si3023294paa.444.2014.04.10.16.47.44; Thu, 10 Apr 2014 16:47:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759261AbaDJXri (ORCPT + 5 others); Thu, 10 Apr 2014 19:47:38 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:48844 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754065AbaDJXrX (ORCPT ); Thu, 10 Apr 2014 19:47:23 -0400 Received: from 99-127-230-128.lightspeed.sntcca.sbcglobal.net ([99.127.230.128] helo=muffinssi.muru.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WYOgk-0005fY-Oo; Thu, 10 Apr 2014 23:47:22 +0000 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 99.127.230.128 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/zajKAGASYafIiU2awOBIs From: Tony Lindgren To: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Cc: Tero Kristo , Nishanth Menon , Kevin Hilman , Paul Walmsley Subject: [PATCH 01/11] ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register Date: Thu, 10 Apr 2014 16:47:09 -0700 Message-Id: <1397173639-29587-2-git-send-email-tony@atomide.com> X-Mailer: git-send-email 1.8.1.1 In-Reply-To: <1397173639-29587-1-git-send-email-tony@atomide.com> References: <1397173639-29587-1-git-send-email-tony@atomide.com> Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tony@atomide.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Tero Kristo There is a solitary write to this register every wakeup from off-mode, which isn't doing anything, so remove it. Also note that modifying this register trashes any attempted voltage scaling configuration and the change probably should never have gotten merged in the first place. Cc: Nishanth Menon Cc: Kevin Hilman Cc: Paul Walmsley Signed-off-by: Tero Kristo [tony@atomide.com: updated comments to describe regression] Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pm34xx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 1f3770a..87099bb 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -330,10 +330,6 @@ void omap_sram_idle(void) omap3_sram_restore_context(); omap2_sms_restore_context(); } - if (core_next_state == PWRDM_POWER_OFF) - omap2_prm_clear_mod_reg_bits(OMAP3430_AUTO_OFF_MASK, - OMAP3430_GR_MOD, - OMAP3_PRM_VOLTCTRL_OFFSET); } omap3_intc_resume_idle();