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: 5019401 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 654B7C11AB for ; Thu, 2 Oct 2014 16:44:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D47D20200 for ; Thu, 2 Oct 2014 16:44:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 4CE44201EF for ; Thu, 2 Oct 2014 16:43:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CF93B2617B6; Thu, 2 Oct 2014 18:43:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 972CF2616B9; Thu, 2 Oct 2014 18:43:47 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id A5BE02617AD; Thu, 2 Oct 2014 18:43:46 +0200 (CEST) Received: from mail-oi0-f74.google.com (mail-oi0-f74.google.com [209.85.218.74]) by alsa0.perex.cz (Postfix) with ESMTP id 1A6BA26171B for ; Thu, 2 Oct 2014 18:43:35 +0200 (CEST) Received: by mail-oi0-f74.google.com with SMTP id v63so476240oia.3 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=C2Y7Ex2kuxr0kLG+yntm5d7KwCts4ruoouq6UeOD7NOG+uCdyyILefz7sgfgnTB+3f nEAoWCe43J3/44b41mjMM7qUtTptWcxd2Lbarokd8d7ONphUe4xpiFR1nuDggONsuL8q Y2JYcltHsDPDm6sje5KQZusWKlECAOwoc0Pu1ifYB7O/Ir/10JljCQcGrKYFoI3/I5DH 8LW5z6p+QAnHoQYFv4vNwRWjdEUEp8ljjm+fmx8JN5jUTMPKE+Xc7ocGur69hS75Mn7F ebs5+OzS7OZGbHr6CZ6dvckeVfYeRY3BrVsLuMsrSRyL7dSKVnJN/BOMkHXqfY7SlQ/I aAAw== X-Gm-Message-State: ALoCoQluvkX8O1llZ7xLwmgtWz2E7zOl15xj3NrVV4lmaDocL17ABnddX764sMtVz3vblx1hTEHi6hrg4ry/kPSPQzZ9Iq4Paff7djWav8Yd/Bphwn04REBUHXZwG2bhHFLgrtgK2398IImOrAbIDPYn3DiCzEGFsebQMPHBxeVnvF6+ZOkc4+A= 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 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 Cc: devicetree@vger.kernel.org, Dylan Reid , broonie@kernel.org, thierry.reding@gmail.com, swarren@wwwdotorg.org Subject: [alsa-devel] [PATCH 2/2] ARM: tegra: Enable the mic-detect gpio on Acer Chromebook 13 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; }; };