Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp744988ybi; Fri, 2 Aug 2019 03:35:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwY0MIKKzuOQLHF098L3JRbxfz4+qM9DYCnW0pWDWGoKrb+U8KvOJEhGtg3/ygvSM+RR6v X-Received: by 2002:a17:902:788e:: with SMTP id q14mr131936271pll.234.1564742144621; Fri, 02 Aug 2019 03:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564742144; cv=none; d=google.com; s=arc-20160816; b=fU6ydAgTFK/HVQOwN9CKkr8WAHqEV3cn3QQ88tTLAFnbGyR1BK4q+osxq5HKrOf7th amHiwT6ZCK/qERKxhfIf1wb94x16hN1w1NwGf3pKrQOEWg0rGmfpuizArIztbr+L2uRb b1gvEEdbA7Qmi7RnSA5gwehDahwXfx+Cjq770uc5LHORMAtXxfQ3ydyYRz0++2tnT3zr hkWTQ+QYX4OY3zZbXRD7Cj+hGOg9FRWwxRuHJ14nk3KqzNHMyjmb5gv9FnfOA8BRUQuG OySx7KjCmwg2EDnLBuhlWXOHzJ1xhAw923MskcaSi28I1uOAZ3p6yw1bjENyUSdCg7gY henQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Oljc8WAekrnZTIcu4hWL7c8be+0/DK6ZEkq8nHr7SeE=; b=Syz14FFuGS2rd77+VFTyRJYmtTrKJYOMiSlkVNbsNnpBAGlzJ8tM32+ZoGxZXagbfA a4JWzevJSGRmNNnZBMBy3ALVPSbtSbderwvEy0gaRIfhmLoSmWv95zWRVPXwiOiLJb/m f2B0sEk6fljjqF3NSD3LVo/9b/0nObZCZm03mEDodwDW3cid3tPMUYx4Cmx7GePTk39v I8x3eEO0iy5HpXENTU529bq/be4S7m2ZerKgVvYtBi3t3bu2z5YgydjOrxJQfXQ52ya+ qupb6F/iLGhOqKUaoD9nkJxv4Ul5wTB0NELks4E8tnAXVm/97XrXmn8w83+JhQdfQv2Y /frA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PLmzt1p7; 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 i5si6151702pjk.57.2019.08.02.03.35.28; Fri, 02 Aug 2019 03:35:44 -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=PLmzt1p7; 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 S1730642AbfHBDmE (ORCPT + 99 others); Thu, 1 Aug 2019 23:42:04 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:32817 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730526AbfHBDmD (ORCPT ); Thu, 1 Aug 2019 23:42:03 -0400 Received: by mail-pl1-f194.google.com with SMTP id c14so33011107plo.0 for ; Thu, 01 Aug 2019 20:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Oljc8WAekrnZTIcu4hWL7c8be+0/DK6ZEkq8nHr7SeE=; b=PLmzt1p7LCED+jRBIlbDHX2FR3TASeXk1LneXvX5L+v3ckSfIU76VgWFwNGv2IpIAP ZRlgpbPFzbHANRXyVseRekP81v3K6DUqEKMdNYuBVOMjnrGTnR3ktAM7ygte6snUvMAA ajMQSunCoZAvG2PYzD3YcKosAos6VC+nxjDS8Sc5f2PoOnpU6yVQchpP4oDxMzkJg89E WK28bQ4vWevF9rCGQsq9Hq1Du24h7Djd0ebxRhT0lTfZOKdZl9XFQYrxi7UfRfimEyxx mT6Qa+ZLK1+vg/B72q+E3XuOpqmjJd+VbAwc5GKeCj2gdmhbATmLQ6pWhsN0XDgfYUvL LNNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Oljc8WAekrnZTIcu4hWL7c8be+0/DK6ZEkq8nHr7SeE=; b=RPY256Ns7Hp2fGhcQfVGYqP8NYmpyb2SFgz0n9kP98vEc/hFM7Ij0+7I4lReEsAtKR 43WX2aXge677JfATxwLZioAfpxzM13xhNhpBQ42LkfPLka8/c8xDMlIeF96gJ1RjseJo RJKoo6zO+lS9FqzeEtbAoY2FDNO2HAM2ZedVnUWoFGeUWVgy/w9k91+Tmq1O/C0KYYlM k9jWfVfcq9sBMJv6EDyPdWlBGN+ppaMX5brhyYs2+S74TSzgQJDzfM+VrNUikIMcdWjo AN+20P/OsW7LXO3h+A7KR0YQ0+shZ0DHnW8RX0Gg3QSWDvbOJ3N0NpEGFHZgYt1zRUum at3w== X-Gm-Message-State: APjAAAW/XNK3X8p1eb4RcB0CDuJS0qvNggi83a/Wxe5fbYnmvWSWy6Ca NA+EezrI46IGxpNqgEAWJ1Qd2w== X-Received: by 2002:a17:902:9041:: with SMTP id w1mr15711312plz.132.1564717322425; Thu, 01 Aug 2019 20:42:02 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id q198sm76984199pfq.155.2019.08.01.20.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 20:42:00 -0700 (PDT) Date: Fri, 2 Aug 2019 09:11:58 +0530 From: Viresh Kumar To: Sowjanya Komatineni Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, linus.walleij@linaro.org, stefan@agner.ch, mark.rutland@arm.com, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, sboyd@kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, jckuo@nvidia.com, josephl@nvidia.com, talho@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, mperttunen@nvidia.com, spatra@nvidia.com, robh+dt@kernel.org, digetx@gmail.com, devicetree@vger.kernel.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org Subject: Re: [PATCH v7 11/20] cpufreq: tegra124: Add suspend and resume support Message-ID: <20190802034158.gcb7o3o23fe5wtsz@vireshk-i7> References: <1564607463-28802-1-git-send-email-skomatineni@nvidia.com> <1564607463-28802-12-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1564607463-28802-12-git-send-email-skomatineni@nvidia.com> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31-07-19, 14:10, Sowjanya Komatineni wrote: > This patch adds suspend and resume pm ops for cpufreq driver. > > PLLP is the safe clock source for CPU during system suspend and > resume as PLLP rate is below the CPU Fmax at Vmin. > > CPUFreq driver suspend switches the CPU clock source to PLLP and > disables the DFLL clock. > > During system resume, warmboot code powers up the CPU with PLLP > clock source. So CPUFreq driver resume enabled DFLL clock and > switches CPU back to DFLL clock source. > > Signed-off-by: Sowjanya Komatineni > --- > drivers/cpufreq/tegra124-cpufreq.c | 60 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) Acked-by: Viresh Kumar -- viresh