diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-09-07 15:12:51 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:52 -0800 |
commit | 0e221d5510a9ffbf2c72fef54a3eca2ed7e3fead (patch) | |
tree | 3626374ae18f7f42d323a863eba65dcdbf33b364 /arch/arm/mach-tegra/board-enterprise-pinmux.c | |
parent | efc301de4c4bacb4fa8d35e11ec0135879cdd883 (diff) |
ARM: tegra: Add enterprise audio support
Bug 862023
Change-Id: I0ba560f471088302d6197c564f02606a25f2a5db
Reviewed-on: http://git-master/r/51072
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: Rfeed9cb02b08e8673c0b4784d2eedc672c3b4bfc
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-pinmux.c')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-pinmux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-pinmux.c b/arch/arm/mach-tegra/board-enterprise-pinmux.c index 0e3eaa9253f7..3d91cc76018b 100644 --- a/arch/arm/mach-tegra/board-enterprise-pinmux.c +++ b/arch/arm/mach-tegra/board-enterprise-pinmux.c @@ -400,6 +400,10 @@ static __initdata struct tegra_pingroup_config enterprise_unused_pinmux[] = { DEFAULT_PINMUX(SPI2_MISO, SPI2, PULL_DOWN, TRISTATE, OUTPUT), }; +static struct tegra_gpio_table gpio_table[] = { + { .gpio = TEGRA_GPIO_HP_DET, .enable = true }, +}; + struct pin_info_low_power_mode { char name[16]; int gpio_nr; @@ -515,6 +519,7 @@ int __init enterprise_pinmux_init(void) tegra_pinmux_config_table(enterprise_unused_pinmux, ARRAY_SIZE(enterprise_unused_pinmux)); + tegra_gpio_config(gpio_table, ARRAY_SIZE(gpio_table)); enterprise_set_unused_pin_gpio(enterprise_unused_gpio_pins, ARRAY_SIZE(enterprise_unused_gpio_pins)); return 0; |