Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2327760imm; Fri, 7 Sep 2018 14:44:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYwoytsJDIXotVfewLdQ0Pv908M4dpOlKnaT9HNnCu7RRVlad86+tCEUt8lE++qRBOxyvl4 X-Received: by 2002:a63:3587:: with SMTP id c129-v6mr10403392pga.290.1536356685085; Fri, 07 Sep 2018 14:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536356685; cv=none; d=google.com; s=arc-20160816; b=U+E46HAVF2UxnMSIGNnZKwAH75yInLlCzZzfpl9gvetAnYTlINg8D0l80JNDz5pHv6 Ty1lylSX6NyZB6w8cYJS/864bOeyiuXpJ9s+l0mAsmZBUYl9LWm0uy4S/Yvd5s6PIwyT Y5y1o/c5d5/BWvBgd8S+u4RhzbnuOltEuN29aZ63mCanRDMH2KvJ8LR5KbXRhp5AHIqe MIoX26K9Q/PsHg7jz+AjFesl9+BhlXhVOhuwqONPld9JYC1DsNWnL7UWAF9GiPNUajLm hFuzwBY62ZzjGkdZSTKiQrgG09JkMXo4EDlS7qYdNHvDekO1p90At3w+sMlGKc9yJeAm x1wg== 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=1+N4cR66JVY+KyQVHRaI31ScqbaDn6WDkjxTVXITNUo=; b=MZTWlTB6Ad/AZeNJOMj1YpxOfw5Ok8tmF9tENU4A5qXzk6bXcip9UluJRCXSyEhsqf FJ0viJyaeAxri3hDbiKLxaV6+gMYrFMwA6WQ5ou+25hQgcYpp29ywxk3YtCRG+oxHN3H N3GIK6hrQGs/8bfM3lPHkvok8SqMLZPqlsSEV26bmejjOVdamRfTLq0BkmnWPGXBUGWH QjkXBPPyyNH4BM+IN2CP/I/Qjp1AO06nZ3tYuPyoP3j5RIkhSBMS2bITpLe43qQskE18 I1Pcd+rSfeOlqoGjO4LwTnFCJXc4alkl5BF+hUg5RHUntwPJrtlJ3Zwk+vHwoHdoJxVV Fvsg== 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 z2-v6si9434157pgn.494.2018.09.07.14.44.29; Fri, 07 Sep 2018 14:44:45 -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 S1730865AbeIHC0T (ORCPT + 99 others); Fri, 7 Sep 2018 22:26:19 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56880 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730028AbeIHC0R (ORCPT ); Fri, 7 Sep 2018 22:26:17 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E0D5BBBF; Fri, 7 Sep 2018 21:43:21 +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 3.18 16/29] ARM: tegra: Fix Tegra30 Cardhu PCA954x reset Date: Fri, 7 Sep 2018 23:10:37 +0200 Message-Id: <20180907210910.700907415@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180907210909.523240901@linuxfoundation.org> References: <20180907210909.523240901@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 3.18-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 @@ -200,6 +200,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x70>; + reset-gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>; }; };