Re: [PATCH v1 3/3] ARM: tegra: cpuidle driver for tegra

From: Olof Johansson
Date: Wed Feb 01 2012 - 02:35:13 EST


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 <ccross@xxxxxxxxxxx>
> Gary King <gking@xxxxxxxxxx>
>
> Signed-off-by: Peter De Schrijver <pdeschrijver@xxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/