PCI / PM: Block races between runtime PM and system sleep
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-tegra / board-harmony.h
blob1e57b071f52de9c6d37178bca02f0d6a563db1e8
1 /*
2 * arch/arm/mach-tegra/board-harmony.h
4 * Copyright (C) 2010 Google, Inc.
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
17 #ifndef _MACH_TEGRA_BOARD_HARMONY_H
18 #define _MACH_TEGRA_BOARD_HARMONY_H
20 #define HARMONY_GPIO_WM8903(_x_) (TEGRA_NR_GPIOS + (_x_))
22 #define TEGRA_GPIO_SD2_CD TEGRA_GPIO_PI5
23 #define TEGRA_GPIO_SD2_WP TEGRA_GPIO_PH1
24 #define TEGRA_GPIO_SD2_POWER TEGRA_GPIO_PT3
25 #define TEGRA_GPIO_SD4_CD TEGRA_GPIO_PH2
26 #define TEGRA_GPIO_SD4_WP TEGRA_GPIO_PH3
27 #define TEGRA_GPIO_SD4_POWER TEGRA_GPIO_PI6
28 #define TEGRA_GPIO_CDC_IRQ TEGRA_GPIO_PX3
29 #define TEGRA_GPIO_SPKR_EN HARMONY_GPIO_WM8903(2)
30 #define TEGRA_GPIO_HP_DET TEGRA_GPIO_PW2
31 #define TEGRA_GPIO_INT_MIC_EN TEGRA_GPIO_PX0
32 #define TEGRA_GPIO_EXT_MIC_EN TEGRA_GPIO_PX1
34 void harmony_pinmux_init(void);
35 int harmony_regulator_init(void);
37 #endif