From patchwork Thu Sep 6 16:02:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 146112 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp46238ljw; Thu, 6 Sep 2018 09:02:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbEGW0DmEf6yzrhgXjukcREh0zq3Ay0RAgBgCZtFfkqGl+CC9Df5iIbk4u8u7Rwoj8nQy0Y X-Received: by 2002:a65:5286:: with SMTP id y6-v6mr3384217pgp.65.1536249767966; Thu, 06 Sep 2018 09:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536249767; cv=none; d=google.com; s=arc-20160816; b=Hg9HT1vatnhad9Z8PFAIUk9Rs7nGCZn/QQFZca7uQdZodxaaaC1UHbHTlZUJbiD21F lOZH/Cwa8zLICQl+7L+rRD+tqWXbI70PU2NjMfg4P7founG5Jya+PpByau4cLQyLMF3B Ryf8Aqxy+sRV3yj6UdpdWZJ9cPSv+BsU3yYUaLbwt67yXx1th39BJW8pooAyB7d0vQdu q4ZocmzqeSHw5ElpPVlWxr2C7oF07NFiOdufI7cl2pEIR8pBa2zyxcpaCJFzv5NNHl3F JUVdokcvloSOTgR1Gsmlw8tKyjAb4hU0BkZHHpjmUQpxOlBJD/ygAo5SGJlpt2ZCR9Au HGbg== 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=xVpfJyNduJ9CqcCmfBJ6gaxAzMaJGrm7RDh8iSaBqG0=; b=aPjhJEOmj6KRLS8zs46O5Jal45oh/JWq5v+0hIDr4bFxaSitmZzoFM9aKC2B7RhTiu Y6BKX/4ao61Mwgbm0MpxQINHWX5q1NED6Iegv4seoY9j690SLJem8brzFbS93zTR0+3F EAS1dh10txxTUVkQrJnhGnLRHCGOBOPmKHERiCJeAJtU7JgHyngwUh07Rf8HOE7dxsPa +GtSQ4QP4Q1bfxSxarmK6RHzI84OjFTqaK9xFkCxrsx2aPhFiZrFxzS9Czv9Jc0pxdPF KGFoZGWPFyfx2mjcCAVnAepjBt2PFwqXYeWGY+u1A8m4oxU2xkKM52Hbb0RCo6zMTpwz IZ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=iQab1uAG; 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 z9-v6si5053617pln.462.2018.09.06.09.02.47; Thu, 06 Sep 2018 09:02:47 -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=iQab1uAG; 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 S1730288AbeIFUi4 (ORCPT + 3 others); Thu, 6 Sep 2018 16:38:56 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:48346 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730272AbeIFUi4 (ORCPT ); Thu, 6 Sep 2018 16:38:56 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180906160244euoutp0170a6b88c8397fbbbcfbad1d2177f2777~R2wWQjmQ52041820418euoutp01c; Thu, 6 Sep 2018 16:02:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180906160244euoutp0170a6b88c8397fbbbcfbad1d2177f2777~R2wWQjmQ52041820418euoutp01c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536249764; bh=xVpfJyNduJ9CqcCmfBJ6gaxAzMaJGrm7RDh8iSaBqG0=; h=From:To:Cc:Subject:Date:References:From; b=iQab1uAGnP7hrBvRS6Gpd7xd40TmAwbqqEo7uu1bJarhNblE46jh2hBVCADPDq6zr 8XJrjxFlzpasJEg9J/w+7olV18bbL2bl9v31dVc8p03d93p2uljgKRZOSmgozbi2Aw 6Pztf9ka1zRBOF8ta98y0KNOPMPpN04StXXQb4uA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180906160244eucas1p1e3ffbf37f34aa11b831ead0fa9e54919~R2wVpbTqM0958209582eucas1p1j; Thu, 6 Sep 2018 16:02:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 91.16.04441.3AF419B5; Thu, 6 Sep 2018 17:02:43 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180906160243eucas1p224c199de3c21ef2d8d3343c91480d953~R2wU5RV2f1709417094eucas1p2S; Thu, 6 Sep 2018 16:02:43 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-82-5b914fa37c5c Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7A.4F.04284.3AF419B5; Thu, 6 Sep 2018 17:02:43 +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 <0PEN0037W5WGAX30@eusync1.samsung.com>; Thu, 06 Sep 2018 17:02:43 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v2 0/2] Prepare Exynos5433 clocks driver for system suspend/resume Date: Thu, 06 Sep 2018 18:02:34 +0200 Message-id: <20180906160236.4326-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKIsWRmVeSWpSXmKPExsWy7djPc7qL/SdGGzyYbGqxccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3aL96UtmB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr43jnb8aCVewVX960sTQw/mDtYuTkkBAwkXh29DJbFyMXh5DACkaJngmNjBDOZ0aJ efc3McJUTX3XzwyRWMYo8f/vBBYIp4FJonXlJnaQKjYBQ4mut11sILaIgIPE50+vwUYxCzxm lNh68iszSEJYIETi+4NTYGNZBFQl9h44C2bzCthIHH/5GeooeYnVGw6ArZMQuMkqMX9tEztE wkXiR/dKNghbWOLV8S1QcRmJzo6DTBANzYwS7TNmsUM4PUCr5+yA6rCWOHz8ItgKZgE+iUnb pgOt4ACK80p0tAlBlHhI7D34lAXEFhKIldi2t4dxAqPEAkaGVYziqaXFuempxYZ5qeV6xYm5 xaV56XrJ+bmbGIGRdfrf8U87GL9eSjrEKMDBqMTD+8BoYrQQa2JZcWXuIUYJDmYlEV736gnR QrwpiZVVqUX58UWlOanFhxilOViUxHn5tNKihQTSE0tSs1NTC1KLYLJMHJxSDYy7n68sfdeT F2tSbXFT8GHEczH1q+LBB/gC1HgVow7OjNOZKvFo/1y9rN0Z1b+a+/OdbRLfrUtNXHZbNqV9 cf4/bk519pMP1atdnt/bbKhktMT9nofslU77NJ+HZ05nZs05mdOhOvVQxaqFmR5sV2JNkpRv XAorvuMjbqw7782CSPVDL9bWhSmxFGckGmoxFxUnAgAkGjLiqAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t/xy7qL/SdGGxxdKGaxccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3aL96UtmB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr43jnb8aCVewVX960sTQw/mDtYuTkkBAwkZj6rp+5i5GLQ0hgCaNEV/s0JginiUmi ofMmE0gVm4ChRNfbLjYQW0TAQeLzp9eMIEXMAo8ZJc4t3gA2SlggROL7g1OMIDaLgKrE3gNn wWxeARuJ4y8/Q62Tl1i94QDzBEauBYwMqxhFUkuLc9Nziw31ihNzi0vz0vWS83M3MQJ9v+3Y z807GC9tDD7EKMDBqMTDa2E6MVqINbGsuDL3EKMEB7OSCK979YRoId6UxMqq1KL8+KLSnNTi Q4zSHCxK4rznDSqjhATSE0tSs1NTC1KLYLJMHJxSDYxqjt4phtx1U3nilJPMv23bJ9t87VT2 13/5PB8d2XSljZL8p7+JufTWksfzlcjEt0U26rv0M6u77yb01XJm7gmOX/TW7KR6uqD/xQRb Xqfw5okqvw+LdCz5qtm/jJvz9rxdbiYaETac7uobtPRWlmbLXNysulB40skH69bdOv5sP3tJ duXqUiWW4oxEQy3mouJEAH6feF35AQAA X-CMS-MailID: 20180906160243eucas1p224c199de3c21ef2d8d3343c91480d953 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180906160243eucas1p224c199de3c21ef2d8d3343c91480d953 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Dear All This patchset adds remaining bits to Exynos5433 clocks driver needed to make system suspend/resume working without marking dozen of clocks as 'critical'. It must be applied on top of v2 of 'Cleanup suspend/resume code in Samsung clock drivers' patchset sent a few minutes ago, otherwise CLK_OF_DECLARE part of the clocks driver will not handle samsung_cmu_info->suspend_regs entries. Best regards Marek Szyprowski Changelog: v2: - rephrased commit message and added more notes from the patch discussion - added more comments on register magic values - added ack/review tags Patch summary: Marek Szyprowski (2): clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume clk: samsung: exynos5433: Add suspend state for TOP, CPIF & PERIC CMUs drivers/clk/samsung/clk-exynos5433.c | 31 +++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) -- 2.17.1