aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/board-seaboard.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-08-08 16:35:14 -0400
committerOlof Johansson <olof@lixom.net>2011-08-09 15:07:32 -0400
commita697e694aeb82f2643825c45dc0214666172c540 (patch)
tree77af9b22d7e0ab638690a8624ef340b045d9f30e /arch/arm/mach-tegra/board-seaboard.h
parentdd58bdbceb087238bead08e05226c0cef20aab4d (diff)
ARM: Tegra: Seaboard board updates for audio
* Initialize clock tree for audio * Add GPIO base definitions * Add audio GPIO definitions * Define platform data for WM8903 and ASoC machine driver * Add special case for Kaen to handle HP_MUTE GPIO * Register platform devices for audio * Update pinmux to cater for new GPIOs used for audio Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/board-seaboard.h')
-rw-r--r--arch/arm/mach-tegra/board-seaboard.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-seaboard.h b/arch/arm/mach-tegra/board-seaboard.h
index d8415e1a8434..d06c3342e2c4 100644
--- a/arch/arm/mach-tegra/board-seaboard.h
+++ b/arch/arm/mach-tegra/board-seaboard.h
@@ -17,6 +17,9 @@
17#ifndef _MACH_TEGRA_BOARD_SEABOARD_H 17#ifndef _MACH_TEGRA_BOARD_SEABOARD_H
18#define _MACH_TEGRA_BOARD_SEABOARD_H 18#define _MACH_TEGRA_BOARD_SEABOARD_H
19 19
20#define SEABOARD_GPIO_TPS6586X(_x_) (TEGRA_NR_GPIOS + (_x_))
21#define SEABOARD_GPIO_WM8903(_x_) (SEABOARD_GPIO_TPS6586X(4) + (_x_))
22
20#define TEGRA_GPIO_SD2_CD TEGRA_GPIO_PI5 23#define TEGRA_GPIO_SD2_CD TEGRA_GPIO_PI5
21#define TEGRA_GPIO_SD2_WP TEGRA_GPIO_PH1 24#define TEGRA_GPIO_SD2_WP TEGRA_GPIO_PH1
22#define TEGRA_GPIO_SD2_POWER TEGRA_GPIO_PI6 25#define TEGRA_GPIO_SD2_POWER TEGRA_GPIO_PI6
@@ -31,10 +34,11 @@
31#define TEGRA_GPIO_MAGNETOMETER TEGRA_GPIO_PN5 34#define TEGRA_GPIO_MAGNETOMETER TEGRA_GPIO_PN5
32#define TEGRA_GPIO_ISL29018_IRQ TEGRA_GPIO_PZ2 35#define TEGRA_GPIO_ISL29018_IRQ TEGRA_GPIO_PZ2
33#define TEGRA_GPIO_AC_ONLINE TEGRA_GPIO_PV3 36#define TEGRA_GPIO_AC_ONLINE TEGRA_GPIO_PV3
34 37#define TEGRA_GPIO_WWAN_PWR SEABOARD_GPIO_TPS6586X(2)
35#define TPS_GPIO_BASE TEGRA_NR_GPIOS 38#define TEGRA_GPIO_CDC_IRQ TEGRA_GPIO_PX3
36 39#define TEGRA_GPIO_SPKR_EN SEABOARD_GPIO_WM8903(2)
37#define TPS_GPIO_WWAN_PWR (TPS_GPIO_BASE + 2) 40#define TEGRA_GPIO_HP_DET TEGRA_GPIO_PX1
41#define TEGRA_GPIO_KAEN_HP_MUTE TEGRA_GPIO_PA5
38 42
39void seaboard_pinmux_init(void); 43void seaboard_pinmux_init(void);
40 44