mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arch: arm: tegra: Enable headphone detection gpio
@ 2011-10-28 16:27 Taylor Hutt
  2011-10-28 17:11 ` Stephen Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Taylor Hutt @ 2011-10-28 16:27 UTC (permalink / raw)
  To: thutt
  Cc: swarren, Colin Cross, Erik Gilling, Olof Johansson, Russell King,
	linux-tegra, linux-arm-kernel, linux-kernel, Yufeng Shen

From: Yufeng Shen <miletus@chromium.org>

Enable the headphone detection gpio on tegra platform.

Signed-off-by: Yufeng Shen <miletus@chromium.org>
---
 arch/arm/mach-tegra/board-seaboard-pinmux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-tegra/board-seaboard-pinmux.c b/arch/arm/mach-tegra/board-seaboard-pinmux.c
index 9d0ba80..14e9d576 100644
--- a/arch/arm/mach-tegra/board-seaboard-pinmux.c
+++ b/arch/arm/mach-tegra/board-seaboard-pinmux.c
@@ -205,6 +205,7 @@ static struct tegra_gpio_table common_gpio_table[] = {
 	{ .gpio = TEGRA_GPIO_NCT1008_THERM2_IRQ,.enable = true },
 	{ .gpio = TEGRA_GPIO_WLAN_POWER,	.enable = true },
 	{ .gpio = TEGRA_GPIO_AC_ONLINE,		.enable = true },
+	{ .gpio = TEGRA_GPIO_HP_DET,		.enable = true },
 	{ .gpio = TEGRA_GPIO_MXT_IRQ,		.enable = true },
 	{ .gpio = TEGRA_GPIO_HDMI_ENB,		.enable = true },
 	{ .gpio = TEGRA_GPIO_MPU3050_IRQ,	.enable = true },
-- 
1.7.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] arch: arm: tegra: Enable headphone detection gpio
  2011-10-28 16:27 [PATCH] arch: arm: tegra: Enable headphone detection gpio Taylor Hutt
@ 2011-10-28 17:11 ` Stephen Warren
  2011-11-02 18:36   ` Stephen Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2011-10-28 17:11 UTC (permalink / raw)
  To: Taylor Hutt
  Cc: Colin Cross, Erik Gilling, Olof Johansson, Russell King,
	linux-tegra, linux-arm-kernel, linux-kernel, Yufeng Shen

Taylor Hutt wrote at Friday, October 28, 2011 10:27 AM:
> From: Yufeng Shen <miletus@chromium.org>
> 
> Enable the headphone detection gpio on tegra platform.
> 
> Signed-off-by: Yufeng Shen <miletus@chromium.org>

Aha, that explains why this seemed to have stopped working when I tried
it on Seaboard recently; I guess it never did. Harmony already does this
correctly, and that's where I must have tested the feature initially.

Acked-by: Stephen Warren <swarren@nvidia.com>

-- 
nvpublic


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] arch: arm: tegra: Enable headphone detection gpio
  2011-10-28 17:11 ` Stephen Warren
@ 2011-11-02 18:36   ` Stephen Warren
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2011-11-02 18:36 UTC (permalink / raw)
  To: Stephen Warren, Taylor Hutt
  Cc: Colin Cross, Erik Gilling, Olof Johansson, Russell King,
	linux-tegra, linux-arm-kernel, linux-kernel, Yufeng Shen

Stephen Warren wrote at Friday, October 28, 2011 11:12 AM:
> Taylor Hutt wrote at Friday, October 28, 2011 10:27 AM:
> > From: Yufeng Shen <miletus@chromium.org>
> >
> > Enable the headphone detection gpio on tegra platform.
> >
> > Signed-off-by: Yufeng Shen <miletus@chromium.org>
> 
> Aha, that explains why this seemed to have stopped working when I tried
> it on Seaboard recently; I guess it never did. Harmony already does this
> correctly, and that's where I must have tested the feature initially.
> 
> Acked-by: Stephen Warren <swarren@nvidia.com>

I just tried testing this and noticed this patch doesn't apply to mainline;
I think the patch was lifted verbatim from the ChromeOS kernel without
being rebased onto mainline? Please rebase to mainline and repost.

But then I manually applied the patch and tested it, and it does work.

-- 
nvpublic


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-02 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-28 16:27 [PATCH] arch: arm: tegra: Enable headphone detection gpio Taylor Hutt
2011-10-28 17:11 ` Stephen Warren
2011-11-02 18:36   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®