blob: 69d4dd21a558a3bf66c52b968ae8d33ea8ceb883 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* arch/arm/mach-tegra/board-whistler.h
*
* Copyright (C) 2010 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* 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.
*
*/
#ifndef _MACH_TEGRA_BOARD_WHISTLER_H
#define _MACH_TEGRA_BOARD_WHISTLER_H
int whistler_regulator_init(void);
int whistler_sdhci_init(void);
int whistler_pinmux_init(void);
int whistler_panel_init(void);
int whistler_kbc_init(void);
int whistler_sensors_init(void);
int whistler_baseband_init(void);
int whistler_emc_init(void);
/* Interrupt numbers from external peripherals */
#define MAX8907C_INT_BASE TEGRA_NR_IRQS
#define MAX8907C_INT_END (MAX8907C_INT_BASE + 31)
/* Audio-related GPIOs */
#define WHISTLER_GPIO_WM8753(_x_) (MAX8907C_INT_END + 1 + (_x_))
#define TEGRA_GPIO_SPKR_EN WHISTLER_GPIO_WM8753(2)
#define TEGRA_GPIO_HP_DET TEGRA_GPIO_PW3
#endif
|