Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5448557ybh; Wed, 7 Aug 2019 06:13:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPAB42go+p7BRpLwQnEOgwQscCWXnEixvrJTVrcQmTAWVy+q15474m6AuNuHPQu3L1v8dt X-Received: by 2002:a17:90a:8688:: with SMTP id p8mr8480067pjn.57.1565183625867; Wed, 07 Aug 2019 06:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565183625; cv=none; d=google.com; s=arc-20160816; b=ipWDK1RjLiN1jsUoPFLRgOYAsz6j8/dqmF/dMWHo5sL2AkJHNgHBr7mIPzsdBHGPje inB347d6VlOhj5+I1JRpBiqjGQ/VUrf6+tENswKIAnYSy4zlI2xRQWLhxRgX8w6+HMla Q7inHMXHTB+QruwcZ8jCBiu+xRVOYR8grkj5jceHIQLt/fBMQw0VKLf4v6Svd9M8vYX1 ZW1+s+kgTkHZky7sLMY/aAniQwbZ9xtJ7MaGrfso6RylFJ/VB3cyGZhYt/9GtkA+nE2/ 9+U/JqQKPm6fEQjobturzCqr2NOWXzRTwaKL7cb528UTkjlQB1mzkKWRugTRuhu8/+hB +P+A== 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=NqX/zsugDIFGqU1o5bPg+mfxcpflibTDWwvc6+6Rsf8=; b=P93vpNF1UswAQFNbCF1Giq0nRpp3RWqMdmLTy23VRMioPX1Qme5xrVXO6+wkFKKkh0 3YxBl60ibSwiWQJdR4PRKaEQL/QYtIpKpOrd6x5S31yMnWQAEBp39y1AMquL2CL9SKwX UCmxypQJG7rQyKqSikkRX+AaRwFtf4LMwsEqLJWnnIeCA7M14GrbSBmdROjkxnVHqS6s /HNtgVljJQSr3Z2Ixtwb6gfk7K+lGWf76v+FBaMBQZRRDO8MoIwAE1CH1psXxTgfg15F 0Tmq0cgtXUk+ErJPLI1ex3DnhXg/gMOaqKSeEVFIGsgTt86ooKP2KB9TFPUXy1AAnzp6 +Frw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HPW34rTv; 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 v194si3874438pgb.238.2019.08.07.06.13.30; Wed, 07 Aug 2019 06:13: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; dkim=pass header.i=@linaro.org header.s=google header.b=HPW34rTv; 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 S2388137AbfHGNLo (ORCPT + 99 others); Wed, 7 Aug 2019 09:11:44 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:35860 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388038AbfHGNLn (ORCPT ); Wed, 7 Aug 2019 09:11:43 -0400 Received: by mail-lj1-f195.google.com with SMTP id i21so6182322ljj.3 for ; Wed, 07 Aug 2019 06:11: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=NqX/zsugDIFGqU1o5bPg+mfxcpflibTDWwvc6+6Rsf8=; b=HPW34rTvAIhdr9bJvlw2XRGRZ+4vv2vK2kKpLqe50l++3Xb1jjvEwDt61lJZuHxXw1 Kngs8VEqnx5a4NESoMrYXBT1gnwRvuoeYwNPC5wSwRxId8ONoHhKNyM4uVcoT2Xh23Lw +0QCWafH2nIKIV09orsewO1F2Zx100X81YxAeJ4/8uFD6ZZs2RyvsHFxjloI1mQtiT2W oCyoH7vXeSNmBSceJyFzetyeKiZFuUC+/I7qKo3IvT+und7w9ERjw9vbvA5iBFS1aL74 CgnaYx19HChPZEnn11I2xV1W3npYhAbTelac6vXLcc0xgJjlFhxuvztC7YAdp5EzLxTn N8iQ== 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=NqX/zsugDIFGqU1o5bPg+mfxcpflibTDWwvc6+6Rsf8=; b=SzFJaAZ66Q0/+BEoMmg0QEiVQlGMgCmwVeIFTtSyXtGeIdJLhP47eFhK4z7ttxt/dU XSEBgdOyxmTWzvkVW4ceZU4IVgsAKmOdgaIipRpvUfeV61shlTnPMk81xFaK6Y4YIZ7+ Pl2Ys3ENvZu9yvaLL5djEKE3lNiE3Y1yC37ZRh0/0w9PceaTEQS48wkGpxJWd2nuzGbR Cn3k55LZ7tMDPY45hlHalYvTUxaGD6hQxJmillMOykQTkbcFFE6zOmosT/w7DWTpdvTy VG2r8l+UbXqCG9H9xIulUY9F2r7tLh+d57l1G2lgKtKKYnrbcVUfsi6xv9gHfMjNXZy3 6Ipg== X-Gm-Message-State: APjAAAXMzdmte2r7yCLFUSjSdJjpP3+CwJWWQrBgpUJK1zeu3oJfUwht VutRhDFmRTrlD34Ywx4jArtfzqbH/vileEdKKTFyyw== X-Received: by 2002:a2e:781a:: with SMTP id t26mr4790826ljc.28.1565183501517; Wed, 07 Aug 2019 06:11:41 -0700 (PDT) MIME-Version: 1.0 References: <1564607463-28802-1-git-send-email-skomatineni@nvidia.com> <1564607463-28802-2-git-send-email-skomatineni@nvidia.com> In-Reply-To: From: Linus Walleij Date: Wed, 7 Aug 2019 15:11:29 +0200 Message-ID: Subject: Re: [PATCH v7 01/20] pinctrl: tegra: Add suspend and resume support 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" , "Rafael J. Wysocki" , viresh kumar , Linux PM list 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 Wed, Aug 7, 2019 at 5:40 AM Sowjanya Komatineni wrote: > On 8/6/19 2:51 PM, Sowjanya Komatineni wrote: > > > > On 8/5/19 2:20 AM, Linus Walleij wrote: > >> On Wed, Jul 31, 2019 at 11:11 PM Sowjanya Komatineni > >> wrote: > >> > >>> This patch adds support for Tegra pinctrl driver suspend and resume. > >>> > >>> During suspend, context of all pinctrl registers are stored and > >>> on resume they are all restored to have all the pinmux and pad > >>> configuration for normal operation. > >>> > >>> Acked-by: Thierry Reding > >>> Reviewed-by: Dmitry Osipenko > >>> Signed-off-by: Sowjanya Komatineni > >> Patch applied to the pinctrl tree. > >> > >> This patch seems finished. > >> > >> Also if the rest don't get merged for v5.4 then at least this is so > >> your patch stack gets more shallow. > >> > >> I hope it's fine to merge this separately, else tell me and I'll > >> pull it out. > >> > >> Yours, > >> Linus Walleij > > > > Yes, this patch can be merged separately. But, there's latest feedback > > from Dmitry to add barrier after writes to make sure pinmux register > > writes happen. > > > > So will update this patch to add barrier in v8. So, need to wait for v8. > > > > Thanks > > > > Sowjanya > > > I see it merged. So will exclude suspend/resume patch and will add patch > for necessary write barrier fix in v8 version. Yeah just make an incremental patch, that's fine. If you want to overdo it you can add a Fixes: tag to the original patch, but I don't care much. Yours, Linus Walleij