arm/tegra: enable headphone detection gpio on seaboard
authorYufeng Shen <miletus@chromium.org>
Fri, 28 Oct 2011 06:27:06 +0000 (06:27 +0000)
committerOlof Johansson <olof@lixom.net>
Wed, 9 Nov 2011 19:31:16 +0000 (11:31 -0800)
Enable the headphone detection gpio on tegra platform.

Signed-off-by: Yufeng Shen <miletus@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/board-seaboard-pinmux.c

index eb5991d..b1c2972 100644 (file)
@@ -192,6 +192,7 @@ static struct tegra_gpio_table common_gpio_table[] = {
        { .gpio = TEGRA_GPIO_SD2_POWER,         .enable = true },
        { .gpio = TEGRA_GPIO_LIDSWITCH,         .enable = true },
        { .gpio = TEGRA_GPIO_POWERKEY,          .enable = true },
+       { .gpio = TEGRA_GPIO_HP_DET,            .enable = true },
        { .gpio = TEGRA_GPIO_ISL29018_IRQ,      .enable = true },
        { .gpio = TEGRA_GPIO_CDC_IRQ,           .enable = true },
        { .gpio = TEGRA_GPIO_USB1,              .enable = true },