From patchwork Wed Mar 6 14:03:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10841157 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 C0EB5922 for ; Wed, 6 Mar 2019 14:04:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A81152BC0D for ; Wed, 6 Mar 2019 14:04:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B4032DB49; Wed, 6 Mar 2019 14:04:33 +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 4EBF82BC0D for ; Wed, 6 Mar 2019 14:04:33 +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: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:In-Reply-To: References:List-Owner; bh=RSWdCLIwb0EwkKvlQX6IDTDfgMHirshodgd4/k4A5Eg=; b=OFm MqsHfV4fS8qYuvHdux53cSjy4hsA9rGDCijvOiSYXR546i3t6+9WCMQIlSNPFi5OyGYEpJhqp3nWp /Wz7bBzju3vGCPHFbYggHorqFdGyTQpaIJRufY4g9gWX848rG3/xbawql7G5CjJ9RxgJY91sjIMlZ DjbDAWynF+MbOwUgyT55TXpu3xe3qITYnqBWEW1kP6xojEKoldadLDBY6szUaF1DGShmIediBFdNe UITadgXNSEbJ9Q1dtU/EyBSJUW+wIdgXO8hMwkaKw+smWy7JqvbFyaoQEL4Ti/GVRl8z8Tm3jpw+W 6f7fLFQlsgGZv/04cQM0q2KNWjpTXqg==; 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 1h1X9n-0004q9-Hk; Wed, 06 Mar 2019 14:04:27 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1X9k-0004pN-CZ for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 14:04:25 +0000 Received: by mail-yw1-xc44.google.com with SMTP id i204so10017714ywb.0 for ; Wed, 06 Mar 2019 06:04:23 -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; bh=0h4/ZRuSltaePP2jL4/jUGCwjsf/sfoTJ3RQ5Ua+2lg=; b=JlqnX8lVBGsFQPMnsLYFXmTZExWN77To+PpE1KY3AzWbo92r+u3Mz/B/T2bfBfyzgC nBUI9uyoHuq9Ga8h/ryD5znWHSA+zO8UvnlVmolkpE0CPhH7/fMcU1dInPFP5WI1Soz4 us3Q0lCiMyMt3l1lPN/u8bhhTnVej935/u7heWjAiVEpcjtdBYXAVh+gbyHlJmumVCPQ VYvWiZ36a4r5jTYrMyeSpiro/n8thaCiFZrykTvv4/AkBxt3kg0UyGUD8GrwrNrJoVF4 Roz8Vw6q5WwLTvLyGxPllNipxeb98KD9vJzkDGlwBj3drY2Alz7nMYxrwcXoOfHBbFXI JvNA== 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; bh=0h4/ZRuSltaePP2jL4/jUGCwjsf/sfoTJ3RQ5Ua+2lg=; b=j698U9YjHK8Fp/aYPUb6TfUdhSEL7aniI5klk7GGuq+lf3j73KBK1nyrL2z1sLl6LM G0vsCjLxMftCGAEgKVlI9DW9Cx/cx5ILP3sNDro4y1Ux7paMmf05gPOtIkEx5L2ThXrZ a0Ek07S6Df/trUQe1mRYFq5JQb44Q9q8L0xBSwkEn8X3JVUSUmblJNuFUm9UnPxcRtKw 0PMSPESvSt6X6JxFgJ3pBByI89Q+dpDZWtgJovX/akFVD3KSGOoC6dqTiBF/Woai8wI/ ciQE9sJC6MD9ZPcXhvXX3evIKsMqVAOrkqR9zzKbNKla/Mf9NKafShfy36CYjcmdWZDB KEKQ== X-Gm-Message-State: APjAAAXH6P0MBHWnMh9GOFwktrs7+ijLlHa240PCjiCF2jZLZ5bj7yJ9 KKFzXHvCVj2gRCPpjs140ObdME/AA5I= X-Google-Smtp-Source: APXvYqyRkEwzhPkludsy1G7cccKP4Q+kG3KEvGPTHWCFfYOq8xcrdhPSplC5kjzhCkr3SvnWHbbsbw== X-Received: by 2002:a81:9bd0:: with SMTP id s199mr5242502ywg.446.1551881062349; Wed, 06 Mar 2019 06:04:22 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:04:21 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: dts: imx6q-logicpd: Shutdown LCD regulator during suspend Date: Wed, 6 Mar 2019 08:03:59 -0600 Message-Id: <20190306140402.17122-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_060424_449341_A8678705 X-CRM114-Status: GOOD ( 10.72 ) 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 LCD power sequencer is very finicky. The backlight cannot be driven until after the sequencer is done. Until now, the regulators were marked with 'regulator-always-on' to make sure it came up before the backlight. This patch allows the LCD regulators to power down and prevent the backlight from being used again until the sequencer is ready. This reduces standby power consumption by ~100mW. 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/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts index 45eb0b7f75f8..d96ae54be338 100644 --- a/arch/arm/boot/dts/imx6q-logicpd.dts +++ b/arch/arm/boot/dts/imx6q-logicpd.dts @@ -21,6 +21,8 @@ panel-lvds0 { compatible = "okaya,rs800480t-7x0gp"; + power-supply = <®_lcd_reset>; + backlight = <&backlight>; port { panel_in_lvds0: endpoint { @@ -38,7 +40,6 @@ regulator-max-microvolt = <3300000>; gpio = <&gpio4 17 GPIO_ACTIVE_HIGH>; enable-active-high; - regulator-always-on; vin-supply = <®_3v3>; startup-delay-us = <500000>; }; @@ -52,7 +53,6 @@ regulator-max-microvolt = <3300000>; gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; enable-active-high; - regulator-always-on; vin-supply = <®_lcd>; }; }; From patchwork Wed Mar 6 14:04:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10841159 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 277A917E9 for ; Wed, 6 Mar 2019 14:04:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10E062BC0D for ; Wed, 6 Mar 2019 14:04:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04C0C2DB49; Wed, 6 Mar 2019 14:04:43 +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 B1DD72BC0D for ; Wed, 6 Mar 2019 14:04:42 +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=Rr8m75a1x0+Z9xw1VqBmt8NzGewXG/UFPhyYJ+R7fOo=; b=IO1gislwevygZAa4owlQbYun1q ZeBT+A/1MUsb+gK++gT9HmTajcwnKEN9N04+mqNhg037CDWfe98SjuDTmdLjFRnBs+E5rKFoI4akm gI6yd0yJDGUcFuQINwKtqDtVW7xqFtKdjZpEdXizBHeCqGw3/Ywp8VcgwrNRm/UPep/bjxq1Onzrl ATpl/rS9ojgzi4ifSc0snU4ejyWDaHYYZyrB4F6aKrQRPkP53QwaaFW8gleSF+VDLDRqm7yq1pD3m Ai8HV35nyU6bHs6wfUqCttvrhlfAerHXSSZqszGcStXBjfdoPWfNn+UL4+pCTNn5L2ay7Z4Hp4mw4 DU21DAQA==; 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 1h1X9u-0004zS-Re; Wed, 06 Mar 2019 14:04:34 +0000 Received: from mail-yw1-xc43.google.com ([2607:f8b0:4864:20::c43]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1X9l-0004ph-VA for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 14:04:27 +0000 Received: by mail-yw1-xc43.google.com with SMTP id r188so9978322ywb.12 for ; Wed, 06 Mar 2019 06:04:25 -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=rEf4ejbpthV1S86dVzs0RdnPSjp5YJYxDnpkYt7WdcQ=; b=mL0APZsafGKKrdJcMuvUcvABwk2reRhCRKMV92Xxy0iM1+/crnUVRw1gsG9Y3DcpOk nmoVh2pDvDxh1YzwRgstQVyfVTNwV0yWzeu7FtuQMYXArm2At8mHspbInWUHBAI+DMnm wIUFxRrVlzo9BLTP6uxVUIk0XEiDs0IOk5lJaPL2Aw9B6QJLdnsvPDTR7CS7Z6elFngD b3akg01MprlaM6jGuU9o73oIEuqmC5fBFQjZ4Sqjf4QN7Nm0Iv+Sl7O55YwFUru9A5lO J43+nFq4F45gK6l1CHESBuDKhNcuoKe12aEC79gtFA3pgKPyTuscwN96cSZeXPlnL8R0 Qq9A== 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=rEf4ejbpthV1S86dVzs0RdnPSjp5YJYxDnpkYt7WdcQ=; b=rUB5rnpH9R1k+BajP8z0pZ56fpJcrcYKNWhxAWTd0Y70aiMSlOf0QQ9Hzzw3uVT59s mdPVu3kGAfv31dq18Z8QKkFrUCL0ld7P9bZV1/LIgX5SlJSGpzMlZgHDaEuempPzNuFj KD0P9ITzG/gQtk3JdOCpoMeslyPBsGbcQ41Dz6Nj6KPkx82OSZ2lvVvV5lKeOzbgQoxs S3UIM/PWp/cHqiHFcN1hKOiKocUpYWk1ReWdDnhxqil4QWANPj6SbchzrAxNyqs9peVU 8DnuYNUGQP/LkHRZGm0OD1kJfvrAZMXipXM4oS9tqapdWiSlLjaBCmIALgv25HOrWnNg wyRg== X-Gm-Message-State: APjAAAUctj1GS2rov9NB9S6jGjF+xYfQM1aJsi2MvD6NbpnfkTj89vQg CKwVZOQCGmHGZ88bIlbIpjTT884TSTU= X-Google-Smtp-Source: APXvYqxd3A1zohMnp5iXK9hyMunRMIlDZRi3uS77Qs5hyFktGAxSMTQr+8Gc7CtUeSWa3xgZqH7adA== X-Received: by 2002:a0d:df44:: with SMTP id i65mr5462835ywe.180.1551881064322; Wed, 06 Mar 2019 06:04:24 -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.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:04:23 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] ARM: DTS: imx6q-logicpd: Reduce inrush current on start Date: Wed, 6 Mar 2019 08:04:00 -0600 Message-Id: <20190306140402.17122-2-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_060426_020944_51B20500 X-CRM114-Status: GOOD ( 10.73 ) 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 main 3.3V regulator sources a series of additional regulators. This patch adds a small delay, so when the 3.3V regulator comes on it delays a bit before the subsequent regulators can come on. This reduces the inrush current a bit on the external DC power supply. 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 fb01fa6e4224..e31b6923cb72 100644 --- a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi +++ b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi @@ -99,6 +99,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; + startup-delay-us = <70000>; enable-active-high; regulator-always-on; }; 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 */ >; };