Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2325698imm; Fri, 7 Sep 2018 14:42:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaV47o3T/quER89lBLxUWUkxWF49d8hE6pdgh5PFnYJ3amthVBe+Sle3CyYCuQfJaZEidIj X-Received: by 2002:a65:6292:: with SMTP id f18-v6mr10214220pgv.85.1536356544228; Fri, 07 Sep 2018 14:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536356544; cv=none; d=google.com; s=arc-20160816; b=cLxkkmyWXWQyZwFOL2iIh+FRW8RbBau4XoKZXREyyHULuGP+eC9J43eaW5rAQiXcRO AR8+Jt6ieGbuNZjs5pNeVtSWnTzXHgbC8ArHCHnTIGSDx8H3YS7sz3GKDtowtO/kJZAf tCzenxc/l7EGEjqT4dJfVcEQsfaEDjHY/lCEEfmpX0D0C9qj9btcxYliGmFP342RomfM JLYpjAXbKvPP+9t6Hg+RXQZNzQ8Vcz+CB3qipF9FoOhJmZxUEghujAAxgJ6KrUFFKdXe jdzfXb51bdoBChU7f6/kDKx0hFEW+vHN6r8gRm+zJpnOYeBn7GKsRe6r9G+ghX7toAO0 mI7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from; bh=I5tbfAF/hzpedzsXs6MmTzmyaiSc9qKkEHg+2LS0Aak=; b=MaFUCMO0yZ8u9X7dU4BjJEZqmsnBPnLuXAbmtPgyyPyhkSVqZ9ysmCXX8YNPU5fq7H X5KQfTkHkuJSBlw57xuBzPDieHFmAuX2V3HfLdVA4YeDhvw2QougV0G2xazxeGzIwqBt 5xEIkWIclV65dULAZkK6u7dVJ6yxTDNwnsCUIo7svkm54xYx8dSGQVIFniBnnXum2Zjw 7VwHGDfXmFoVS7pn6gvmr+vy2eOXf5awzvWh80WvH+9Pj5OzuViJ4yOM0p15+4wBJRLg rud3vEz4jWb4kgwXcnKQYcr0dtI98D5bHTXPDLG1iarrqkaQ6bvcN0u8C63LVR3Bc3Dn tB3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si9335062pgs.108.2018.09.07.14.42.09; Fri, 07 Sep 2018 14:42:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730149AbeIHCXj (ORCPT + 99 others); Fri, 7 Sep 2018 22:23:39 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54624 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729932AbeIHCXi (ORCPT ); Fri, 7 Sep 2018 22:23:38 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id BA7BF1010; Fri, 7 Sep 2018 21:40:43 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jon Hunter , Thierry Reding Subject: [PATCH 4.4 28/47] ARM: tegra: Fix Tegra30 Cardhu PCA954x reset Date: Fri, 7 Sep 2018 23:10:24 +0200 Message-Id: <20180907210907.718010810@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180907210904.607934824@linuxfoundation.org> References: <20180907210904.607934824@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jon Hunter commit 6e1811900b6fe6f2b4665dba6bd6ed32c6b98575 upstream. On all versions of Tegra30 Cardhu, the reset signal to the NXP PCA9546 I2C mux is connected to the Tegra GPIO BB0. Currently, this pin on the Tegra is not configured as a GPIO but as a special-function IO (SFIO) that is multiplexing the pin to an I2S controller. On exiting system suspend, I2C commands sent to the PCA9546 are failing because there is no ACK. Although it is not possible to see exactly what is happening to the reset during suspend, by ensuring it is configured as a GPIO and driven high, to de-assert the reset, the failures are no longer seen. Please note that this GPIO is also used to drive the reset signal going to the camera connector on the board. However, given that there is no camera support currently for Cardhu, this should not have any impact. Fixes: 40431d16ff11 ("ARM: tegra: enable PCA9546 on Cardhu") Cc: stable@vger.kernel.org Signed-off-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -201,6 +201,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x70>; + reset-gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>; }; };