From patchwork Mon Sep 24 11:01:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 147344 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp569981lji; Mon, 24 Sep 2018 04:01:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV61VD0djw8IvFrKo4Y7c4xmIUhdZa0hJI/Qcuyf6sol+cYQRATgn0golFdInqZloJ8XfAyzV X-Received: by 2002:a17:902:8605:: with SMTP id f5-v6mr9948875plo.271.1537786891098; Mon, 24 Sep 2018 04:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537786891; cv=none; d=google.com; s=arc-20160816; b=GoVDkp/KRglVcBAcittAscEeiXP0TLIxFxddTBInD8oWnnO+XsvKEaDrvS3dBQ9bKP M4iFYBvd1R5e7Gv7xi07TNtMMfa/NSNEJMefRcbnXps2FGzWgyZI2vsFghO365UFwjY4 r98bqsEYzudjA/VGjryOPpzv2GGjk7x7TeXE87l/BHSYs/IMAPzZ19hfF2K1jDumjieH NUBJJRXYgUrDjnKJjCz7M4GbIvvoqs2Cc/d8wfyDZXnWSpeQQ3eF1+j0BMxGKh6buJq3 ec7GhuRuPzMzet1dF+4tnwP2mtaY9L16RxwdiOyM/iN3H1K4/0NZfurDafb7ax71/Q4L x1BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=j5Z5Wkx9kFWR6RP5HbiY9sxO0Z9r1n5/THs4oRG0LP0=; b=0TXXrD1eN+mYlmrph0gS2SojD1dmIMwYL41CtuYE4r8Lb8bQ57Kuk+4Ja6hp72J70Q 6SV1TQb2VedzQOgNrOt+yAcoKVQsBL9NalDD/onq8rTJCoOqPJal3e/4fZq5DpIYHLQA 9dT4tDLHlOG7eEZ/HPY/Y5w2H/MDfgEhtjR1933v6X76lK7E0K+pquDEdT7sIiP2zFbB tf/Xg9fsW3sV3NXPNuALbQSGa2nSWEz3FcWv5/vg0oEjEAD8UJuyG/elkGALsv+qjw2I 9NlrxI8+1nYv46h0j3yIQABxIMSxPsTboCGFVVWcEGKY6MPzeGJ8RRva1QTAocHFVIW1 lVYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=q7QaJrPr; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t22-v6si31596263pgj.546.2018.09.24.04.01.30; Mon, 24 Sep 2018 04:01:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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=@samsung.com header.s=mail20170921 header.b=q7QaJrPr; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728483AbeIXRDA (ORCPT + 3 others); Mon, 24 Sep 2018 13:03:00 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39493 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727229AbeIXRDA (ORCPT ); Mon, 24 Sep 2018 13:03:00 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180924110128euoutp02268a1fbe8dbbf29d3b69be23551a5564~XUQbyGrZB1346913469euoutp02P; Mon, 24 Sep 2018 11:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180924110128euoutp02268a1fbe8dbbf29d3b69be23551a5564~XUQbyGrZB1346913469euoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1537786888; bh=j5Z5Wkx9kFWR6RP5HbiY9sxO0Z9r1n5/THs4oRG0LP0=; h=From:To:Cc:Subject:Date:References:From; b=q7QaJrPryn4lQT5hmK0EXRsxy9nhMVUuSGzMnXQBV52qAvVFA7G1OxFTRBwKmVbJR ij/gtYIdku5KfyGCWVh1glqRfGRwjRuvs1kZnDWyxxIrOZuntCLDOsw/v5Sizpgy5z m8zHKvOJiaRojrU6wFdflxLsgDwplB3jTADOoF9w= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180924110127eucas1p1a197378bce1774f1015c326e02c52fe9~XUQbFWO3O0637506375eucas1p1x; Mon, 24 Sep 2018 11:01:27 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id C6.0D.04441.604C8AB5; Mon, 24 Sep 2018 12:01:26 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180924110126eucas1p221aba92e694fcdf2f0f288f20a0b07a2~XUQaHjDIW0509905099eucas1p2I; Mon, 24 Sep 2018 11:01:26 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-a8-5ba8c4066190 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id B1.FE.04284.504C8AB5; Mon, 24 Sep 2018 12:01:25 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PFK00GQA3YABG50@eusync1.samsung.com>; Mon, 24 Sep 2018 12:01:25 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Joonyoung Shim , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] clk: samsung: exynos5420: Enable PERIS clocks for suspend Date: Mon, 24 Sep 2018 13:01:20 +0200 Message-id: <20180924110120.21319-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djP87psR1ZEG/y5a2mxccZ6VovrX56z Wry4d5HF4vz5DewWH3vusVrMOL+PyWLtkbvsFu1PXzI7cHhsWtXJ5tG3ZRWjx+dNcgHMUVw2 Kak5mWWpRfp2CVwZD47JF1xgr1g1cQNzA+MOti5GTg4JAROJDwe7mEFsIYEVjBI3p6V3MXIB 2Z8ZJa6eWckIU3R6/WJ2iMQyRon/1zezQjgNTBK/7nWDjWITMJToetsFZosIOEh8/vSaEaSI WaCXSeL/6YtgCWEBL4n5366CjWURUJXY3n6CCcTmFbCVaD72DeomeYnVGw4wgzRLCDxklfg9 /zoLRMJFYvb/R1A3CUu8Or6FHcKWkejsOMgE0dDMKNE+YxY7hNPDKLF1Dsyr1hKHj19kBbGZ BfgkJm2bDrSCAyjOK9HRJgRR4iGx/doCFkhoxErcfbGXaQKjxAJGhlWM4qmlxbnpqcWGeanl esWJucWleel6yfm5mxiB8XX63/FPOxi/Xko6xCjAwajEw8twb3m0EGtiWXFl7iFGCQ5mJRFe t1tAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rx8WmnRQgLpiSWp2ampBalFMFkmDk6pBsb9KtGt 7ebTla8dWiYQf855h/8Ce9POtGtX5hg/nbbo1+H6X9kL1dorNd9Z/dfbLl2QxJkom9wrxKNQ cTs0672ocsiOJAVbzorzyjN5JmplSJlsP7H6U80Lv3Mp3y40PN511da4yHNyZkv5n++mT1TX lltn7dFLv/okvys48IVmdLOWr1APnxJLcUaioRZzUXEiACRAKgGrAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFJMWRmVeSWpSXmKPExsVy+t/xy7qsR1ZEGxzdYWGxccZ6VovrX56z Wry4d5HF4vz5DewWH3vusVrMOL+PyWLtkbvsFu1PXzI7cHhsWtXJ5tG3ZRWjx+dNcgHMUVw2 Kak5mWWpRfp2CVwZD47JF1xgr1g1cQNzA+MOti5GTg4JAROJ0+sXs3cxcnEICSxhlDh+7BAT hNPEJNHzYw4jSBWbgKFE19susA4RAQeJz59eM4IUMQv0M0nsPPqWGSQhLOAlMf/bVbAGFgFV ie3tJ5hAbF4BW4nmY9+g1slLrN5wgHkCI9cCRoZVjCKppcW56bnFhnrFibnFpXnpesn5uZsY gSGw7djPzTsYL20MPsQowMGoxMPLcG95tBBrYllxZe4hRgkOZiURXrdbQCHelMTKqtSi/Pii 0pzU4kOM0hwsSuK85w0qo4QE0hNLUrNTUwtSi2CyTBycUg2MDvlX/yi5O55zq+63tDq1/OzH 3PmLVHV1+p5slt34uONbWdxtycTGNf9WvlpqmsyjY+4fcXFtf7sDG7fnCaeLATxC70+yhpsL hd1KuMHD4RTcdCDYMPVs6RkJl3crKq/OcRB8oDvf8IDWmxzO/V2MKx4pCvU4xNzaaLlvV+dO c4eJJR7pU8SUWIozEg21mIuKEwFMHrKI/QEAAA== X-CMS-MailID: 20180924110126eucas1p221aba92e694fcdf2f0f288f20a0b07a2 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180924110126eucas1p221aba92e694fcdf2f0f288f20a0b07a2 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Ensure that clocks for core SoC modules (including TZPC0..9 modules) are enabled for suspend/resume cycle. This fixes suspend/resume support on Exynos5422-based Odroid XU3/XU4 boards. Suggested-by: Joonyoung Shim Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos5420.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index a2d6e7f4bcd3..34cce3c5898f 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -276,6 +276,7 @@ static const struct samsung_clk_reg_dump exynos5420_set_clksrc[] = { { .offset = GATE_BUS_TOP, .value = 0xffffffff, }, { .offset = GATE_BUS_DISP1, .value = 0xffffffff, }, { .offset = GATE_IP_PERIC, .value = 0xffffffff, }, + { .offset = GATE_IP_PERIS, .value = 0xffffffff, }, }; /* list of all parent clocks */