/* * arch/arm/mach-tegra/cpuidle.c * * CPU idle driver for Tegra CPUs * * Copyright (c) 2010-2012, NVIDIA Corporation. * Copyright (c) 2011 Google, Inc. * Author: Colin Cross <ccross@android.com> * Gary King <gking@nvidia.com> * * Rework for 3.3 by Peter De Schrijver <pdeschrijver@nvidia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #include <linux/kernel.h> #include <linux/module.h> #include <soc/tegra/fuse.h> #include "cpuidle.h"
void __init tegra_cpuidle_init(void) { switch (tegra_get_chip_id()) { case TEGRA20: if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC)) tegra20_cpuidle_init(); break; case TEGRA30: if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC)) tegra30_cpuidle_init(); break; case TEGRA114: case TEGRA124: if (IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) || IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC)) tegra114_cpuidle_init(); break; } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Joseph Lo | 50 | 76.92% | 5 | 71.43% |
Peter 'p2' De Schrijver | 13 | 20.00% | 1 | 14.29% |
Thierry Reding | 2 | 3.08% | 1 | 14.29% |
Total | 65 | 100.00% | 7 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Stephen Warren | 26 | 92.86% | 1 | 50.00% |
Thierry Reding | 2 | 7.14% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Joseph Lo | 51 | 48.11% | 5 | 62.50% |
Stephen Warren | 26 | 24.53% | 1 | 12.50% |
Peter 'p2' De Schrijver | 24 | 22.64% | 1 | 12.50% |
Thierry Reding | 5 | 4.72% | 1 | 12.50% |
Total | 106 | 100.00% | 8 | 100.00% |