From patchwork Tue Apr 8 12:19:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 27948 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C235D20553 for ; Tue, 8 Apr 2014 12:19:49 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id fp1sf2422139pdb.8 for ; Tue, 08 Apr 2014 05:19:49 -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=qr5ZfuqWCLFigYPkRqgvK1oHkcnnxrAwuXNhX+/arC8=; b=fMQSWEElxfrP16tc7AA/yK1uGXMjH9lNf1DCUedgjgEiAoYfgxrskKKS005eKu0zCH VYh+Jpo3Suk2Q2gR11JTEty7duJv0lMuO5WEcRbhr7YvGXt4AUSHovkeuj7FC1tj4RyW W5zgtQVFJMBgmy0SwODH3ZfABLgJaq8VwW5GoZcqbxij2ELLXhZwEmsYQZNDvyrh3zV1 /YG3b0Hv1s3r8TO+DK3tXoegB/iy/fvvqdqjqGbZ7TZZ/cI0cxSK7m2fNdEW4RwtzdBv 8pZEKSI+46SsrwiTuMQYLdJQQNNTwS+QwU+xCjeXiGXKEtF5sy8xDGrK73Juo0fUbPoW +btQ== X-Gm-Message-State: ALoCoQnKJT4ebmPji7ptmndCejGr/+bwARy4vdnk9JjBgulqF2GJsrk8cJ1o/SCkmG2EXbjyQPg3 X-Received: by 10.68.133.75 with SMTP id pa11mr1673585pbb.2.1396959589058; Tue, 08 Apr 2014 05:19:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.76 with SMTP id b70ls174646qgd.97.gmail; Tue, 08 Apr 2014 05:19:48 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr1518771vcb.23.1396959588841; Tue, 08 Apr 2014 05:19:48 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id x6si362928vcl.12.2014.04.08.05.19.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 05:19:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id lg15so690785vcb.30 for ; Tue, 08 Apr 2014 05:19:48 -0700 (PDT) X-Received: by 10.52.69.146 with SMTP id e18mr2477277vdu.15.1396959588779; Tue, 08 Apr 2014 05:19:48 -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.12.8 with SMTP id v8csp240638vcv; Tue, 8 Apr 2014 05:19:48 -0700 (PDT) X-Received: by 10.68.231.35 with SMTP id td3mr4083820pbc.137.1396959587855; Tue, 08 Apr 2014 05:19:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tx1si993786pbc.150.2014.04.08.05.19.47; Tue, 08 Apr 2014 05:19:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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 S1756673AbaDHMTq (ORCPT + 9 others); Tue, 8 Apr 2014 08:19:46 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:63483 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756627AbaDHMTq (ORCPT ); Tue, 8 Apr 2014 08:19:46 -0400 Received: by mail-wi0-f171.google.com with SMTP id q5so6896768wiv.10 for ; Tue, 08 Apr 2014 05:19:45 -0700 (PDT) X-Received: by 10.180.108.199 with SMTP id hm7mr31395776wib.1.1396959585177; Tue, 08 Apr 2014 05:19:45 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-451-172.w83-205.abo.wanadoo.fr. [83.205.74.172]) by mx.google.com with ESMTPSA id u1sm3000063wjx.16.2014.04.08.05.19.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 05:19:44 -0700 (PDT) From: Daniel Lezcano To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linaro-kernel@lists.linaro.org, b.zolnierkie@samsung.com, sachin.kamat@linaro.org, viresh.kumar@linaro.org, rjw@rjwysocki.net Subject: [PATCH V3 12/17] ARM: exynos: cpuidle: Move S5P_CHECK_AFTR in a header Date: Tue, 8 Apr 2014 14:19:34 +0200 Message-Id: <1396959579-18268-13-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396959579-18268-1-git-send-email-daniel.lezcano@linaro.org> References: <1396959579-18268-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 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: , Move the S5P_CHECK_AFTR definition to the header it belongs to. Signed-off-by: Daniel Lezcano Reviewed-by: Viresh Kumar Reviewed-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/cpuidle.c | 2 -- arch/arm/mach-exynos/regs-pmu.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 81d7197..cd27dbf 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -37,8 +37,6 @@ S5P_INFORM6 : (samsung_rev() == EXYNOS4210_REV_1_0 ? \ (S5P_VA_SYSRAM + 0x20) : S5P_INFORM1)) -#define S5P_CHECK_AFTR 0xFCBA0D10 - #define EXYNOS5_PWR_CTRL1 (S5P_VA_CMU + 0x01020) #define EXYNOS5_PWR_CTRL2 (S5P_VA_CMU + 0x01024) diff --git a/arch/arm/mach-exynos/regs-pmu.h b/arch/arm/mach-exynos/regs-pmu.h index 4f6a256..09c43c3 100644 --- a/arch/arm/mach-exynos/regs-pmu.h +++ b/arch/arm/mach-exynos/regs-pmu.h @@ -120,6 +120,7 @@ #define S5P_INT_LOCAL_PWR_EN 0x7 #define S5P_CHECK_SLEEP 0x00000BAD +#define S5P_CHECK_AFTR 0xFCBA0D10 /* Only for EXYNOS4210 */ #define S5P_CMU_CLKSTOP_LCD1_LOWPWR S5P_PMUREG(0x1154)