diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-01-26 01:43:28 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-07 06:25:01 +0400 |
commit | d3b8bdd5f9bc538fb17466cbb7af43209b55cb93 (patch) | |
tree | ebad05f40bd821d30c1b777000ca04999bc04b98 /arch/arm/mach-tegra/pmc.h | |
parent | 8bc4f556bd740789cf6fab36d1776d6d4d8bd375 (diff) | |
download | linux-d3b8bdd5f9bc538fb17466cbb7af43209b55cb93.tar.xz |
ARM: tegra: Add a simple PMC driver
This PMC driver is enough to parse the nvidia,invert-interrupt property
from device tree, and configure the PMC's to honor that.
In the future, this file could expand to centralize all other PMC accesses
within the mach-tegra code.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r-- | arch/arm/mach-tegra/pmc.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h new file mode 100644 index 000000000000..8995ee4a8768 --- /dev/null +++ b/arch/arm/mach-tegra/pmc.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2012 NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef __MACH_TEGRA_PMC_H +#define __MACH_TEGRA_PMC_H + +void tegra_pmc_init(void); + +#endif |