Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1039637ybd; Wed, 26 Jun 2019 10:07:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqtaLBba7m98OpZg1czRWoATCs0SAMnOWYzArhYzvs/pj7cFUUAbKl2MQG3Z37UGMqpbHJ X-Received: by 2002:a17:90a:2228:: with SMTP id c37mr105346pje.9.1561568829930; Wed, 26 Jun 2019 10:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561568829; cv=none; d=google.com; s=arc-20160816; b=EnKuNksU+c/9zd+qY4tZKJsMBxLIhPYtgSErU/N4YSFxSDhfbf2Ji4M4M4locExHB7 IlQTPc3w9p1Sil6NdGPPGBpODtXO91KSTvzKXNPRMXpHQlwdGnEx8Ng+Zf6TZLRiZtR7 bx6rHCCBmUEEE4pDerdtXcmirN9LRIiciDzD2W1aA8exiwnWBEye5IK1EnWtk1IcGsJM QZ8FjjEH0xdXvta9OYDokhLXGSeqVZc2IWF7rByFzrYldr5UjxQlCWN0hn/t96q5sRlJ RL+B6hBYp5e6Sd4gdyiHS1A8A2HersYlxUS7jZIcvBVBPwcLjoGfaTH0j+Bz3t6+jmxt Ud/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=zlmsmRF54TEZsHZsCgzpp/eYKMziW5k+1GvPOKK2I8s=; b=04DppkzIDuqSRI55MNcnwe/qRS4AFJC57LIriMNUB247giZHI1IKku9h/t8sSVs2CS ee7ACJ4mjkdMHqUOEdZD/AH3pfZfPuP/SLC4N61tdyvA1VAYPhRMhuSJEMfusOhVbBK9 Vws6atefyvwj5cRGmLRYKtBds503zyEn9DEW9eT4mgudFL6KE4igdcrY88QnkbF5tSlP cGA4SlFhL2+PIOim0odFAYaq01tCPcheK2oXeZIWlMBGiaspo+/obtJAUaUaEZAXUDIW JrydzElMX3eU+DTmEID+FxDXTAFfPX/EfocWUToQL1d2Pmz4Oz1vwUPVoC5VT9cuUf6V +xhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=LqeDd8wd; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si17199158pgf.439.2019.06.26.10.06.53; Wed, 26 Jun 2019 10:07:09 -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=@nvidia.com header.s=n1 header.b=LqeDd8wd; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbfFZRGk (ORCPT + 99 others); Wed, 26 Jun 2019 13:06:40 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:7386 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbfFZRGk (ORCPT ); Wed, 26 Jun 2019 13:06:40 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 26 Jun 2019 10:06:37 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 26 Jun 2019 10:06:39 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 26 Jun 2019 10:06:39 -0700 Received: from [10.2.169.244] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 26 Jun 2019 17:06:36 +0000 Subject: Re: [PATCH V4 03/18] gpio: tegra: use resume_noirq for tegra gpio resume To: Linus Walleij 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" , , "Joseph Lo" , , , "linux-kernel@vger.kernel.org" , "Mikko Perttunen" , , Rob Herring , Dmitry Osipenko , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" References: <1561345379-2429-1-git-send-email-skomatineni@nvidia.com> <1561345379-2429-4-git-send-email-skomatineni@nvidia.com> From: Sowjanya Komatineni Message-ID: <7b97ec08-212e-76fb-ad12-6d1be5ab6149@nvidia.com> Date: Wed, 26 Jun 2019 10:06:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1561568797; bh=zlmsmRF54TEZsHZsCgzpp/eYKMziW5k+1GvPOKK2I8s=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding: Content-Language; b=LqeDd8wdUbjIj0U9o9KaU5Athl/vrt0CLSzZZwLZlRAdvUBD9ilPs7FTXha4rPqio 97IOCU6Qo9mibFQMRF9NiZ9YcVoVHGhUNH1A1nyNn/C1JEmPxe8TpYTbVScGs0ZuM6 B3W1inZLLyLgEg1Smy2gxG5jm1ZFFGRA6tsRsY4V4Q+gIJvKhu1oNxnKuuwH8CHIdZ m7BtRlN8Ic9ql5I86rGuMvWopX/SAhbuWIoQc3aGUSsB46VPKTNtKnsyqxNU3ko8Ay /Jawls9cOAe4aqKdjikiLNSVZg54Oziuz1eG3ok9PK+nh2vRxHydo+htGkNHEgN+Z6 Y1TG3gtDy1TdQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/25/19 6:38 AM, Linus Walleij wrote: > 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 Just to confirm, Will not include this in V5 as you are planning to apply this patch separately. Thanks Sowjanya