Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2952966ybl; Mon, 19 Aug 2019 09:49:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn30oqv87CgQ+fdxCLAZyCrafRzwTjlTRz1x3EuTri2iiJkpdxGIFaB14YG0IcNDIVswsQ X-Received: by 2002:a65:5b09:: with SMTP id y9mr21351625pgq.345.1566233373195; Mon, 19 Aug 2019 09:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566233373; cv=none; d=google.com; s=arc-20160816; b=aVx8KTRTArvyGpz3wV2GNhn5Y91DCC1UeNxEo4ANfplV0WmJOsTWhaOxa21iWHjN7t RmI+N8yUxi6IBL6BhiMp03aLivx8t+LLpvY+swyX+sXDS2LVe6ZFjlooPbPCKtsnbukr cpF22B6K/j48Kc+TY4w9rdARTf9slZ0AwosYBZ2Rr9QaCQUSs8K0rQfY8tYkZZQ0FcWW Jc4sEI2PF+7LtC+w5sYMnPboLeU880AF3fmDIGKkstm+LkEDs6fJ+UACIUH+BDUfc4DX wmEW8WanFAymplj6vF34e9vnk9DqBajtUjA/JYZ+l/25Zym5qRVXnRXkN/Tx46DouSSa gVBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Ew3DQY1/Dy+Vj1B+2EqwrXO/bgBLBuE1m+WOVlZNw9k=; b=YoK/M9CrX96CIh91HpS1drUfuJfVbM2ba2Wb7KXGQkc8qLny0lGwpgom3Uq1Q/kFd0 caPHmLmLADpHxlew2lFTB84MjnbvDlPbKSeD9Ca3aHs5ZvBoqmD7dZxVEneWds1zF8c5 Aps8L18mGwyiqK5J9UmOA9tF4SWCOcw9jwTaQvKOGI5fkM0kiAFS65+iwu876GGQZE5s ME7sk/JsQ5Ao44xKRrlpsInnoOXEXsqjX/RXYEz3vOWZSi7kh8Jr3v+B3k/xhzURdDB8 dONCMgai10vTib1w7QELMz5Dr9lwExdvEHep5IBpDyczFB3HMA/q3dLdw/KvrzGic0n7 JJcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Zzrat69q; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si10350104pgk.594.2019.08.19.09.49.17; Mon, 19 Aug 2019 09:49:33 -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=@gmail.com header.s=20161025 header.b=Zzrat69q; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727524AbfHSQr6 (ORCPT + 99 others); Mon, 19 Aug 2019 12:47:58 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:34603 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbfHSQr5 (ORCPT ); Mon, 19 Aug 2019 12:47:57 -0400 Received: by mail-lf1-f65.google.com with SMTP id b29so1903647lfq.1; Mon, 19 Aug 2019 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Ew3DQY1/Dy+Vj1B+2EqwrXO/bgBLBuE1m+WOVlZNw9k=; b=Zzrat69qNDkyOx6bUdjul9/0REh8MBL9UAfX0aHLTfPO4Yj7u1jxyx6SYwrJdLj8fo ucIFzCZgUVUpIFcZAW7T0tWl540lK7SKozSZn3bjuUdC8tGXH/VIeZtcUkFYUaXLBSGI fPTywm4DUPlheCPBkNQ9zdIfjghGMGueSZ6lyvfUDEWgm+6++aS8Hcbr5F2vxTBll9h0 TJT0trrOtUy0/DPtiDODK9ZKAAQh5RkJZuNdnerkLAtvf4RBBlLOcs2KzDtMbttTJOMl DfRWNEmeK7Da6+ru63FNSm0V9BMRRmQwnA53fZPitY9O6THMt3vPoyBLuDpEmH095hlB ICPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ew3DQY1/Dy+Vj1B+2EqwrXO/bgBLBuE1m+WOVlZNw9k=; b=gDFbwyrPTkF0+mLsHsmhg9DJzPUJ4R1vkEafUrzb+j9Y0XAjyuxPfzpiJbDBND6el6 DJfpe31hwM5fW62xZLwVKhuWZ581b4BWR/cCy/pGS4Fq/jSCTqxQrXl0ASNBwk/2UnwU 5eXXpvNAUP6Rt+q2Er2cpmZENMOHGiRgRs5RxyHmIWZqzpcVnYk3CRHlsixZFHdkDVAL JKYDDqqDUxRlN/5Jlrzbwlh+H2q4qzqvl0K7ZW+hJXoVkWVe+01nqiIQYjNrPpYM9aMN eTJBBLCzrqbIkzXMYyvjttZ3VKfhAjIwYL7MVe0myTUTxiEFPgy8kbMM0gLSZS5jd9jb vKPg== X-Gm-Message-State: APjAAAUYA9xyR7X/FaCcqOj4VlcU4MHkBrjiJ3kubMQ8wAce9Rts/hE7 9AE45wOVFd1zJAp9gEKvaJ3+ggFE X-Received: by 2002:a19:7:: with SMTP id 7mr11557327lfa.45.1566233274484; Mon, 19 Aug 2019 09:47:54 -0700 (PDT) Received: from [192.168.2.145] ([94.29.34.218]) by smtp.googlemail.com with ESMTPSA id b9sm1248849ljd.52.2019.08.19.09.47.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2019 09:47:53 -0700 (PDT) Subject: Re: [PATCH v9 15/22] clk: tegra210: Add suspend and resume support To: Sowjanya Komatineni , 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 Cc: 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, devicetree@vger.kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-pm@vger.kernel.org References: <1565984527-5272-1-git-send-email-skomatineni@nvidia.com> <1565984527-5272-16-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: <85b970d7-1a4d-1db4-8d9d-177a7cd4a7c3@gmail.com> Date: Mon, 19 Aug 2019 19:47:50 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1565984527-5272-16-git-send-email-skomatineni@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 16.08.2019 22:42, Sowjanya Komatineni пишет: > This patch adds support for clk: tegra210: suspend-resume. > > All the CAR controller settings are lost on suspend when core > power goes off. > > This patch has implementation for saving and restoring all PLLs > and clocks context during system suspend and resume to have the > clocks back to same state for normal operation. > > Clock driver suspend and resume are registered as syscore_ops as clocks > restore need to happen before the other drivers resume to have all their > clocks back to the same state as before suspend. > > Signed-off-by: Sowjanya Komatineni Looks good, thanks! Reviewed-by: Dmitry Osipenko