From patchwork Thu Oct 2 16:43:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Reid X-Patchwork-Id: 396035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 29315140095 for ; Fri, 3 Oct 2014 02:43:48 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752991AbaJBQnh (ORCPT ); Thu, 2 Oct 2014 12:43:37 -0400 Received: from mail-oi0-f73.google.com ([209.85.218.73]:60221 "EHLO mail-oi0-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbaJBQng (ORCPT ); Thu, 2 Oct 2014 12:43:36 -0400 Received: by mail-oi0-f73.google.com with SMTP id u20so467889oif.2 for ; Thu, 02 Oct 2014 09:43:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SlH0d9zkORgQNvxR1IhXweYkEBC+M6MJ5YaPEcXJAdU=; b=GUzufNVCednoJ44E8sBcAr21sZr+2qLBdn06SxGNa3hMyHMZKtTTMtMw9ebNCdwLRE qMXFQBlG3TtYmaRh9P26CwSxob5dduK14FVR+BqLf6TQ2TSRupk5wiNkbMUcS8htEBhe KYuLFvLoNqeEnOMHkRiC2RZgPrsPQe9Pn9z+R1WO241ZGl5WZ3xfoUjg1gtnhjv+SrO7 gsFBIVKOzr1lUlG0uTiH0XF0Q6njorxO5Z2jmCJG6ZSL4Qq22Dh1/Zu0s6ugpm4Qke+H CLP4IT9nLgdXrlztQtJuzxWzZ7wGdwtbXd0zwMtFW7sjn2p88Y7gBFqj2vq4dSb0MFu0 AEQw== X-Gm-Message-State: ALoCoQkfMwaUBTDoQigvfCes46thahVHTDF6n3MbNy2yrkqGhWICJHOLoZly+fnuirzXiSgFdcAh X-Received: by 10.50.25.41 with SMTP id z9mr3202000igf.2.1412268215277; Thu, 02 Oct 2014 09:43:35 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id e24si206917yhe.3.2014.10.02.09.43.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Oct 2014 09:43:35 -0700 (PDT) Received: from hojo20.mtv.corp.google.com ([172.22.65.103]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id EFaLjDpl.1; Thu, 02 Oct 2014 09:43:35 -0700 Received: by hojo20.mtv.corp.google.com (Postfix, from userid 123195) id 685771C082D; Thu, 2 Oct 2014 09:43:34 -0700 (PDT) From: Dylan Reid To: alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org Cc: broonie@kernel.org, devicetree@vger.kernel.org, swarren@wwwdotorg.org, thierry.reding@gmail.com, Dylan Reid Subject: [PATCH 2/2] ARM: tegra: Enable the mic-detect gpio on Acer Chromebook 13 Date: Thu, 2 Oct 2014 09:43:32 -0700 Message-Id: <1412268212-3458-1-git-send-email-dgreid@chromium.org> X-Mailer: git-send-email 2.1.2.330.g565301e Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org 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 Acked-by: Stephen Warren --- arch/arm/boot/dts/tegra124-nyan-big.dts | 2 ++ 1 file changed, 2 insertions(+) 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>; }; };