From patchwork Fri Apr 4 13:43:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 27829 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9AEDD20369 for ; Fri, 4 Apr 2014 13:43:21 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id up15sf12508423pbc.2 for ; Fri, 04 Apr 2014 06:43:20 -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=MJHpm+JlcV+S88v3+BZl+8dc1+OXf43AJ91By8d5/hY=; b=cUWV534caHEJGQ1wmHrPwp/5XdlWMAqh3gKTwyWiHczV87qRgfUejWO8gQAnCrU3D6 HdkuHTqiFdiYrfwhFcXPUDNsXE76QZkQMmf7lRbC3lS4qi4ZkAzwTxFRMEnbTcUOZXuK 0PJ4UhZpivyRGKRvdDqEMNSKqmEKhEkVFtejFH6Oix/GJvd8mIYMm+Ja+8JBZ5BA8Yqp oJakpCMluNKrssZXGoKl5sYi9ltHXeB8qeMbQa/goARU0Bc4YLWKSrxA/Jpfsm6ULyXh dSHqPeMOWRzYZNXDohWiEk3uh9otZe0ExIx16nJ0jB3NXTaHP5WnwWad4/lNgyQ9jpiZ F6Cg== X-Gm-Message-State: ALoCoQmz7GJz0S2apynAnqGMQUuo+uNce4AxyniAcitfL/PABU684RcQ4JKLFg26GJZaABevqZLh X-Received: by 10.67.30.197 with SMTP id kg5mr4942978pad.36.1396619000798; Fri, 04 Apr 2014 06:43:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.110 with SMTP id o101ls454381qgo.18.gmail; Fri, 04 Apr 2014 06:43:20 -0700 (PDT) X-Received: by 10.52.164.237 with SMTP id yt13mr11276495vdb.18.1396619000670; Fri, 04 Apr 2014 06:43:20 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id q1si766970ves.171.2014.04.04.06.43.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 06:43:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 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.172; Received: by mail-vc0-f172.google.com with SMTP id la4so3169834vcb.31 for ; Fri, 04 Apr 2014 06:43:20 -0700 (PDT) X-Received: by 10.58.187.9 with SMTP id fo9mr5089140vec.4.1396619000602; Fri, 04 Apr 2014 06:43:20 -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 v8csp115347vcv; Fri, 4 Apr 2014 06:43:19 -0700 (PDT) X-Received: by 10.66.192.41 with SMTP id hd9mr14913754pac.87.1396618998751; Fri, 04 Apr 2014 06:43:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tk5si4616090pbc.252.2014.04.04.06.43.17; Fri, 04 Apr 2014 06:43:17 -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 S1752845AbaDDNnQ (ORCPT + 9 others); Fri, 4 Apr 2014 09:43:16 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:53901 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774AbaDDNnN (ORCPT ); Fri, 4 Apr 2014 09:43:13 -0400 Received: by mail-wi0-f182.google.com with SMTP id d1so1281926wiv.9 for ; Fri, 04 Apr 2014 06:43:12 -0700 (PDT) X-Received: by 10.194.57.239 with SMTP id l15mr20149176wjq.40.1396618992806; Fri, 04 Apr 2014 06:43:12 -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 cu6sm2845053wjb.8.2014.04.04.06.43.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 06:43:12 -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, rjw@rjwysocki.net Subject: [PATCH V2 12/17] ARM: exynos: cpuidle: Move S5P_CHECK_AFTR in a header Date: Fri, 4 Apr 2014 15:43:04 +0200 Message-Id: <1396618989-2897-13-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396618989-2897-1-git-send-email-daniel.lezcano@linaro.org> References: <1396618989-2897-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.172 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)