Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3677911ybd; Tue, 25 Jun 2019 06:43:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcckG5SlhuDuPOtAbp2FOdl0iCRdqXlnCvO9HvA3U2YWu2KdQ93Mx528YPwJavCt4GeR9g X-Received: by 2002:a17:90a:270f:: with SMTP id o15mr31986220pje.56.1561470233803; Tue, 25 Jun 2019 06:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561470233; cv=none; d=google.com; s=arc-20160816; b=N4aj5Hpnup53jTqL6eAo2XaQhEBWvr74Nnd+cqdIT8WYC5babfr1Lyp2vgYO3eZ3iM oGlCRaBSaUsOD4cDwOa4026ZJ60VDlmkU+1VBSgx7GC+of3ea8KcqF7WjxKkOnFfWMrr fnLsk5Z95Bj4WXyUrvzq+zSSXs+dZGfT2dWRgz80mTlwC11SlDn+hP9X09+K5trKCmCD IazFd1M3rTRkQmqCP1ED4+ID2LiZeFXAEASxdVKCEGbifp4loJYa5y+qz/kDB1P7XKFT rwmQftc+CCZ4Pnj0bkV2uFrqyNkY7pm6EcP9wv79cqvd3a49X3UPpow09PKQsFjOkWT2 RWyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LSvTpOLyyXh49qYBGomCHftsOmnYZkhBKlFO4JP7Wco=; b=bZjmvs2uDOr2woB3KkkREaUNyoyESuHF/1VqmDyZcjoV0voXhlMeSfm/mZiG9G5OXK fsP+mnPDBLIBuGgvMvy1b38VZEOFVOB6cqdXGHt8HGHmyuXxvjJc+Pg1KboqhDulmkAT 0gI5xkFirhWwTvrf/ZnklWcWamujQtpU2iDCRBWn1s9GwyzakSxwXdB3iVOdlEdTU/qn axkhC4BtpNRoxZ6X34sPLwNtgUcNodWZkeMzMLXo2lyyakDfAwPQIZOnuy+dA3n4wlln JTDBPeq7js9U5B/FC8yZ5V6yIOi7SLP/nu+hXMjkkgzpI3TdNx1kOnMGwEn9Zhfcd40w IvYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M1mbYUFt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21si2732838pjq.62.2019.06.25.06.43.38; Tue, 25 Jun 2019 06:43:53 -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; dkim=pass header.i=@linaro.org header.s=google header.b=M1mbYUFt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729849AbfFYNio (ORCPT + 99 others); Tue, 25 Jun 2019 09:38:44 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:33963 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729365AbfFYNin (ORCPT ); Tue, 25 Jun 2019 09:38:43 -0400 Received: by mail-lf1-f68.google.com with SMTP id y198so12679480lfa.1 for ; Tue, 25 Jun 2019 06:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LSvTpOLyyXh49qYBGomCHftsOmnYZkhBKlFO4JP7Wco=; b=M1mbYUFtUWy7KV2CuQ8M5nj8o/ooJsFihAJz7osC5AgX0PriOKLOv/57c+Ud2pPZYz WabUrZRYC8iJuFTzI+CQWCu+xBqiuAf8oRQcslmGumQMVZ8/HwBktQVUQspZBYce1zfd taGw+T6bJepqGs0Y5bw2kZRLDxW4ifJKz3myqKSs5EOoMyqCaY61mJtrIZyu7pBjOPZg m6FQARBJw27QQbskEvQ3AdcukASou0VIzpTSRdz1ayrC68xRuw55bhY/bfgKdqRJoDng cO9dQwy4TpzMe3SEJovusplELhe37+JoMC9g22TShMSob/tkCjfUqp2LJKCayQgtTFzk DOLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LSvTpOLyyXh49qYBGomCHftsOmnYZkhBKlFO4JP7Wco=; b=U6JWw2fLFn3llKpQLmUlMoS6T9o8Q3ECCjNRM42g3dE6i6jwDql9DI9ejjUQm5gy8G ZH4v4qbFcmi89xksmZD8p2TQkF32W2yMTIXgn4sAlbVgZUK78Dtcxilhc8HeBDY2Y+bJ GEW0l1BYCkNOk4h4XLvfLYkWse2M8lZeS97+xhFdaNXIZ+p4NYbX+MaKQ3Y9CWxOoHJo qEZe3l86XzenqAgkukS1uBXw9wCgQx/R6QSfgglZ9g0HoTaEoWgqq2OtZW1WePCERUNN dFe122RSu9CMIhqe4Uif5pZaDkwziCg6NI7vfFmz1By8uzV90yoFtL6mj0k91StURfCM gvpA== X-Gm-Message-State: APjAAAVxJ9qqM+2y4DzjiremvqxtV8BaRrtXGsT8tXIGkp2gBsVWT/LB PzURRAnRDuPYW08J5GlRdNRdjgrNJKkejnZNBSe6yw== X-Received: by 2002:ac2:50c4:: with SMTP id h4mr25221480lfm.61.1561469921507; Tue, 25 Jun 2019 06:38:41 -0700 (PDT) MIME-Version: 1.0 References: <1561345379-2429-1-git-send-email-skomatineni@nvidia.com> <1561345379-2429-4-git-send-email-skomatineni@nvidia.com> In-Reply-To: <1561345379-2429-4-git-send-email-skomatineni@nvidia.com> From: Linus Walleij Date: Tue, 25 Jun 2019 15:38:29 +0200 Message-ID: Subject: Re: [PATCH V4 03/18] gpio: tegra: use resume_noirq for tegra gpio resume To: Sowjanya Komatineni Cc: "thierry.reding@gmail.com" , Jon Hunter , Thomas Gleixner , Jason Cooper , Marc Zyngier , Stefan Agner , Mark Rutland , Peter De Schrijver , Prashant Gaikwad , Stephen Boyd , linux-clk , "open list:GPIO SUBSYSTEM" , jckuo@nvidia.com, Joseph Lo , talho@nvidia.com, linux-tegra@vger.kernel.org, "linux-kernel@vger.kernel.org" , Mikko Perttunen , spatra@nvidia.com, Rob Herring , Dmitry Osipenko , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 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 On Mon, Jun 24, 2019 at 5:03 AM Sowjanya Komatineni wrote: > During SC7 resume, PARKED bit clear from the pinmux registers may > cause a glitch on the GPIO lines. > > So, Tegra GPIOs restore should happen prior to restoring Tegra pinmux > to keep the GPIO lines in a known good state prior to clearing PARKED > bit. > > This patch has fix for this by moving Tegra GPIOs restore to happen > very early than pinctrl resume. > > Signed-off-by: Sowjanya Komatineni Can this patch be applied in isolation from the other patches? WOuld be nice to have at least Thierry's ACK on it before I apply it. Yours, Linus Walleij