From patchwork Wed Mar 6 14:04:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10841161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D158922 for ; Wed, 6 Mar 2019 14:04:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 665312DB49 for ; Wed, 6 Mar 2019 14:04:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A64B2DB5D; Wed, 6 Mar 2019 14:04:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 166AB2DB49 for ; Wed, 6 Mar 2019 14:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KhuWQrJbnEamIlx56T8ETDWyrd5yQ7DULDs3FgwO9NA=; b=l1AjeA7K/EeKlswieNa9bFjj3T EMoeifwXdFvgTpoUtS9cmIc/xtuWG8IjFcx1IQSATULyUGkG7peGUZaIlSCpNF1aVrdotwr3wvxmk nZkwu/xrRVFOoEs642hvh9oPknsGfeARAp1s947XdmXdy/Oz61fBx5+QALu8L1iKZx6q69TiyTCVA C+6nGVVRk+JJwKURvu+5Z5hKbmtfG72qveD9OqludY0mnZvPSv6jb8TuZR9rrA1cviyGPdAKoySE1 /HY3Rumi6Q1fo/Hyh7pxAW9lasYEi0NULXXon+ClKT6W4qyYsWudBPHiYjjLwVqFLUavan3AexB7v 8N+q2cjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1XA5-0005FS-Nj; Wed, 06 Mar 2019 14:04:45 +0000 Received: from mail-yw1-xc41.google.com ([2607:f8b0:4864:20::c41]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1X9n-0004q4-H5 for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 14:04:33 +0000 Received: by mail-yw1-xc41.google.com with SMTP id z191so9997398ywa.6 for ; Wed, 06 Mar 2019 06:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hC5HT8j9xR/VbOnWOJXKq+qZxrk+ugO3pzNZQvzXvmU=; b=hv26uMzY/f3wBy2NHO+d9Sl7yS4hnzGjgDtlG0ILsOdFtfBKD6/mixloVSiNnPHqt8 Mmwnyvt8gBKswRN9Jl3Tcx2ZbVcLclPYhtvXEVDc1yL3ybEx0TO1XGuNW/zHn3GKTU4q NqjLchxAPkHmjAAtD6a6HvXY96RGYZQXFAqMGjHgAnoAbUQQARES9ZSCSx1ufTrqjPdI 4c9d8sIWJivFtgOQRDKNJou/j1AswLjRPBhKVHLyyCIChPXyENAJU3NLSP8CHavpkHvp PkXeku8gu81L4AGiJYeBru/GKuPz9DmYq02rHGcS94JpnHOVt6Y4aZIQwa0eCKWrSTJG E2Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hC5HT8j9xR/VbOnWOJXKq+qZxrk+ugO3pzNZQvzXvmU=; b=IJfXkKrHF8Wi1ZwCRCddLpTkeCUww4cdhIfsz7L1hWKSDTfAIZXXPEAmZF0ZgIwGqJ sNr7oxiA8/Og648VPjmQ4eLv6198Y9bT10BsWXmnkb6pl6paumGihLd7M8uvamHay6M7 Ho0C43F9zUkrHSJJlH/q5wlY8mI0Pr1nvkyqoa8/FIRp+CuCZjVlncU6wO8sxtaXzguk 9h1a7DTPChaAxKPpUrOXu78YFxoimij31amLKdlPQ1LSA/3bm06TcKhEI5mADEFaI9s3 0znS6Ac7GfvUek9OpDl3HY5J3Lza/D61odjc3X7w+kfDTlDW8WYFfOf1TcqDDgkUoM+6 AvKw== X-Gm-Message-State: APjAAAUEyOUzAmJVLjmxIRtgG8SqTtJ6TGTeVw5bC6zBV6Zb7d9qtiw6 4K/eYhFacnC/w3beBvFBFKPKzUWZW5E= X-Google-Smtp-Source: APXvYqw7sDdKaYZrjvnBkOfutFOibK6I16GQLOvRNKvTD4yXTyy5UbQcOyLSOcKRW2kn9Oeyso8zEA== X-Received: by 2002:a81:3b56:: with SMTP id i83mr5560902ywa.508.1551881065902; Wed, 06 Mar 2019 06:04:25 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id r205sm859112ywb.70.2019.03.06.06.04.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:04:25 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: DTS: imx6q-logicpd: Fix Analog audio capture Date: Wed, 6 Mar 2019 08:04:01 -0600 Message-Id: <20190306140402.17122-3-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190306140402.17122-1-aford173@gmail.com> References: <20190306140402.17122-1-aford173@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_060427_721461_EA2394C3 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Estevam , Adam Ford , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The original submission had functional audio out and was based on reviewing other boards using the same wm8962 codec. However, the Logic PD board uses an analog microphone which was being disabled for a digital mic. This patch corrects that and explicitly sets the gpio-cfg pins all to 0x0000 which allows the analog microphone to capture audio. Fixes: 1c207f911fe9 ("ARM: dts: imx: Add support for Logic PD i.MX6QD EVM") Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi index e31b6923cb72..db6b5b900826 100644 --- a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi +++ b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi @@ -248,9 +248,9 @@ gpio-cfg = < 0x0000 /* 0:Default */ 0x0000 /* 1:Default */ - 0x0013 /* 2:FN_DMICCLK */ + 0x0000 /* 2:FN_DMICCLK */ 0x0000 /* 3:Default */ - 0x8014 /* 4:FN_DMICCDAT */ + 0x0000 /* 4:FN_DMICCDAT */ 0x0000 /* 5:Default */ >; };