From patchwork Wed Aug 29 15:50:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10580569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42A21139B for ; Wed, 29 Aug 2018 15:51:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 319852B638 for ; Wed, 29 Aug 2018 15:51:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25B3D2B5C1; Wed, 29 Aug 2018 15:51:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B05162B625 for ; Wed, 29 Aug 2018 15:51:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729230AbeH2Tsg (ORCPT ); Wed, 29 Aug 2018 15:48:36 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55833 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729202AbeH2Tsf (ORCPT ); Wed, 29 Aug 2018 15:48:35 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180829155100euoutp01009861e745e0908b98f31006ece821f4~PZbztPbjD0241702417euoutp01S; Wed, 29 Aug 2018 15:51:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180829155100euoutp01009861e745e0908b98f31006ece821f4~PZbztPbjD0241702417euoutp01S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1535557860; bh=RQNa9h1CnXWz06oDJYot40SxtuwWv1znE3ffQ21u2Rk=; h=From:To:Cc:Subject:Date:References:From; b=E2QjNs2Wbyo8RKseHPQCJlpeGZrbKyjbGoqjomYd4/jsU8vcqPtzT7JHcsmYTKdeM aILhEWzGqIWfteG7P16ufnHDWyfJXMnTrwa4psCHaR6NzHFKoDkpLztanzD2yy5OvB xETgn1Z5rKf9YpF7KDdeHfkMV6ZqD77VHnzHjhV4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180829155059eucas1p259824c7f2e0123173dfd43b7de756580~PZbzQHxus2602826028eucas1p2c; Wed, 29 Aug 2018 15:50:59 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id DD.DB.04294.3E0C68B5; Wed, 29 Aug 2018 16:50:59 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180829155058eucas1p1db74951957e2d911ba91ddcc07df52ac~PZbyYWjZv0665006650eucas1p1W; Wed, 29 Aug 2018 15:50:58 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-90-5b86c0e33447 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D4.76.04128.2E0C68B5; Wed, 29 Aug 2018 16:50:58 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PE800FCUC0UPL60@eusync4.samsung.com>; Wed, 29 Aug 2018 16:50:58 +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 00/10] Cleanup suspend/resume code in Samsung clock drivers Date: Wed, 29 Aug 2018 17:50:36 +0200 Message-id: <20180829155046.29359-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRmVeSWpSXmKPExsWy7djP87qPD7RFG7w9K2ixccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3aL96UtmB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr4/2R9+wF53kr/u50bWD8yNXFyMkhIWAisXHicsYuRi4OIYEVjBLdG6+wgSSEBD4z Smz4EQhT1L9iPRNEfBmjxIPlqhANDUwSF9tWs4Ak2AQMJbredoE1iwg4SHz+9BpsKrPAY0aJ rSe/MoMkhAW8JR7+OQBWxCKgKnG4YSsjiM0rYCuxZeE5Roht8hKrNxxgBmmWELjJKnF+7Vsm iISLxJXTy6GKhCVeHd/CDmHLSFye3M0C0dDMKNE+YxY7hNMDtHrODjaIKmuJw8cvsoLYzAJ8 EpO2TQdawQEU55XoaBOCKPGQ6JnZwgLxZ6xEx7T/rBMYJRYwMqxiFE8tLc5NTy02ykst1ytO zC0uzUvXS87P3cQIjKnT/45/2cG460/SIUYBDkYlHt4LM9qihVgTy4orcw8xSnAwK4nw7l0I FOJNSaysSi3Kjy8qzUktPsQozcGiJM7Lp5UWLSSQnliSmp2aWpBaBJNl4uCUamBM+9zH+MRU 0OJriGFpy9K9Xyd8/c1ZHHdOYTtTp91WTv3qo9mif/bMfdRd8avUWHfah82Bk0Oe/38iqSnd pH05v+bwvIUaOhWsXWs2PWpef0Zde8tWyXmPd1oY/gn2twgPbZ/z82zEdtus6m+Vt0rat0pM qmQ7vUR/XcXr55ocyyZ8TZ8gIc6vxFKckWioxVxUnAgATIuUeaUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t/xa7qPDrRFG6zYrWyxccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3aL96UtmB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr4/2R9+wF53kr/u50bWD8yNXFyMkhIWAi0b9iPROILSSwhFHi74eILkYuILuJSaLp 2WdWkASbgKFE19suNhBbRMBB4vOn14wgRcwCjxklzi3eAFYkLOAt8fDPAbAiFgFVicMNWxlB bF4BW4ktC88xQmyTl1i94QDzBEauBYwMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3MQL9vu3Y zy07GLveBR9iFOBgVOLhNVjUFi3EmlhWXJl7iFGCg1lJhHfvQqAQb0piZVVqUX58UWlOavEh RmkOFiVx3vMGlVFCAumJJanZqakFqUUwWSYOTqkGxlXy021z2ObUVi+6JbyGfb1k5bb7bXPy ppjIdqnPXlkSqd4TF2jkl9uxQoQ94qXGNAWFL6zF3qxM084VdE++LsgUs9j5V4b8/6TVvhr3 BS9OPOq8829aVvPzxX+2JLDLhio/m9Sj8jBxRVqFwd4T+6s6t3v4/GRYr7nqOstEDlbvVz32 2d36SizFGYmGWsxFxYkAdrfZCfcBAAA= X-CMS-MailID: 20180829155058eucas1p1db74951957e2d911ba91ddcc07df52ac X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180829155058eucas1p1db74951957e2d911ba91ddcc07df52ac References: Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dear All This patchset consolidates common suspend/resume code in almost all Samsung clock drivers. This cleanup is a side-effect of a preparation to add suspend/resume support for Exynos5433 SoCs. Best regards Marek Szyprowski Patch summary: Marek Szyprowski (10): clk: samsung: Remove excessive include clk: samsung: s3c2410: Use generic helper for handling suspend/resume clk: samsung: s3c2412: Use generic helper for handling suspend/resume clk: samsung: s3c2443: Use generic helper for handling suspend/resume clk: samsung: s3c64xx: Use generic helper for handling suspend/resume clk: samsung: s5pv210: Use generic helper for handling suspend/resume clk: samsung: exynos5250: Use generic helper for handling suspend/resume clk: samsung: Add support for setting registers state before suspend clk: samsung: exynos4: Use generic helper for handling suspend/resume clk: samsung: exynos5420: Use generic helper for handling suspend/resume drivers/clk/samsung/clk-exynos-audss.c | 1 - drivers/clk/samsung/clk-exynos3250.c | 1 - drivers/clk/samsung/clk-exynos4.c | 147 +++---------------------- drivers/clk/samsung/clk-exynos5250.c | 42 +------ drivers/clk/samsung/clk-exynos5420.c | 73 ++---------- drivers/clk/samsung/clk-s3c2410.c | 43 +------- drivers/clk/samsung/clk-s3c2412.c | 43 +------- drivers/clk/samsung/clk-s3c2443.c | 43 +------- drivers/clk/samsung/clk-s3c64xx.c | 66 +---------- drivers/clk/samsung/clk-s5pv210.c | 41 +------ drivers/clk/samsung/clk.c | 23 ++-- drivers/clk/samsung/clk.h | 18 ++- 12 files changed, 68 insertions(+), 473 deletions(-)