From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755905Ab2BAHfO (ORCPT ); Wed, 1 Feb 2012 02:35:14 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:49212 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293Ab2BAHfM (ORCPT ); Wed, 1 Feb 2012 02:35:12 -0500 Date: Tue, 31 Jan 2012 23:35:10 -0800 From: Olof Johansson To: Peter De Schrijver Cc: Colin Cross , Stephen Warren , Russell King , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 3/3] ARM: tegra: cpuidle driver for tegra Message-ID: <20120201073510.GE7399@quad.lixom.net> References: <1327594923-21822-1-git-send-email-pdeschrijver@nvidia.com> <1327594923-21822-4-git-send-email-pdeschrijver@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1327594923-21822-4-git-send-email-pdeschrijver@nvidia.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 26, 2012 at 06:22:03PM +0200, Peter De Schrijver wrote: > CPUidle driver for tegra. In this version only LP3 (clockgating) is supported. > > Based on work by: > > Colin Cross > Gary King > > Signed-off-by: Peter De Schrijver > --- > arch/arm/mach-tegra/Makefile | 2 + > arch/arm/mach-tegra/cpuidle.c | 107 +++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 109 insertions(+), 0 deletions(-) > create mode 100644 arch/arm/mach-tegra/cpuidle.c > > diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile > index b78bda8..c06c280 100644 > --- a/arch/arm/mach-tegra/Makefile > +++ b/arch/arm/mach-tegra/Makefile > @@ -6,6 +6,8 @@ obj-y += irq.o > obj-y += clock.o > obj-y += timer.o > obj-y += fuse.o > +obj-y += cpuidle.o > +obj-y += sleep.o Nit: Not much use in building this if CONFIG_CPU_IDLE is off. Feel free to fix that up in a new patch. -Olof