From patchwork Mon Jul 15 23:25:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 18370 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB74F25E13 for ; Mon, 15 Jul 2013 23:25:34 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id p12sf34917vbe.7 for ; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=+fbPSEfJc5VOdL0upNavXmXlMGh9y1B+/sHsWzg8wNk=; b=BUh+fSxzIEc3OkCa8/DoByeIYWcZFNwYoVH/ShqQra3ccnBVa2GcA19RsgBdcJoM7Z sui7bqsCnl22MUk7BKqrAQm788lZa1TkA4giZyL6nsEikQFyE5BjhRZMnFhcATKZio18 IkR85pzegCZUwM7DFHthErii/eGWTh8XlUVCaIKiX0RhU70F8zaOfJ0xZGZNa1FOqcL5 BgLU6wMYOV9sejOtgEVrCG25/BqDhtbOFVmaD7cZyLWRyFQV0SpalIdZ7UDTE+AEbuT3 YEEzWQiBomBqAw63VJqN0UziA6esh07ux6tnYEfn3Z5OENm85v/jNIWJ6zoND5W/7myL Q6nQ== X-Received: by 10.236.156.234 with SMTP id m70mr8247241yhk.37.1373930734354; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.63.1 with SMTP id c1ls29109qes.32.gmail; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) X-Received: by 10.52.228.33 with SMTP id sf1mr17157779vdc.86.1373930734097; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id sz6si15250833vdc.75.2013.07.15.16.25.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 16:25:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.51; Received: by mail-vb0-f51.google.com with SMTP id x17so16823vbf.38 for ; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) X-Received: by 10.52.69.177 with SMTP id f17mr25053840vdu.48.1373930734009; Mon, 15 Jul 2013 16:25:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.149.77 with SMTP id s13csp92369vcv; Mon, 15 Jul 2013 16:25:33 -0700 (PDT) X-Received: by 10.194.104.199 with SMTP id gg7mr34046651wjb.56.1373930733021; Mon, 15 Jul 2013 16:25:33 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id nb9si5868904wic.85.2013.07.15.16.25.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 16:25:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.172; Received: by mail-wi0-f172.google.com with SMTP id c10so3479246wiw.11 for ; Mon, 15 Jul 2013 16:25:32 -0700 (PDT) X-Received: by 10.194.109.104 with SMTP id hr8mr33178827wjb.32.1373930732579; Mon, 15 Jul 2013 16:25:32 -0700 (PDT) Received: from mai.home (AToulouse-654-1-413-126.w82-125.abo.wanadoo.fr. [82.125.160.126]) by mx.google.com with ESMTPSA id fs8sm24135384wib.0.2013.07.15.16.25.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 16:25:31 -0700 (PDT) From: Daniel Lezcano To: linux-pm@vger.kernel.org Cc: linus.walleij@linaro.org, patches@linaro.org Subject: [PATCH 3/3] ARM: ux500: cpuidle: Move ux500 cpuidle driver to drivers/cpuidle Date: Tue, 16 Jul 2013 01:25:26 +0200 Message-Id: <1373930726-15475-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1373930726-15475-1-git-send-email-daniel.lezcano@linaro.org> References: <1373930726-15475-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQlqnkXnA7iQ/0Cs3jBAhRarptqO5ZSfTltpu9mIn/P1pWtKr/+HwLa+BY2lyXCM/YGo2Q50 X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.51 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There is no more dependency with arch/arm headers, so we can safely move the driver to the drivers/cpuidle directory. Signed-off-by: Daniel Lezcano Acked-by: Linus Walleij --- arch/arm/mach-ux500/Makefile | 1 - drivers/cpuidle/Kconfig.arm | 8 ++++++++ drivers/cpuidle/Makefile | 1 + .../cpuidle.c => drivers/cpuidle/cpuidle-ux500.c | 0 4 files changed, 9 insertions(+), 1 deletion(-) rename arch/arm/mach-ux500/cpuidle.c => drivers/cpuidle/cpuidle-ux500.c (100%) diff --git a/arch/arm/mach-ux500/cpuidle.c b/drivers/cpuidle/cpuidle-ux500.c similarity index 100% rename from arch/arm/mach-ux500/cpuidle.c rename to drivers/cpuidle/cpuidle-ux500.c diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index bf9b6be..fe1f3e2 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -4,7 +4,6 @@ obj-y := cpu.o devices.o devices-common.o \ id.o usb.o timer.o pm.o -obj-$(CONFIG_CPU_IDLE) += cpuidle.o obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \ diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index 2c8f17d..b330219 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -19,3 +19,11 @@ config ARM_ZYNQ_CPUIDLE bool "CPU Idle Driver for Xilinx Zynq processors" depends on ARCH_ZYNQ help + Select this to enable cpuidle on Xilinx Zynq processors. + +config ARM_U8500_CPUIDLE + bool "Cpu Idle Driver for the ST-E u8500 processors" + depends on ARCH_U8500 + help + Select this to enable cpuidle for ST-E u8500 processors + diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile index 77cf767..0b9d200 100644 --- a/drivers/cpuidle/Makefile +++ b/drivers/cpuidle/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o +obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o