diff mbox

[2/2] ARM: tegra: Enable the mic-detect gpio on Acer Chromebook 13

Message ID 1412268212-3458-1-git-send-email-dgreid@chromium.org
State Accepted, archived
Headers show

Commit Message

Dylan Reid Oct. 2, 2014, 4:43 p.m. UTC
Enables the gpio-base mic detection on the Acer Chromebook 13.  This
gpio is set by the jack-detection chip when it notices either of the
TRRS type headsets with a microphone.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
---
 arch/arm/boot/dts/tegra124-nyan-big.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Warren Oct. 2, 2014, 6:46 p.m. UTC | #1
On 10/02/2014 10:43 AM, Dylan Reid wrote:
> Enables the gpio-base mic detection on the Acer Chromebook 13.  This
> gpio is set by the jack-detection chip when it notices either of the
> TRRS type headsets with a microphone.

Acked-by: Stephen Warren <swarren@nvidia.com>
(I assume this one patch will go through the Tegra tree, and the other 
through the ASoC tree)
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thierry Reding Dec. 2, 2014, 9:25 a.m. UTC | #2
On Thu, Oct 02, 2014 at 09:43:32AM -0700, Dylan Reid wrote:
> Enables the gpio-base mic detection on the Acer Chromebook 13.  This
> gpio is set by the jack-detection chip when it notices either of the
> TRRS type headsets with a microphone.
> 
> Signed-off-by: Dylan Reid <dgreid@chromium.org>
> ---
>  arch/arm/boot/dts/tegra124-nyan-big.dts | 2 ++
>  1 file changed, 2 insertions(+)

Applied for v3.20, thanks.

Thierry
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts b/arch/arm/boot/dts/tegra124-nyan-big.dts
index 7d0784c..1c68ff9 100644
--- a/arch/arm/boot/dts/tegra124-nyan-big.dts
+++ b/arch/arm/boot/dts/tegra124-nyan-big.dts
@@ -1130,6 +1130,8 @@ 
 		clock-names = "pll_a", "pll_a_out0", "mclk";
 
 		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
+		nvidia,mic-det-gpios =
+				<&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
 	};
 };